• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

A spell within a spell

Status
Not open for further replies.
Level 30
Joined
Sep 30, 2008
Messages
1,460
Right! As part of my diablo 3 map, im trying to make my wizards "Time Shield" have the ability to pulse.

As it stands, the "Time sheild" is a dummy ability, which when pressed activates the following trigger:

  • Events
  • Unit - A unit starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to time shield
  • Actions
  • Unit - Add Time shield aura to (triggering unit)
  • Unit - Add Pulse to (triggering unit)
  • Unit - Set level of Time shield aura to level of time shield
  • Wait 10 game-time seconds
  • Unit - remove time shield aura from (triggering unit)
  • Unit - remove Pulse from (triggering unit)
Basically, whenever the dummy spell is pressed, the hero gains the aura, and the pulse ability for 10 seconds.

My problem is this:

Whenever Pulse is pressed, it resets the time shield dummy cooldown. It also uses the mana cost of the Time Shield dummy spell ability instead of its own.

What have I done wrong? Help! lol
 
Status
Not open for further replies.
Top