H
heyimnotnoob
Guest
I wanted to make a trigger that made it so every level you would get a certain precentage of your current gold given to you...
Unfortunatly, this did not work and at 100 gold, i still got none of this extra gold..help me...
EDIT: oh, here are the actions
Event: Player 12s food becomes 0 or less
Condition: Defeat Equal to false
Actions: set Gold(variable) = (player1 current gold) x (14/100)
I dont get ANY extra gold no matter how much gold i have...
What did i do wrong>??
oh and i added an action that says:
Add Gold(variable) to Player 1's current gold
and i made the gold variable an intiger.
what happend
Unfortunatly, this did not work and at 100 gold, i still got none of this extra gold..help me...
EDIT: oh, here are the actions
Event: Player 12s food becomes 0 or less
Condition: Defeat Equal to false
Actions: set Gold(variable) = (player1 current gold) x (14/100)
I dont get ANY extra gold no matter how much gold i have...
What did i do wrong>??
oh and i added an action that says:
Add Gold(variable) to Player 1's current gold
and i made the gold variable an intiger.
what happend


