I'm trying to make a map where if your hero reaches a certain level, it will "evolve"... this is what i have to far for the evolving...
Any idea's??
Code:
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Set CrabLevel = 0.00
Set CrabLevel = (Real(crabby))
Code:
Crab Levels
Events
Unit - A unit owned by Player 1 (Red) Gains a level
Conditions
(Unit-type of (Leveling Hero)) Equal to Crab
Actions
Set CrabLevel = ((Real(crabby)) + 1.00)
Code:
Evolve Crab
Events
Game - CrabLevel becomes Equal to 5.00
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Leveling Hero)) Equal to Player 1 (Red)
Then - Actions
Unit - Replace (Learning Hero) with a Crab Warrior using The new unit's default life and mana
Else - Actions
Do nothing
Any idea's??