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.

how to change HP,SP, gold & enemy HP, SP cap

Freakboy;255251 said:
to change hp/sp:
Code:
$game_party.actors[actor_id].hp
$game_party.actors[actor_id].sp

replace actor_id by the index of the actor in the party.

thx...... is that in the game_actor section or in the game_party

and the enemies HP/SP and the gold?
 
Freakboy;255251 said:
to change hp/sp:
Code:
$game_party.actors[actor_id].hp
$game_party.actors[actor_id].sp

replace actor_id by the index of the actor in the party.

I think that only changes their CURRENT HP/SP; not maximum.

BlueScope's post in this thread should have the solution to change a character's or enemy's Max HP/SP.

I'm not at home right now so I can't see for myself but it should work, I think. I don't know where to change the cap for gold, though.
 

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