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

Skills

Status
Not open for further replies.
Level 3
Joined
Feb 21, 2012
Messages
38
Guys how to amke a skill which.lets say-

Frostbit(jst name)
Deals 600 damage + 0.7 * ur str

that is how to scale damage on ur current stats..................
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 067
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • Set r1 = (100.00 + (2.50 x (Real((Strength of (Triggering unit) (Include bonuses))))))
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing r1 damage of attack type Spells and damage type Normal
r1 is a real variable. Create it in variable editor.

Select new action, Set variable. To get the x + y, select Arithmetic from the function list. For the first part, set the base damage. For the other part, select arithmetic again. Set the value to be multiplied. For the other part, select Conversion - convert integer to real. Then select Hero - attribute.
 
Level 3
Joined
Feb 21, 2012
Messages
38
Thnaks i ahve another question

If the ability summons a unit
can u increase his hp and attack by like -
unit hp- 200+ 1.5*str of summoner
unit dmg = 20 + 0.2 * int of summoner
and unit armor = 2 + 0.09 *agi of summoner
 
Status
Not open for further replies.
Top