PDA

View Full Version : Limit Bar not resetting after used in battle


Kayden
03-22-2005, 06:28 PM
When someone releases their anger, the bar doesn't reset to 0. Is there a way to fix this?

Revan
03-22-2005, 09:13 PM
Fixed.
Find in battleupdate.php:
$battleaction .= "Uh-oh, looks like someone is powering up! ";
Add below:
$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET ap=0 WHERE userid='$bbuserinfo[userid]'");
Or reupload battleupdate.php from zip.

Dorign
03-23-2005, 12:22 AM
Is there a way to allow them to have a set number of turns before it goes to zero? Say their anger lets them have 5 turns at the increased attack, THEN goes to zero..

OR

Increase the amount of damage done when angered and then reset to 0? Because right now, anger looks like it only does 20 additional damage.. not enough to be a trump card. :P

Revan
03-23-2005, 12:38 AM
To increase the amount of damage Anger does, open battleupdate.php and alter the two values of $anger.
But mind you, the amount of damage it does increases fast as hell, so don't think 10 is a fitting value :p (This will cause about 22k damage, last I checked ;))

An upcoming feature is my very own Level Based Limit Break addon, which will increase anger damage based on Final Fantasy 7 style (for those that dunno this, look it up :P) Limit Breaks.
I see since your an FF8 fan, Dor, you probs know what Im talking about ;)

twoseven
03-23-2005, 12:42 AM
FF1-4 are the best on the NES

Dorign
03-23-2005, 06:43 AM
I know too much about FF games.. and yes, I know what you're talkin' about.. :P