Jump to content
Nekotori

Take 1 HP and MP damage per step via Events Help

Recommended Posts

Hello everyone~ ^~^ I'm just wondering if I could make an event or a common event that makes the players HP and MP go down by 1 for every step they take?

 

The idea is, I don't want a % decrease but rather an exact 1 HP/ and MP lost

 

I want the player to receive a game over if either the HP or the MP goes down to zero. Since my idea is that the player traverses into two dungeons, the first dungeon reduces HP while the second reduces MP.

 

Any help would be appreciated meow ^~^♥

Share this post


Link to post
Share on other sites

Try this Kotori-chan.

I made this example event to show you.

m6Be3UH.png

 

The conditional branch script call is this. Just copy and paste it into.

 

$game_variables[4978] != $game_player.x || $game_variables[4979] != $game_player.y

 

Change the variables 4978 and 4979 to whatever you like. It was just open in my project.

And do not forget to check the Allow Knockout inside the change hp event page.

 

If you want it to be a common event, do everything the same, and set the trigger of the common event to parallel process.

Make the switch to trigger the event anything you wish, and the event by turning on and off the switch whenever you need it.

Remember that you can place anything in the event in the conditional branch you want and it will activate when you take a step.

 

Hope it works!

  • Like 1

Share this post


Link to post
Share on other sites

aokie meow, I shall test it out ^~^

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted