summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-11 20:55:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-11 20:55:54 +0000
commitb307bb07a41dd6189bb4133e5095751b5547ad3c (patch)
treed290e9f88fb12d88138c2db8fb41e1b5fcd93cad /src/map/skill.c
parent9c48b73d948502c2784e43640401a2344de40a7f (diff)
downloadhercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.gz
hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.bz2
hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.xz
hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.zip
- Made @monsterignore be an universal ignore. Means you cannot be targetted as an enemy by anything. Also added alias "@battleignore" which does the same as monsterignore.
- Fixed magic power setting your min matk as max-matk. - Modified the packets involved in @fakename in hopes it'll refresh correctly on nearby clients now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7620 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index af9fb74dc..9b99dd8c2 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6746,7 +6746,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
matk_max = sstatus->matk_max;
//Note to NOT return from the function until this is unset!
sstatus->matk_min = sc->data[SC_MAGICPOWER].val3;
- sstatus->matk_min = sc->data[SC_MAGICPOWER].val4;
+ sstatus->matk_max = sc->data[SC_MAGICPOWER].val4;
}
switch (sg->unit_id)