summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-07 20:23:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-07 20:23:52 +0000
commit0224ba74aa451f4103974ea860815683f70c4ef7 (patch)
tree4a3acaa349df1378a0ac41f8f5210de9821d1af9 /src/map/pet.c
parent485a54dba08b7899002f3c9321f49af722a6a0d2 (diff)
downloadhercules-0224ba74aa451f4103974ea860815683f70c4ef7.tar.gz
hercules-0224ba74aa451f4103974ea860815683f70c4ef7.tar.bz2
hercules-0224ba74aa451f4103974ea860815683f70c4ef7.tar.xz
hercules-0224ba74aa451f4103974ea860815683f70c4ef7.zip
- Moved the devotion damage reduction to the block that only executes if flag is zero in battle_damage.
- skill_castcancel won't trigger on battle_damage when the passed flag is 1 - The flag in battle_heal is now used to determine whether Berserk blocks the healing or not. - Moved the Fusion HP penalty to battle_calc_weapon_attack - Some cleaning to use battle_heal/damage rather than pc_heal/damage where appropiate. - cleaned up the deadly-poison hp reduction code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5949 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 25f8274c9..c2c00e106 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1269,7 +1269,7 @@ int pet_heal_timer(int tid,unsigned int tick,int id,int data)
pet_stop_attack(pd);
pet_stop_walking(pd,1);
clif_skill_nodamage(&pd->bl,&sd->bl,AL_HEAL,pd->s_skill->lv,1);
- pc_heal(sd,pd->s_skill->lv,0);
+ battle_heal(&pd->bl, &sd->bl, pd->s_skill->lv,0, 0);
pd->s_skill->timer=add_timer(tick+pd->s_skill->delay*1000,pet_heal_timer,sd->bl.id,0);
return 0;
}