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

How to increase evasion chance based on hero INT ?????

Status
Not open for further replies.
Level 3
Joined
Mar 27, 2006
Messages
29
cud sm1 pls tell me how to create an evasion spell which takes a percentage of INT as evasion chance(similar to silencers glaive) ??
 
Level 9
Joined
Jul 27, 2006
Messages
652
i think i can help

heres what you need to do...
1. work out a integer system according to int(e.g 10 int 2 % chance)
2.Create a dummy ability for evasion e.g a item ability that will be the ACTUAL evasion.
3.Create a view able(Hero) ability for evasion.
4.Create a Trigger that has the event unit is attacked
5.Add the condition that triggering unit has ability ( level of (ability) is greater than 0)
Note: Make sure this is your Hero ability.
6.This is the major flaw... You need a level for each % chance to Dodge...
7.Add these 2 actions to your trigger....
If level of (dummy) is = 0 add ability (dummy) to triggering unit
Set level of ability (dummy) to (formula)

So what happens now is that when the unit with this ability is attacked it will set the chance to dodge to what you specified…
If this doesn’t work and if you don’t mind send me your map at [email protected] and I’ll do it for you…
 
Status
Not open for further replies.
Top