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

Abnormal Frenzy Problem

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
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
 
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
927
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