Warcraft III resources & community, 2003–2006 · archived

Me again sorry, Difficult triggers

2 posts
#1

Me again sorry, Difficult triggers

in my map, i have a LeaderBoard that counts the kills that u have, also, all my chars have critic strike, ok, the trigger that i want must improve the chances to do more damage when the leaderboard has more points: 0.1% eacch point
Any suggestion?
#2
u have to create an "own" critical strike. create one real-variable, then use triggers:
event - unit attacks
condition - 
set "realvariable" = random real number between 1-100
if "realvariable" smaller than or equal to 15, do
   if actions - set life of attacked unit to life of attacked unit - "multiboard value"/100 * (e.g.) 1000


"multiboard value"/ is the variable, which u use to actualize the multiboard

as i will travel tomorrow to switzerland, i won't have time to answer further question, ask The_Raven or whitenight instead.