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

Bear form spells switch not working

Status
Not open for further replies.
Level 7
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:
  • 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
    • 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
  • 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 (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))
I belive they are pretty much selfexplanatory(excuse me if they are not).
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.
 
since you're already using a morph spell, there's no need for disabling then enabling blablah... also if Frost shard is a hero ability, I don't think Set ability level would work... You would need to add skill points then use Learn Ability...

the best way I think is to trigger the morph, then just remove, add abilities etc...
 
Level 7
Joined
May 15, 2009
Messages
192
Ok guys, long time since I've been on Hive. Sorry for abandoning this thread.

I diden't actually find a solution to the problem, instead I had a friend of mine make a mixed icon (Half of it was Blizzard Icon, the other half Rain of Fire) and then the trigger of the spell just depends on the unit tybe of the caster.

But on this subject, bear form is a unit ability that will completly replace the old unit, and thus, abilities will not be carried. If u want a trigger that looks like minde, use Metamorphosis ability. Much better for heroes, and just as manageable.

Good luck out tehhhr
 
Status
Not open for further replies.
Top