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

Help at Triggers!!!

Status
Not open for further replies.
Level 2
Joined
Mar 2, 2016
Messages
9
Hi

I want to make the skill more strong with intelligence.
Example: 1 intelligence do 10 Bonus damage in an abilitie.

Someone can help me to make triggers?
 
Level 14
Joined
Nov 30, 2013
Messages
926
Is this what you wanted?
If it's a Target ability.
  • Damage Target
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (What Targeting Ability)
    • Actions
      • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (10.00 x (Real((Intelligence of (Casting unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Or if it's a AoE ability.
  • Damage AoE
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (What AoE Ability)
    • Actions
      • Set TempGroup = (Units within (AoE Radius) of (Target point of ability being cast))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Casting unit) to damage (Picked unit), dealing (10.00 x (Real((Intelligence of (Casting unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_TempGroup)
Also, didn't you already create a several thread about this before?
 
Level 2
Joined
Mar 2, 2016
Messages
9
Is this what you wanted?
If it's a Target ability.
Damage Target
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (What Targeting Ability)
Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (10.00 x (Real((Intelligence of (Casting unit) (Include bonuses))))) damage of attack type Spells and damage type Normal

Or if it's a AoE ability.
Damage AoE
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (What AoE Ability)
Actions
Set TempGroup = (Units within (AoE Radius) of (Target point of ability being cast))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (10.00 x (Real((Intelligence of (Casting unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Custom script: call DestroyGroup(udg_TempGroup)

Also, didn't you already create a several thread about this before?
__________________


Thanks.
 
Status
Not open for further replies.
Top