Explorar o código

Follow up r16280 added renewal checks for the added fireball formula and fixed napalm stacking with the new formula

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16283 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind %!s(int64=13) %!d(string=hai) anos
pai
achega
bcb7054ee7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/map/battle.c

+ 5 - 0
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))