diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-10-25 18:15:42 +0200 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-10-25 18:15:42 +0200 |
commit | 468e13d4d12dadc9b2a1666f6d2303e30cf93d82 (patch) | |
tree | 1efd44000ff556d861f1dd5d52f41e22cbf6415c /src/map/skill.c | |
parent | a5c0636f74a2177839aec9153b542afd8c36850a (diff) | |
download | hercules-468e13d4d12dadc9b2a1666f6d2303e30cf93d82.tar.gz hercules-468e13d4d12dadc9b2a1666f6d2303e30cf93d82.tar.bz2 hercules-468e13d4d12dadc9b2a1666f6d2303e30cf93d82.tar.xz hercules-468e13d4d12dadc9b2a1666f6d2303e30cf93d82.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 2c52f24ac..0fe4b99ea 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2792,7 +2792,7 @@ int skill_attack(int attack_type, struct block_list* src, struct block_list *dsr map->freeblock_unlock(); - if ((flag&0x4000) && rmdamage == 1)
+ if ((flag&0x4000) && rmdamage == 1) return 0; //Should return 0 when damage was reflected return (int)cap_value(damage,INT_MIN,INT_MAX); |