• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Auto-cast Cleave attack

Status
Not open for further replies.
Level 2
Joined
Jun 11, 2010
Messages
27
Hi there, i'm new in this forum, and i must say that the Cleave skill of the Barbarian in TKoK project is very impressive, i've tried many way but still can't make an auto-cast skill for melee attacker. I wonder if anyone can help me to create one like that?

Thanks :thumbs_up:
 
It's simple; base your autocast ability off Searing Arrows, set missile model to none and bonus damage to 0 and use this trigger:
  • Trigger
  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Level of Cleave for (Triggering unit)) Greater than 0
  • Actions
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (Issued order) Equal to (order(flamingarrows))
      • Then - Actions
        • Unit - Add Cleaving Attack to (Triggering unit)
        • Unit - Set level of Cleaving Attack for (Triggering unit) to (Level of Cleave for (Triggering unit))
      • Else - Actions
        • If (All conditions are true) then do (Actions) else do (Actions)
          • If - Conditions
            • (Issued order) Equal to (order(unflamingarrows))
          • Then - Actions
            • Unit - Remove Cleaving Attack from (Triggering unit)
Cleave is your autocast spell, while Cleaving attack is the default ability to have the cleaving effect upon attacking.
 
That's one of the way i've used, but hey, just manual cast that skill and you will see that it's not cleaving :)
 
Status
Not open for further replies.
Back
Top