PDA

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


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

Revan
22 Mar 2005, 22:13
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
23 Mar 2005, 01:22
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
23 Mar 2005, 01:38
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
23 Mar 2005, 01:42
FF1-4 are the best on the NES

Dorign
23 Mar 2005, 07:43
I know too much about FF games.. and yes, I know what you're talkin' about.. :P