![]() |
Armor (please note the difference between Armor and Shield type) are currently not being prohibited, yes.
The fix is hassle to test, so I didn't, but you feel free to test it for me. File: battleupdate.php Find (BOTH instances of): PHP Code:
PHP Code:
PHP Code:
PHP Code:
PS: I will add an error message like the "your weapon is for a different class" in v3. Thanks for helping me make this hack better :) //peace |
Nope, didn't do the trick, didn't get an error or anything, but the debugs stayed the same.
Before the fix - Debug Variables: Anger ($anger): 1 Hit Chance ($hitchance): 0.49279003035213 Random Number ($randnum): 35 Regular Attack Bonus ($regattbonus): 6.0456592223288 Regular Defense Minus ($regdefminus): 3.145988105131 Damage Done ($damagedone): -1 == [floor((28 + 6.0456592223288) * 0.5 * 1 + 0 - 14 - 3.145988105131)] Random Mad ($randmad): 10 After the fix - Debug Variables: Anger ($anger): 1 Hit Chance ($hitchance): 0.49279003035213 Random Number ($randnum): 22 Regular Attack Bonus ($regattbonus): 6.0456592223288 Regular Defense Minus ($regdefminus): 3.145988105131 Damage Done ($damagedone): -1 == [floor((28 + 6.0456592223288) * 0.5 * 1 + 0 - 14 - 3.145988105131)] Random Mad ($randmad): 8 |
Goddamit!
Ok guess I have tomorrow's work cut out for me then :p I'll either edit this post or make a new reply because Im gonna fuggen do this even if it's the last thing I do! :p |
Hehe, I'll happily test out anything you need bro :)
I can add in hacks like crazy, but when it comes to writting arrays and explode and all that my mind fragments into a trillion pieces ;) |
Well I can say that the fix works.
I just applied it, and here's the results: BEFORE the fix: Damage Done ($damagedone): 166 == [floor((82 + 839.48094618951) * 1 * 1 + 0 - 0 - 756.75105588525)] AFTER the fix: Damage Done ($damagedone): 109 == [floor((82 + 839.48094618951) * 1 * 1 + 0 - 54 - 756.75105588525)] And 54 IS indeed the buff value I set the Armor I tested it with to be. |
I'll double check my values on test. See if I can find out what I did wrong incase someone else repeats my mistake.
|
All times are GMT. The time now is 08:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|