• 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.

[Trigger] Hero Leveling

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
Hi. I have a modified spell (Raise Dead) That spawns a hero instead of units from devaying corpses. Its not modified at all. However, i need to set the level of the spawned units to a certain level based on the amount of Intelligence the caster has. Max is 10. I am stumped on how to do this. Can anyone help me?
 
Level 3
Joined
Sep 24, 2007
Messages
64
o_O'
...

  • Events:
    • Unit - A unit spawns a summoned unit.
  • Conditions:
    • Spawned unit Equal to (Unit Type)
  • Actions:
    • Hero - set hero level of (summoned unit) = Hero - (Intelligence of triggering unit)
Something like this?
 
Status
Not open for further replies.
Top