I have a worker unit i want to allow only workers to harvest woods and rocks, this is done by hitting a rock/tree until it dies.
the thing i need help with is:
how do i know what type of unit attacked and killed the dooded (so i can limit it only to workers)?
also, is there a way that i can manage the amount of damage the worker inflects to the tree or rock, and only for them, based on items/upgrades he has?
the thing i need help with is:
how do i know what type of unit attacked and killed the dooded (so i can limit it only to workers)?
also, is there a way that i can manage the amount of damage the worker inflects to the tree or rock, and only for them, based on items/upgrades he has?