• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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.
 
Level 2
Joined
Jun 11, 2010
Messages
27
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.
Top