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!
hi...can anyone show me an trigger which intelect...or strengh increse the skill dmg...i means...my intelect is 1000 and my skill dmg is 1000....if i have 1000 intelect, my skill need to give 2000 dmg...please help me!
If i get it, you need to set it like when you get +1 intelect (strenght) you get +2 damage?
If so, you need to improve Strenght bonus damage in advanced options in editor in your map, you'll find it there.
no...i said skill dmg...ok a exmp...WarStomp...has 1000 damage...and my intelect is equal to 0....if my intelect is equal to 1000 my WarStomp has 2000 damage...1000 skill dmg + all my intelect(1000).=2000 damage...
You'd have to deal the modified damage via trigger. You can read out a unit's current intelligence with the integer function Hero - Hero Attribute and deal damage by the action Unit - Damage Target.
i want trigger of this function...i dont know what event...condition and action to put into the trigger to do what i want...please reply me with trigger...
ok... what is wrong with my trigger...i did it to understand what i want to say....
Event - A unit Begins casting an ability
Condition - (Ability being cast) Equal to StormBolt
Action - If-condition - Strength of (Casting unit)(Exclude bonuses) Equal to 2000
-Then-actions
-Else-Actions - Unit - Cause (Target unit of ability being cast) to damage (Target unit of issued order), dealing 2000.00 damage of attack type Spells and damage type Normal.
Then i have on my hero 2000 str increase my skill dmg... my skill dmg has 1000+2000 dmg from strentgh.
Your trigger will only run its actions if your hero has a base strength (excluding items/abilities) of excactly 2000. For example, If your hero has 1974 or 2001 strengththe trigger would not run.
If you wish to just add a stat to the damage than the condition is not needed
Unit - Cause (Target unit of ability being cast) to damage (Target unit of issued order), dealing 2000.00 damage of attack type Spells and damage type Normal.
Will not work the way you think it does. Target unit of ability being cast is the unit that is targeted (damaged) by the spell, however it would need to be the caster of the spell. Target of unit of issued order might not work as a response to an Ability cast event.
Also use A Unit Starts the effect of an ability instead of Begins casting an Ability, because otherwise a targeted unit will still take damage from a spell even if the user cancels an ability before it consumes mana/starts cooldown
Bonus Damage Trg
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Real((Strength of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal
should work, use Exclude bonuses if you do not want to gain extra damage from Strength obtained through items or abilities.
Test map has been attached
This spell does a 50 base damage + INT of the caster to the targeted unit
Floating Text shows the damage value of the bonus damage
Press ESC to increase the caster's INT by 1 per press
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.