diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-26 09:42:44 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-26 09:42:44 +0000 |
commit | 313a28630c10e40ee2db0b0a8904d56149c0b3ce (patch) | |
tree | 863811253ac173d48b7023af1c2dbab00cddd83a /src/map/battle.c | |
parent | 019d9618d50d3190a7b6fa3b8e9401add22beb8e (diff) | |
download | hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.gz hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.bz2 hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.xz hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.zip |
Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |