How would I go about doing this? If a unit kills another unit, then the killing unit and all his allies WITHIN 900 of the killing unit will get a portion of the bounty. How do I detect the bounty given by a unit?
Also, I need to make sure that the units within 900 of the killing unit are HEROES that are ALLIES of the killing unit. So if there's one allied hero near the killing unit, then it will split the bounty in 2. If there's two allies, it will split in 3, etc.
Thanks
Also, I need to make sure that the units within 900 of the killing unit are HEROES that are ALLIES of the killing unit. So if there's one allied hero near the killing unit, then it will split the bounty in 2. If there's two allies, it will split in 3, etc.
Thanks