• 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] +Dmg to spells when having more Int.

Status
Not open for further replies.
Level 6
Joined
Jul 28, 2009
Messages
143
Hallo! I whant to now how i can do this, When you have more Int on your hero your "spell"(ex. Warstomp) will give more Dmg like, when you have 3int warstopmp will deal 30Dmg and when you have 6Int warstopmp will deal 60Dmg.

Plzz HELP xD



//Blek121 (Srry for bad eng...Im from Sweden)
 
  • Trg
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Warstomp
  • Actions
    • Set Point1 = (Position of (Triggering unit))
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units within 400.00 of (Point1) matching ((Matching unit) belongs to an enemy of (Owner of (Triggering unit)) Equal to True) and ((Matching unit) is a structure) Equal to False) and do (Actions)
      • Loop - Actions
        • Unit - Cause (Triggering unit) to damage (Picked unit) dealing ((Real(Integer of (Triggering unit) (Include bonuses))*10) damage of Attack type Spells and Damage type Normal
    • Custom script: call RemoveLocation (udg_Point1)
 
Level 6
Joined
Jul 28, 2009
Messages
143
.

  • Trg
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Warstomp
  • Actions
    • Set Point1 = (Position of (Triggering unit))
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units within 400.00 of (Point1) matching ((Matching unit) belongs to an enemy of (Owner of (Triggering unit)) Equal to True) and ((Matching unit) is a structure) Equal to False) and do (Actions)
      • Loop - Actions
        • Unit - Cause (Triggering unit) to damage (Picked unit) dealing ((Real(Integer of (Triggering unit) (Include bonuses))*10) damage of Attack type Spells and Damage type Normal
    • Custom script: call RemoveLocation (udg_Point1)

Thx Man! :thumbs_up:
 
Status
Not open for further replies.
Top