C0mput3r
New Member
- Reaction score
- 20
I've got a way to make a unit's max HP based on this formula.
{[(Strength of unit + Level of unit) / 10] + base life}
the trigger is like this:
Now to get to the point. (I bet you're gonna kill me for giving other info 1st but I assure you it'll help you understand what i'm trying to do)
I used a Manual of Life that adds 1 life and a Loop-Actions to add it mutiple times. There's no ability for it and it doesn't take up inv space.
Now for the question. (I know, so long... i mean finally!!!)
Is there a Permenant Max Mana Increase?
Thanks in advance for helping, but most importantly for reading the whole thing, it IS very long...
{[(Strength of unit + Level of unit) / 10] + base life}
the trigger is like this:
Code:
HP Bonus LevelUP
Events
Unit - A unit Gains a level
Conditions
LevelUPskip[(Player number of (Triggering player))] Equal to False
Actions
Unit - Set life of (Triggering unit) to 100.00%
Unit - Set mana of (Triggering unit) to 100.00%
Set LevelUPIntConversion[(Player number of (Owner of (Triggering unit)))] = (Real((((Hero level of (Triggering unit)) + (Strength of Player_Heros[(Player number of (Owner of (Triggering unit)))] (Include bonuses))) / 10)))
Set LevelUPInt[(Player number of (Owner of (Triggering unit)))] = (Integer(LevelUPIntConversion[(Player number of (Owner of (Triggering unit)))]))
Hero - Drop the item from slot 1 of Player_Heros[(Player number of (Owner of (Triggering unit)))]
Set TempItem[(Player number of (Owner of (Triggering unit)))] = (Last dropped item)
For each (Integer A) from 1 to LevelUPInt[(Player number of (Owner of (Triggering unit)))], do (Actions)
Loop - Actions
Hero - Create HP Bonus and give it to (Triggering unit)
Hero - Order Player_Heros[(Player number of (Owner of (Triggering unit)))] to use (Last created item)
Hero - Give TempItem[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Set TempItem[(Player number of (Owner of (Triggering unit)))] = No item
Set LevelUPInt[(Player number of (Owner of (Triggering unit)))] = 0
Set LevelUPIntConversion[(Player number of (Owner of (Triggering unit)))] = 0.00
Now to get to the point. (I bet you're gonna kill me for giving other info 1st but I assure you it'll help you understand what i'm trying to do)
I used a Manual of Life that adds 1 life and a Loop-Actions to add it mutiple times. There's no ability for it and it doesn't take up inv space.
Now for the question. (I know, so long... i mean finally!!!)
Is there a Permenant Max Mana Increase?
Thanks in advance for helping, but most importantly for reading the whole thing, it IS very long...