Community Forums > Voobly Community > Age of Empires II: The Conquerors > Custom Scenario > Scenario Design > Scenario Design Questions > Over Maximum HP Conflict in Mapmaking
[1]
Displaying 1 - 3 out of 3 posts
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests
0 members, 1 guests
What's popular right now:
Word Association (47 users)
AoKTS updates (41 users)
CBA PathBlood 1.8.0 (39 users)
TIW 2020 Map votes (34 users)
1.6 reward campaing (28 users)
Photos of Voobly Players (16 users)
TDII (14 users)
Most active threads in past week:
Restore Problem (12 posts)
Torneo 1v1 HUMAITA / HUMAITA 1... (12 posts)
AOM Error "Unsupported Grap... (10 posts)
If there is chance to advertise ... (8 posts)
Which AI can play DE Islands cus... (7 posts)
Old VCOM/Tournament forums (6 posts)
🌟 Let's Restart Custom Scenar... (5 posts)
The Problem: Player 1 (at one point) has a 60 HP Character. My potions (when used) heal 25 HP of the character. However I'm unable to prevent them from over-healing and going past the Maximum HP.
Example: P1's character has been damaged 40 health (20/60 HP remaining.) He has 2 potions. He uses the first potion (healing 25 health) and now has 45/60 HP. Player 1 then decides to use the other and heals 25 more HP and his character now has 70/60 HP, which I don't want. I want it to be where it just goes to the maximum HP when healing less than 25 health rather than going over (obviously players will take advantage of this and make their characters health go way over the Max HP.)
Any help on how to fix this problem would be great!