- Joined
- May 15, 2009
- Messages
- 192
Battlehound asking for help, again...
This time around I've tried to create a hero which has two shapes, a fire and a frost. And I want diffrent abilities for each form. I tried using the bear form ability, and enabling and disabling spells. But I am having trouble mirroring skills.
When you swtich from Fire to Frost form, I want the first skill(Ignite) to be hidden, and replaced by another spell(Frost Shard) which would have identical level. However since Hero Abilities tend to act wierd when you switch forms, I can't quite make this work.
The Triggers:
Im thinkin maby Bear Form itself is the problem, being a unit ability, maby Metamorphosis is needed? Anyway, thx for help in advance. I just can't quite figure out my problem.
This time around I've tried to create a hero which has two shapes, a fire and a frost. And I want diffrent abilities for each form. I tried using the bear form ability, and enabling and disabling spells. But I am having trouble mirroring skills.
When you swtich from Fire to Frost form, I want the first skill(Ignite) to be hidden, and replaced by another spell(Frost Shard) which would have identical level. However since Hero Abilities tend to act wierd when you switch forms, I can't quite make this work.
The Triggers:
-
Check
-
Events
- Unit - A unit enters (Current camera bounds)
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Frostfire Lord
- (Unit-type of (Triggering unit)) Equal to Frostfire Lord
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
- Unit - Add Frost Shard/Ignite (Frost Shard) to (Triggering unit)
- Player - Disable Frost Shard/Ignite (Frost Shard) for (Owner of (Triggering unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Learned Hero Skill) Equal to Frost Shard/Ignite (Ignite)
-
Then - Actions
- Set FSI_Learned = 1
- Else - Actions
-
If - Conditions
-
Events
-
Coldharbour Lord
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Coldharbour Lord
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FSI_Learned Equal to 1
-
Then - Actions
- Unit - Set level of Frost Shard/Ignite (Frost Shard) for (Triggering unit) to (Level of Frost Shard/Ignite (Ignite) for (Triggering unit))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Frostfire Lord
-
Then - Actions
- Player - Disable Frost Shard/Ignite (Frost Shard) for (Owner of (Triggering unit))
- Player - Enable Frost Shard/Ignite (Ignite) for (Owner of (Triggering unit))
-
Else - Actions
- Player - Enable Frost Shard/Ignite (Frost Shard) for (Owner of (Triggering unit))
- Player - Disable Frost Shard/Ignite (Ignite) for (Owner of (Triggering unit))
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Im thinkin maby Bear Form itself is the problem, being a unit ability, maby Metamorphosis is needed? Anyway, thx for help in advance. I just can't quite figure out my problem.