[Spell Request] - Battle Trance

Carnerox

The one and only.
Reaction score
84
Every minute Jakrall goes into a trance, awaking the dormant, savage warrior he is. He gains bonus attack speed, and the ability to quickly understand his enemies defense allowing him to deal more damage on each attack. Last 8 seconds.

Level 1 - 100% attack speed. 10 bonus damage per attack, 100 damage cap.
Level 2 - 125% attack speed. 15 bonus damage per attack, 150 damage cap.
Level 3 - 150% attack speed. 20 bonus damage per attack, 200 damage cap.



Side notes: If he switches a unit or after 5 seconds of not attacking, all the bonus damage will disappear.


+rep for the person who can do this. I wish for it to be MUI, and leakless.
 

IronTrout

New Member
Reaction score
20
Pfft siff you'd use Jass :p

It's all MUI in good ol' GUI.. Sorry it took so long, i was working on my crysis map :)

But here ya are [Find it below]

Edit: I almost forgot, I made it in Newjass, I'm guessing you have it tho?
 

IronTrout

New Member
Reaction score
20
Do you want the timer of 8 seconds to reset when they attack? or not?

What ever, If you don't want the reset timer when they attack take out the bold stuff

Trigger:
  • Battle Trance
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Battle Trance ) Equal to (==) True
    • Actions
      • Do Multiple ActionsFor each (Integer A) from 1 to BTrnc_Counter, do (Actions)
        • Loop - Actions
          • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Attacking unit) Equal to (==) BTrnc_Caster[(Integer A)]
            • Then - Actions
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • BTrnc_Checker[(Integer A)] Equal to (==) True
                • Then - Actions
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • BTrnc_AttackCounter[(Integer A)] Less than (<) (10 + ((Level of Battle Trance for BTrnc_Caster[(Integer A)]) x 10))
                    • Then - Actions
                      • Do Multiple ActionsFor each (Integer B) from 1 to ((Level of Battle Trance for BTrnc_Caster[(Integer A)]) + 1), do (Actions)
                        • Loop - Actions
                          • Unit - Increase level of Battle Trance (damage) for BTrnc_Caster[(Integer A)]
                          • Set BTrnc_AttackCounter[(Integer A)] = (BTrnc_AttackCounter[(Integer A)] + 1)
                      • <b>Set BTrnc_Timer[(Integer A)] = 7</b>
                    • Else - Actions
                      • <b>Set BTrnc_Timer[(Integer A)] = 7</b>
                • Else - Actions
                  • Do nothing
            • Else - Actions
              • Do nothing


Here's the map, I'm taking off the old map to save up some room in my uploads :) --> View attachment BattleStance.w3x
 

IronTrout

New Member
Reaction score
20
Wow!!! Why didn't i think of that! I just gave each unit the Item damage +, and told it to level it up :p Oh wells
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top