Originally posted by [b]Angezerus[/b]
[quote]
[b] Acid Bomb[/b]
[list]
[*]Acid Bomb is now influenced by your physical attack power, magical attack power, and the target's VIT.
[*]Acid Bomb can now be reduced by the target's physical defense and magical defense.
[/list]
[/quote]
[url="http://rathena.org/board/tracker/issue-5302-renewal-skill-changes-are-not-applied-for-some-skills/"]http://rathena.org/board/tracker/issue-5302-renewal-skill-changes-are-not-applied-for-some-skills/[/url]
Daredevil's x-xtream formula:
[quote][color=#008000][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]Acid Bomb - [//Formula = [(ATK*0.07*VIT)*WpnSizePnlty + (MATK*0.07*VIT)+Card Bonus][iROWiki][/background][/size][/font][/color][/quote]
iRo discussion formula:
[quote][color=#000000][font=verdana, geneva, lucida,][background=rgb(235, 241, 250)][0.7x(((MATK-MDEF)+(ATK-DEF))²)xVIT]/[(MATK-MDEF)+(ATK-DEF)+VIT][/background][/font][/color][/quote]
x-xtream source:
[url="http://code.google.com/p/x-xtream/source/browse/server/Server%20%5BPure%5D/src/map/battle.c"]http://code.google.com/p/x-xtream/source/browse/server/Server%20%5BPure%5D/src/map/battle.c[/url]
[quote]
case CR_ACIDDEMONSTRATION:
{
short atk, matk, size_mod, bonus;
//Formula = [(ATK*0.07*VIT)*WpnSizePnlty + (MATK*0.07*VIT)][iROWiki]
atk = sstatus->batk + sstatus->rhw.atk;
matk = sstatus->smatk + sd ? sstatus->wmatk : 0;
size_mod = sd ? sd->right_weapon.atkmods[tstatus->size] : 100;
bonus = sd ? sd->long_attack_atk_rate : 0; // Long ATK Bonus. Likes : Archer Skeleton Card
if ((atk != 0 && size_mod != 0) || matk != 0)
md.damage = (int)(((7 * atk * tstatus->vit) * size_mod / 100 + (7 * matk * tstatus->vit)) / 100);
else
md.damage = 0;
if (tsd || is_boss(target)) //Damage berkurang setengah ke Player dan MVP
md.damage >>= 1;
if (md.damage < 0)
md.damage = 0;
if (md.damage > INT_MAX>>1)
md.damage = INT_MAX>>1; //Overflow prevention
if (sd && bonus != 0)
md.damage += md.damage * bonus / 100;
}
break;
[/quote]
iro source:
[url="http://forums.irowiki.org/showthread.php?t=24798&page=26"]http://forums.irowiki.org/showthread.php?t=24798&page=26[/url]
So we have 2 formulas. One from x-xtream and one from irowiki discussion (by Atum)
We only need to test em on officials.
Personally, I believe that the iRo formula is correct, because in renewal defs reduce the damage, and as they say in the discussion, the tests showed that the formula is pretty accurate.
This post has been edited by
Angezerus
on May 28, 2012 9:36