Quote:
Originally posted by sonic3d
i have a armor item. how does this work? the buff is 250. does it block 250 damage? i fought in a battle and the item didn't do nothing. there wasn't an options to defend or use the item.
l8er
sonic
|
Since you are always wearing armor, the battle does not ask you if you want to use it. The armor will block 250 of the TOTAL damage. Here is the formula for how damage is calculated:
$damagedone = @floor(($weapon[damage] + $regattbonus) * $uelemod * $anger + $bonusattack - $armor - $regdefminus);
where:
$damagedone = the total damage done
@floor = a function that rounds down the answer
$weapon[damage] = the damage done by the attacker's weapon
$regattbonus = the regular attack of the attacker
$uelemod = the elemental bonus
$anger = how angry the person is (1 if they are not angry yet)
$bonusattack = any items worn by the attacker that give a plus to attack
$armor = the buff value of the defender's armor
$regdefminus = the reg defense proportion of the defender