Hello people, my building has a behavior (Buff) that triggers an effect (Modify Player) every X seconds, giving the player Y minerals. But what I want is that the amount of minerals received is based on the amount of energy the building has. Example: Building has 3 energy and I want to receive 2 minerals for every energy I would get 6 minerals.
Anyone knows how to do this?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello people, my building has a behavior (Buff) that triggers an effect (Modify Player) every X seconds, giving the player Y minerals. But what I want is that the amount of minerals received is based on the amount of energy the building has. Example: Building has 3 energy and I want to receive 2 minerals for every energy I would get 6 minerals.
Anyone knows how to do this?