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 (95 users)
AoKTS updates (70 users)
1.6 reward campaing (67 users)
CBA PathBlood 1.8.0 (60 users)
New CBA Hero now supports HD / D... (30 users)
Photos of Voobly Players (25 users)
Devil May Cry (20 users)
Most active threads in past week:
Torneo 1v1 HUMAITA / HUMAITA 1... (48 posts)
🌟 Let's Restart Custom Scenar... (27 posts)
If there is chance to advertise ... (6 posts)
AOM Error "Unsupported Grap... (6 posts)
Voobly Rouge Spear on Mac (3 posts)
Hero Tourney Match Schedules (3 posts)
Mod 'v1.6 Game Data' version doe... (3 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!