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

Trigger Problem

Status
Not open for further replies.
Level 1
Joined
Oct 10, 2010
Messages
3
Hi i need a quick answer...

What ive done so far..
  • <Trigger Name Here>
    • Events
    • Unit - A unit begins effect of a spell
    • Conditions
    • (Ability being cast) equal to <Your Ability Here>
    • Actions
    • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Real((Intelligence of (Triggering unit) (Include bonuses)))) damage of attack type Spell and damag
I want to make, but cant...
  • <Trigger Name Here>
    • Events
    • Unit - A unit begins effect of a spell
    • Conditions
    • (Ability being cast) equal to <Your Ability Here>
    • Actions
    • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (1.00 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spell and damag
How can i make 1.00 x, have the trigger but i want to could make 2.00 x and 3.00 x:vw_wtf:
 
Last edited:
Level 15
Joined
Jul 6, 2009
Messages
889
I'm going to assume you want the ability to deal damage based on your intelligence, the multiplier being equivalent to the ability's level? In that case, you would simply do something like this:

  • Unit - Cause (Triggering unit) to damage (Triggering unit), dealing ((Real((Level of (Ability being cast) for (Triggering unit)))) x (Real((Strength of No unit (Include bonuses))))) damage of attack type Spells and damage type Normal
 
Status
Not open for further replies.
Top