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

Me again sorry, Difficult triggers

Status
Not open for further replies.
Level 4
Joined
Jul 28, 2004
Messages
43
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?
 
Level 7
Joined
Mar 26, 2004
Messages
350
u have to create an "own" critical strike. create one real-variable, then use triggers:
Code:
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.
 
Status
Not open for further replies.
Top