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

Block a triggered spell with Amulet of Spell Shield

Status
Not open for further replies.
Level 6
Joined
Jul 14, 2020
Messages
128
Hi hive, maybe this is a basic question, but is it possible to detect if the target of an ability made with triggers has ""Amulet of Spell Shield and detect if it is on cooldown or not""?

I want my custom spells to be blocked with this item, thank you. :grin:
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,875
I imagine so. In 1.31+ you can check the Remaining cooldown of an ability. If it's > 0.00 then Skip the rest of the Actions of your custom spell. I'm not sure how the timing works here so you may need to check if the cooldown is equal to 0.00 instead.

  • (Ability Cooldown of (Target unit of ability being cast) for ability Spell Shield (Amulet), Level: 0.) Greater than 0.00
 
Level 6
Joined
Jul 14, 2020
Messages
128
I imagine so. In 1.31+ you can check the Remaining cooldown of an ability. If it's > 0.00 then Skip the rest of the Actions of your custom spell. I'm not sure how the timing works here so you may need to check if the cooldown is equal to 0.00 instead.

  • (Ability Cooldown of (Target unit of ability being cast) for ability Spell Shield (Amulet), Level: 0.) Greater than 0.00
Thanks, I'm currently on the old version w.e, but I think I can move to the reforged (which I own but don't use)


An additional question, which may be off-topic, do you think it is worth having my map in the p1rate version of warcraft (1.26) so that it has more reach - popularity?

I'm not really aware of the numbers of players that are at 1.26 or reforged.

Thanks Again :grin:
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,875
Thanks, I'm currently on the old version w.e, but I think I can move to the reforged (which I own but don't use)


An additional question, which may be off-topic, do you think it is worth having my map in the p1rate version of warcraft (1.26) so that it has more reach - popularity?

I'm not really aware of the numbers of players that are at 1.26 or reforged.

Thanks Again :grin:
I couldn't say, maybe check out one of those 3rd party sites that track when a map is hosted.
 
Status
Not open for further replies.
Top