Replacing a hero
Ok, so I'm making this upgrade that changes hero attack type to chaos. The only way to make it is replacing the old hero with a similar hero that has Chaos attack type. Now I need to make variables for: Old hero's items, Old hero's experience, Old hero's ability levels. Simply I don't know how to, can someone please help me?
The trigger is now like this:
(Witch Slayer is the only hero I have made by now )
/
Ability icon not showing
I made this ability, Energy Ravage (wich makes units in 300/400/500/600 range lose 25/40/55/70 mana and take the same amount as Pure damage each time they cast a spell). I based the ability on Slow (Tornado), the tornado ability that slows nearby units. I changed the buff to Energy Ravage Lv 1/2/3/4. But! :banghead::banghead::banghead::banghead::banghead: When I learn the ability on the hero, the ability doesn't show up in the button screen. I don't have an idea why. The Art - Button Position is set to a available button position.
Before you say the ability is overpowered, I say it is an ultimate (yes, in my game ultimates have 4 levels).
Ok, so I'm making this upgrade that changes hero attack type to chaos. The only way to make it is replacing the old hero with a similar hero that has Chaos attack type. Now I need to make variables for: Old hero's items, Old hero's experience, Old hero's ability levels. Simply I don't know how to, can someone please help me?
The trigger is now like this:
Trigger:
- Upgrade Corruption
- Events
- Unit - A unit Finishes an upgrade
- Conditions
- (Researched tech-type) Equal to Corruption
- Actions
- Unit Group - Pick every unit in (Units owned by (Owner of (Researching unit))) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Picked unit)) Equal to Witch Slayer
- Then - Actions
- Unit - Replace (Picked unit) with a Witch Slayer Chaos using The old unit's relative life and mana
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in (Units owned by (Owner of (Researching unit))) and do (Actions)
- Events
(Witch Slayer is the only hero I have made by now )
/
Ability icon not showing
I made this ability, Energy Ravage (wich makes units in 300/400/500/600 range lose 25/40/55/70 mana and take the same amount as Pure damage each time they cast a spell). I based the ability on Slow (Tornado), the tornado ability that slows nearby units. I changed the buff to Energy Ravage Lv 1/2/3/4. But! :banghead::banghead::banghead::banghead::banghead: When I learn the ability on the hero, the ability doesn't show up in the button screen. I don't have an idea why. The Art - Button Position is set to a available button position.
Before you say the ability is overpowered, I say it is an ultimate (yes, in my game ultimates have 4 levels).