vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   Limit Bar not resetting after used in battle (https://vborg.vbsupport.ru/showthread.php?t=78563)

Kayden 03-22-2005 06:28 PM

Limit Bar not resetting after used in battle
 
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:
PHP Code:

                $battleaction .= "Uh-oh, looks like someone is powering up!  "

Add below:
PHP Code:

                $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


All times are GMT. The time now is 08:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01904 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete