Quote:
Yesterday at 10:36 PM lioncool1589 said this in Post #2217
bitsys help me out why my angry still do alot dmg after i updated lastest version
http://www.clan-ice.com/showthread.p...4129#post44129
Debug Variables:
Anger ($anger): 15.2
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 8
Regular Attack Bonus ($regattbonus): 8630.4900154444
Regular Defense Minus ($regdefminus): 3794.7144049102
Damage Done ($damagedone): 159575 == [floor((2350 + 8630.4900154444) * 1 * 15.2 + 2450 - 7400 - 3794.7144049102)]
Dodge Chance ($dodgechance): 1100
New HP ($newhp): -156442
|
Anger is still based on a user's level. To restrict anger damage, do the following:
In battleupdate.php, find:
PHP Code:
$debugvariables .= "Anger (\$anger): $anger\n";
and ABOVE it, add:
PHP Code:
if ($anger > XX)
{
$anger = XX;
}
Where XX is a number greater than 1. If XX is 3.0, then the user will do a maximum of 3 times as much damage.
Quote:
Today at 01:26 PM Telchar said this in Post #2219
It worked! :laugh: Thanks!
But now i got another problem..
I get this each time someone attacks:
It happens with all weapons, though not the when using the shields.. Where do i edit so it dissapears?
The shields don't work on my character, but it works for another admin.
|
In battleupdate.php, find:
PHP Code:
$battledebug = 1;
and change it to:
PHP Code:
$battledebug = 0;
What is the buff for the shield? Are you both using the same shield? How does it not work?