diff options
author | shennetsind <ind@henn.et> | 2015-01-18 17:41:03 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2015-01-18 17:41:03 -0200 |
commit | db870bbd480e3383d8cf0279a33eadfa7da60f0b (patch) | |
tree | fb9f2879e66c489db3e6291645594aed76bf050e /src/map/skill.c | |
parent | c90a099b21d015fedb279aab33602106a235d670 (diff) | |
download | hercules-db870bbd480e3383d8cf0279a33eadfa7da60f0b.tar.gz hercules-db870bbd480e3383d8cf0279a33eadfa7da60f0b.tar.bz2 hercules-db870bbd480e3383d8cf0279a33eadfa7da60f0b.tar.xz hercules-db870bbd480e3383d8cf0279a33eadfa7da60f0b.zip |
Fixed Bug 8441
Magnifier item no longer consumes sp
http://hercules.ws/board/tracker/issue-8441-item-magnifier-is-consuming-sp/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 05cb887f9..1fad55364 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6648,7 +6648,8 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin map->freeblock_unlock(); return 1; } - status_zap(src,0,skill->db[skill->get_index(skill_id)].sp[skill_lv]); // consume sp only if succeeded + if( sd->skillitem != skill_id ) + status_zap(src,0,skill->db[skill->get_index(skill_id)].sp[skill_lv]); // consume sp only if succeeded } break; |