• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

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 72
Joined
Aug 10, 2018
Messages
7,738
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 72
Joined
Aug 10, 2018
Messages
7,738
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