diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-12 23:06:10 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-12 23:06:10 +0000 |
commit | a312023327fca5075f2ddc75ad71496a3e954818 (patch) | |
tree | 00bdd49182418d0c6433fc1083737f530fce11ee /src/map/battle.c | |
parent | 59d6201f08e1670918321f6ac673ccd4888cbc3e (diff) | |
download | hercules-a312023327fca5075f2ddc75ad71496a3e954818.tar.gz hercules-a312023327fca5075f2ddc75ad71496a3e954818.tar.bz2 hercules-a312023327fca5075f2ddc75ad71496a3e954818.tar.xz hercules-a312023327fca5075f2ddc75ad71496a3e954818.zip |
Follow up r16280 added renewal checks for the added fireball formula and fixed napalm stacking with the new formula
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16283 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index aed397c72..a19493025 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3257,8 +3257,13 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list switch(skill_num){ case MG_NAPALMBEAT: skillratio += skill_lv*10-30; + break; case MG_FIREBALL: + #ifdef RENEWAL skillratio += 20*skill_lv; + #else + skillratio += skill_lv*10-30; + #endif break; case MG_SOULSTRIKE: if (battle_check_undead(tstatus->race,tstatus->def_ele)) |