Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Error in Sephirothspawns "Advanced Limit Break" script

When, in stotic mode, i heal my party members using cure spells and such, their limit gauge goes up. I know very little about RGSS scripting, but im pretty sure this piece of code needs to be changed

if self.is_a?(Game_Actor)
if self.limit_type == 1
self.limit += ((1.5*self.damage*self.damage)/self.maxhp)+100
end
end

Logically, i think putting an "If" condition or whatever you would call it around the 3rd line in the above example to check that the skill power is over 0 would solve my problem, but i have no idea how to do this. Can anyone help?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top