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

Channel spell

Status
Not open for further replies.
Level 4
Joined
Nov 17, 2007
Messages
57
hi :) fast and easy question: i want to make a spell that does damage every 2 second for 10 seconds (channeled spell), but what would i base this on? i thought about the human spellbreakers but their catch-the-enemy-in-a-net spell wont work cause it immobilizes too... Life Drain wont work either cause i cant take the healing effect away - so what should i base it on? :<
 
Level 4
Joined
Nov 17, 2007
Messages
57
but i could just base it on Channel too, but theres not a default damage thing there.. and then i thought of making the spell do a buff, and then check if a unit has the buff and deal damage to the unit (if it has the buff) every 2 second, but i cant find "Unit has buff equal to <bla bla>" <.<
 
Hm, channeling spell, right, sorry.
Base it off Channel, with follow through time equal to the seconds you want it channeled.
Then,
  • Trigger1
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to X
  • Actions
    • Set Unit[1] = (Triggering unit)
    • Set Unit[2] = (Target unit of ability being cast)
    • Trigger - Turn on Trigger2 <gen>
  • Trigger2
  • Events
    • Time - Every 2.00 seconds of game-time
  • Conditions
    • (Unit[2] is alive) Equal to True // This is "Boolean Comparison".
  • Actions
    • Set Count = ((Count) + 1) // Integer - type variable
    • Unit - Cause Unit[1] to damage Unit[2] dealing 100 damage of attack type Spells and damage type Normal
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (Count) Equal to 5 // "Integer Comparison"
      • Then - Actions
        • Trigger - Turn off (This trigger)
        • Set Count = 0
      • Else - Actions
  • Trigger3
  • Events
    • Unit - A unit stops casting an ability
  • Conditions
    • (Ability being cast) Equal to X
  • Actions
    • Trigger - Turn off Trigger2 <gen>
 
Status
Not open for further replies.
Top