Issue Information
-
#008529
-
0 - None Assigned
-
Fixed
Issue Confirmations
-
Yes (0)No (0)


NPC Earthquake damage calculation bugged and possibly wrong
Posted by Valo on 10 February 2015 - 01:35 AM
When refactoring skillratio calculation into battle_calc_skillratio the local variable skillratio was left in battle_calc_magic_attack. This led to not noticing that NPC_EARTHQUAKE special case used that local variable. I recommend updating the scope of skillratio (or removing it altogether).
Also I noticed that according to http://rode.doddlerc...uake/eqcalc.php and iro wiki earthquake should not use matk of the monster at all, but instead should do damage based on ATK_MIN ~ ATK_MAX alone.
Also I noticed that according to http://rode.doddlerc...uake/eqcalc.php and iro wiki earthquake should not use matk of the monster at all, but instead should do damage based on ATK_MIN ~ ATK_MAX alone.
Fixed @21b72c42cbcf05377a4e72087db3fd0fb9a1d651

Maya Card (etc) should be able to reflect Earth Quake (don't know if pre-re only). I don't think the fix considered this.
how? afaik maya card and a like reflects only targeted type magic skills..Maya Card (etc) should be able to reflect Earth Quake (don't know if pre-re only). I don't think the fix considered this.

It was implemented correctly as special case before. I don't know why / how it works but I killed MvPs with Maya Card and BG Equipment on official in pre-re. I think the classification of Earthquake as magic was correct.
Edited by Valo, 14 February 2015 - 02:55 PM.