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

[Spell] Making bladestorm an on/off mana consuming hability

Status
Not open for further replies.
Level 1
Joined
Oct 10, 2017
Messages
3
I tried do that using immolation + custom triggers for the spin animation did worked but still having some issues:

1: The blademaster still can attack during the animation
2: Only stops the spin animation by turning off the skill manualy, if the mana ends doesn't stop automaticaly
3: The blademaster doesn't gain his spell/magic immunity

In case anyone know how to improve the existing triggers:


  • Events
  • Unit - A unit Is issued an order with no target
  • Conditions
  • (Issued order) Equal to (order(immolation))
  • Actions
  • Animation - add the spin animation tag to (triggering unit)

  • Events
  • Unit - A unit Is issued an order with no target
  • Conditions
  • (Issued order) Equal to (order(unimmolation))
  • Actions
  • Animation - remove the spin animation tag to (triggering unit)
 
Last edited:
Level 15
Joined
Jul 9, 2008
Messages
1,552
ull have to enhance your triggers and use dynamic indexing to save the unit casting it and add it to a unit group

and a trigger like this will stop the attacks
  • Events
  • Unit - is atked
  • Conditions
  • Atacking unit is in your unit group
  • Actions
  • Unit - order attacking unit to stop
ull need a periodic trigger to detect when the unit runs out of mana

ull have to add/remove magic immunity ability(base it off the item ability) when the unit is using this
 
Level 1
Joined
Oct 10, 2017
Messages
3
ull have to enhance your triggers and use dynamic indexing to save the unit casting it and add it to a unit group

and a trigger like this will stop the attacks
  • Events
  • Unit - is atked
  • Conditions
  • Atacking unit is in your unit group
  • Actions
  • Unit - order attacking unit to stop
ull need a periodic trigger to detect when the unit runs out of mana

ull have to add/remove magic immunity ability(base it off the item ability) when the unit is using this

can you explain in more detail? i'm still a newbie in that trigger things
 
Level 13
Joined
May 10, 2009
Messages
868
- Use Defend ability as it doesn't require mana, and it's not turned off as soon as its caster runs out of it.
- Combine Battle Stations (orc burrow ability), Cargo Hold and a spell book (for hiding battle stations) in order to prevent a unit from attacking.
- Use triggers to consume mana

The only downside I can think of, for now, would be Defend ability not accepting initial mana cost. If you want that, then I suggest creating 2 different abilities; Use one for activating your spell and the other for deactivating it.
 
Level 1
Joined
Oct 10, 2017
Messages
3
Progress update:

Now i just need BM stop attacking during the Bladestorm

  • Events
  • Unit - A unit Starts the effect of an ability
  • Unit - A unit Is issued an order targeting a point
  • Unit - A unit Is issued an order targeting an object
  • Unit - A unit Is issued an order with no target
  • Conditions
  • ((Triggering unit) has buff Bladestorm) Equal to True
  • Actions
  • Unit - Add Spell Immunity (Archimonde) to (Triggering unit)
  • Animation - Add the spin animation tag to (Triggering unit)
  • Events
  • Unit - A unit Starts the effect of an ability
  • Unit - A unit Is issued an order targeting a point
  • Unit - A unit Is issued an order targeting an object
  • Unit - A unit Is issued an order with no target
  • Conditions
  • ((Triggering unit) has buff Bladestorm ) Equal to False
  • Actions
  • Unit - Remove Spell Immunity (Archimonde) to (Triggering unit)
  • Animation - Remove the spin animation tag to (Triggering unit)
- Use Defend ability as it doesn't require mana, and it's not turned off as soon as its caster runs out of it.
- Combine Battle Stations (orc burrow ability), Cargo Hold and a spell book (for hiding battle stations) in order to prevent a unit from attacking.
- Use triggers to consume mana

The only downside I can think of, for now, would be Defend ability not accepting initial mana cost. If you want that, then I suggest creating 2 different abilities; Use one for activating your spell and the other for deactivating it.
that way i can just press 1 button and start spinning w/o attacking like the vannila skill?

Edit: to work just need burrow cargo hold, since doesn't need battle station i didn't need to hide that in a spell book.
 

Attachments

  • BladeStorm.w3x
    18.9 KB · Views: 50
Last edited:
Status
Not open for further replies.
Top