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

Abnormal Frenzy Problem

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
926
I made a trigger for a skilled called Abnormal Frenzy
it uses a dummy and 2 skills
One is passive, One is Active
Abnormal Frenzy (Based on Bash) and Abnormal Frenzy Buff (Based on Bloodlust)
I want to make the unit with the skill have a temporary Bloodlust buff by chance for example
- Gives the hero a 7% chance to increase his attackspeed for 1 minute -
So here are my triggers :)
  • AAS1 SkillTrigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Abnormal Frenzy
    • Actions
      • Unit - Create 1 Dummy (Abnormal Frenzy) for Player 1 (Red) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Casting unit) has buff Abnormal Frenzy ) Equal to True
        • Then - Actions
          • Unit - Kill (Last created unit)
        • Else - Actions
 
Level 26
Joined
Mar 19, 2008
Messages
3,140
You can not use event 'starts efect of ability' and hope that is responds on bash passive ability ;/ It doesn't work like that.

Use GDD, which I've linked to you a lot of times and additionaly add condition:
(Random integer variable from 1 to 100) Less or equal to 7.
If both conditions are true (GDD_DamagedUnit has passive Abnormal Frenzy and that random number is actually 7 or lower that create your dummy and cast blood lust. Unfortunatelly it triggers with each damage dealt by given unit, nt only physical one.
 
Level 11
Joined
Jul 9, 2009
Messages
926
can I ask where can I find unit has Skill in the conditions?
anyway + rep and thanks again for the help
 
Status
Not open for further replies.
Top