- Joined
- Dec 6, 2010
- Messages
- 153
I am making a bounty system.
So a neutral hostile has a chance to drop an item called bounty.
There are 5 bounty items.
Bounty level 1
Bounty level 2
...
Bounty level 5
Neutral Hostile doesn't give you gold when killed right away, instead they drop one of these items based on the level of the creep.
Then, you transfer those bounty items to a unit called "Bounty Table".
The Bounty Table now has the bounty item on his inventory.
and when the Bounty Table is targeted with the "interact" ability
Events - A unit starts the effects of an ability
The Bounty Table should destroy the Bounty Item and give the casting unit gold based on
(Bounty Level x multiplied by 25) + Intelligence of Triggering Unit.
The Question is, what condition do i use to check if the bounty table has a bounty item.
So a neutral hostile has a chance to drop an item called bounty.
There are 5 bounty items.
Bounty level 1
Bounty level 2
...
Bounty level 5
Neutral Hostile doesn't give you gold when killed right away, instead they drop one of these items based on the level of the creep.
Then, you transfer those bounty items to a unit called "Bounty Table".
The Bounty Table now has the bounty item on his inventory.
and when the Bounty Table is targeted with the "interact" ability
Events - A unit starts the effects of an ability
The Bounty Table should destroy the Bounty Item and give the casting unit gold based on
(Bounty Level x multiplied by 25) + Intelligence of Triggering Unit.
The Question is, what condition do i use to check if the bounty table has a bounty item.