• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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