• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] How to make flat mana regeneration without Int?

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
i changed unit mana regeneration to 1.00 in object editor still unit mana not regenerated, why?
reeason could be the 0 mana regen/int in gameplay constants? or that mana regen at unit object editor also related with int ?

since abilities have % regeneration i thought i made unit with 1 mp/sec regen then use abilities for increase it, +100% mana regen then will be 2mp/sec, 200% mana regen = 3 mp/sec etc

problem is for mp dont got similiar regen ability than item ability give flat hp regen
 
Level 10
Joined
Dec 15, 2012
Messages
650
Why not try to use trigger

You also can try use trigger to regenerate units' mana
[trigger=Test this Trigger]Regeneration
Events
Time - Every 1.00 seconds
Conditions
Actions
Unit Group - Picked every unit in (Entire map) and matching (ABILITY for (Picked unit) equal to 1)
Loops
Unit - Set (Picked unit)'s mana to (mana of (Picked unit) + 3)[/trigger]
 
Level 20
Joined
Jun 27, 2011
Messages
1,864
You also can try use trigger to regenerate units' mana
[trigger=Test this Trigger]Regeneration
Events
Time - Every 1.00 seconds
Conditions
Actions
Unit Group - Picked every unit in (Entire map) and matching (ABILITY for (Picked unit) equal to 1)
Loops
Unit - Set (Picked unit)'s mana to (mana of (Picked unit) + 3)[/trigger]

Change the Picked Unit inside the unit group to Matching Unit.
 
Status
Not open for further replies.
Top