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

Need help with a boss spell

Status
Not open for further replies.
Level 7
Joined
Dec 29, 2008
Messages
252
Make 2 abilities:
1. An ability such as stormbolt, without the stun effects and missile effects. Make the projectile speed 10000 or something so it will resemble an instant cast.
2. The flamestrike ability itself. Make the cast time 2 seconds and set the damage/radius/other spell things to whatever you wish.

Then make a dummy unit that will cast the second ability. Make sure it's scaling value is set to '.1' and the cast animation time is set to zero. Replace it's old abilities with the second one above.

Then add the first ability to your boss. The boss unit will cast this ability on the player and will cause the dummy unit to start casting the flamestrike ability.

Here are the triggers you will need to make:
  • Flamestrike Cast
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to FirstAbility
    • Actions
      • Set TargetUnit = (Target unit of ability being cast)
      • Unit - Create 1 (Unit-type of DummyCaster) for (Owner of (Triggering unit)) at BossFightRegion facing Default building facing degrees
      • Set DummyCaster = (Last created unit)
      • -------- You can set this for however long you wish. Just make sure you change the correct values to accomodate it. --------
      • Unit - Add a 6.00 second Generic expiration timer to DummyCaster
      • Trigger - Turn on Flamestrike Loop <gen>
      • Trigger - Turn on Flamestrike Timer <gen>
  • Flamestrike Loop
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Set TargetPosition = (Position of TargetUnit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • EffectTime Less than or equal to 6
        • Then - Actions
          • Unit - Order DummyCaster to Human Blood Mage - Flame Strike TargetPosition
        • Else - Actions
          • Trigger - Turn off (This trigger)
          • Trigger - Turn off Flamestrike Timer <gen>
  • Flamestrike Timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set EffectTime = (EffectTime + 1)
Now, I'm not the greatest at triggering, so this might not be the most effective way on doing this. I'm pretty sure i leaked a few times in there, but I'm sure someone will correct me.

Hope this helps. Tell me if it doesn't work, and I'll try and fix it.
 
Status
Not open for further replies.
Top