- Joined
- Dec 15, 2019
- Messages
- 11
Hello folks !
I want to create a spell very similar to the vanilla ability Gather which allows, as everyone knows, a peasant to gather wood (and gold but it's not important there). But I want this spell to be purely cosmetic. I want my peasants to go to the nearest tree, to hit it with their axes, to go back to the lumber mill and to do it again but without giving any lumber to the player (purely cosmetic).
I am looking for an answer for 4h now and I know how to use Jass so don't hesitate to give me complicated leads.
Thanks in advance !
[EDIT]
Here is what I've already tried :
I want to create a spell very similar to the vanilla ability Gather which allows, as everyone knows, a peasant to gather wood (and gold but it's not important there). But I want this spell to be purely cosmetic. I want my peasants to go to the nearest tree, to hit it with their axes, to go back to the lumber mill and to do it again but without giving any lumber to the player (purely cosmetic).
I am looking for an answer for 4h now and I know how to use Jass so don't hesitate to give me complicated leads.
Thanks in advance !
[EDIT]
Here is what I've already tried :
- Set the Damage To Tree to 0 and/or the Wood Capacity to 0 (The peasant can no longer target the trees)
- Create a trigger which detects when a tree is attacked (There is no A Destructable is attacked event)
Last edited: