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

Damage xInt xStr xAgi

Status
Not open for further replies.
Level 3
Joined
Aug 11, 2007
Messages
42
Hi i wonder if anyone could help me with making a Damage xInt xStr xAgi trigger or something for spells like if i use war stomp it deals 2x str and my str is 20 it deals 40 dmg

Would really like some help (anyone who helps me gets some more rep:grin:)
 
Level 5
Joined
Apr 16, 2005
Messages
153
Ok, I fished out a trigger from an old map i was making but it leaks a little bit. You need a region the size of the desired AoE.

  • Flame Hammer
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Dwarf - Flame Hammer
    • Actions
      • Wait 0.20 seconds
      • Advanced - Create a special effect circle around location (Position of (Target unit of ability being cast)) with radius 100.00 with 6 effects in total using model path Abilities\Spells\Other\Doom\DoomDeath.mdl and lasting 1.00 seconds
      • Rect - Center FlameHammah <gen> on (Position of (Target unit of ability being cast))
      • Unit Group - Pick every unit in (Units in FlameHammah <gen>) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A structure) Equal to False
              • ((Picked unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Unit - Order (Triggering unit) to damage (Picked unit) for ((Real((Strength of (Triggering unit) (Include bonuses)))) / 4.00) using attack type Spells and damage type Normal.
            • Else - Actions
 
Level 3
Joined
Aug 11, 2007
Messages
42
i cant find the /4.00 thing
only says damage intelligence
  • Unit - Cause (Triggering unit) to damage (Triggering unit), dealing (Real((Intelligence of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal
is it the value thing thats in the bottom? cus when i use it it only says ¨damage (real(4))) or something like tha



Nevermind found it thx fpo ur help anyways
 
i cant find the /4.00 thing
only says damage intelligence
  • Unit - Cause (Triggering unit) to damage (Triggering unit), dealing (Real((Intelligence of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal
is it the value thing thats in the bottom? cus when i use it it only says ¨damage (real(4))) or something like tha



Nevermind found it thx fpo ur help anyways

dont use that action, it damages allies too.
 
Status
Not open for further replies.
Top