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

[General] changing bounty?

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,611
The bounty that you get from heroes in dota depends on current level/spree of the dying enemy.
just do a formula for that, just like:

  • Player - Increase YourPlayer's Gold by ( 200 + ( 15 x level of enemy ) + ( 25 x KillSpree of enemy ) )
 
Hope this helps stan0033

[trigger=]
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Set value = (200 + (15 x (Hero level of (Dying unit))))
Floating Text - Create floating text that reads (String(value)) above (Dying unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
[/trigger]


It looks too simple to bother attaching a demo map, let me know if you need one though.
 
Status
Not open for further replies.
Top