summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 16:53:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 16:53:10 +0000
commit1af5eb4ad8b5a03e430772ececf37f3986d0d537 (patch)
tree175ee3eb2bcde3c6f146e2607c9956da26b223c2 /src/map/skill.c
parentcdb9971c1511c4732ce08f0cb1c411a21abe8d77 (diff)
downloadhercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.gz
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.bz2
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.tar.xz
hercules-1af5eb4ad8b5a03e430772ececf37f3986d0d537.zip
- Some code cleaning in status.c
- Reflected damage will now also have a chance of draining hp/sp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8164 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 3de357f22..60802d79a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2112,6 +2112,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
status_fix_damage(bl,src,rdamage,0);
clif_damage(src,src,tick, dmg.amotion,0,rdamage,1,4,0);
//Use Reflect Shield to signal this kind of skill trigger. [Skotlex]
+ battle_drain(tsd, src, rdamage, rdamage, sstatus->race, is_boss(src));
skill_additional_effect(bl,src,CR_REFLECTSHIELD, 1,BF_WEAPON,tick);
}