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.

[Resolved] Checking conditions of skills and states.

Alright, there are two things I'm looking for:

How/what variable are the states stored in? I'm assuming its some sort of an array boolean but I can't seem to find what it's called.  My goal is to have some conditions in the 'Game_Battler_3' script to modify the damage based on state.  Something like:

if self.[HasState(stateid)] == true
...
end

The second thing I was looking for is pretty similar.  I'm looking for how to write something like this:

if attacker.[HasSkill(skillid)] == true
...
end

Anyone know what those would be called?
 

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