From 313a28630c10e40ee2db0b0a8904d56149c0b3ce Mon Sep 17 00:00:00 2001 From: Inkfish Date: Mon, 26 Oct 2009 09:42:44 +0000 Subject: Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index a1105420a..e1ee7afa9 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1674,6 +1674,9 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo case HFLI_SBR44: //[orn] skillratio += 100 *(skill_lv-1); break; + case NPC_VAMPIRE_GIFT: + skillratio += ((skill_lv-1)%5+1)*100; + break; } ATK_RATE(skillratio); -- cgit v1.2.3-60-g2f50