summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-06 19:15:17 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-06 19:15:17 +0000
commit2678cc840bb707ff33378ba0d0cbfd8a737b5743 (patch)
tree2516fdd31f588ba6557766f862b6373393acc862 /src/map/skill.c
parent36ea9e9c13d9f29203ba8c85a7f751f2433f5950 (diff)
downloadhercules-2678cc840bb707ff33378ba0d0cbfd8a737b5743.tar.gz
hercules-2678cc840bb707ff33378ba0d0cbfd8a737b5743.tar.bz2
hercules-2678cc840bb707ff33378ba0d0cbfd8a737b5743.tar.xz
hercules-2678cc840bb707ff33378ba0d0cbfd8a737b5743.zip
* Implemented Icescope's fix for devotion, reflect damage is no longer absorbed by the devoter. (bugreport:3189)
* As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss. * Touched up the endless tower script slightly. - Added ends to several NPCs which would allow you to restart timers. - Added some missing stopnpctimers to npcs. (bugreport:4418) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14400 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 0212516a5..4e43ce6ba 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1948,7 +1948,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
if( rdamage > 0 )
{
if( dmg.amotion )
- battle_delay_damage(tick, dmg.amotion,bl,src,0,0,0,rdamage,ATK_DEF,0);
+ battle_delay_damage(tick, dmg.amotion,bl,src,0,CR_REFLECTSHIELD,0,rdamage,ATK_DEF,0); // also here the reflect shield, but for skills [icescope]
else
status_fix_damage(bl,src,rdamage,0);
clif_damage(src,src,tick, dmg.amotion,0,rdamage,dmg.div_>1?dmg.div_:1,4,0);