Hello Everyone and first of all thank you for reading this.
I have a Warrior class in my game and when he uses the Attack skill for the turn I want him to receive 1-5 "rage"
and of course, I want this variable to be random every time it is used.
What I have done:
I have a variable called RandomRageGain in my event initializing and the event is set on AutoRun and of course, afterward the Self Switch A trick.
In my "Attack" skill I have the following code:
Variable 1 = Rage
Variable 3 = RandomRageGain
The Problem:
So it does work but it randomly sets it ONE time and that's it, it won't run the RandomRageGain again so the variable will be constant
If you have any ideas about what my problem might be, Id be happy for suggestions.
Thank you again!
I have a Warrior class in my game and when he uses the Attack skill for the turn I want him to receive 1-5 "rage"
and of course, I want this variable to be random every time it is used.
What I have done:
I have a variable called RandomRageGain in my event initializing and the event is set on AutoRun and of course, afterward the Self Switch A trick.
In my "Attack" skill I have the following code:
Code:
<Custom Execution>
$gameVariables.setValue(1, $gameVariables.value(1) + $gameVariables.value(3));
</Custom Execution>
Variable 3 = RandomRageGain
The Problem:
So it does work but it randomly sets it ONE time and that's it, it won't run the RandomRageGain again so the variable will be constant
If you have any ideas about what my problem might be, Id be happy for suggestions.
Thank you again!