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

Player gains gold based on damage dealt to unit?

Status
Not open for further replies.
Level 3
Joined
Sep 1, 2010
Messages
53
Hey, I am looking for a trigger that gives gold to a player based on the damage he dealt to a unit
example: a unit gives 50 gold and haves 1000 hitpoints. Player 1 deals 200 damage and player 2 deals 800. so player 1 will gain 10 gold and player 2 will gain 40 gold! anyone knows something about that?
and an off-topic question, is there a JASS version for mac osx?
because there are a lot of jass systems that I would like to use, but can't use any of them due to this problem D:
thanks!
 
Status
Not open for further replies.
Top