if i had 10k attack points 15% of that attack well be added once i use an SDG. my attack gose up to 11,500.
ok cool but the Question is ...
when i use another SDG the next 15% that well be added is it gonna be added based on the main attack which is 10k or well be added based on the current attack which is 11,500 ?
next
im using something like this to fix the gems Extra attack .
PHP Code:
Player.maxattack = Player.BaseMaxAttack;
Player.minattack = Player.BaseMinAttack;
for (byte SDG = 0; SDG < Player.SDG; SDG++)
{
Player.maxattack += Convert.ToUInt16(Player.maxattack / 6.67);
Player.minattack += Convert.ToUInt16(Player.minattack / 6.67);
}
for (byte RDG = 0; RDG < Player.RDG; RDG++)
{
Player.maxattack += Convert.ToUInt16(Player.maxattack / 10.0);
Player.minattack += Convert.ToUInt16(Player.minattack / 10.0);
}
for (byte NDG = 0; NDG < Player.NDG; NDG++)
{
Player.maxattack += Convert.ToUInt16(Player.maxattack / 20.0);
Player.minattack += Convert.ToUInt16(Player.minattack / 20.0);
}
Looping .... Dose it slow shit out ??
and if the looping CAN slow the server work is there a better way to control that .cus if not and looping it is fine than im gonna use the same thing to control the SPG/SRG/etc .






