- Joined
- Jun 18, 2013
- Messages
- 129
- Reaction score
- 14
- First Language
- English
- Primarily Uses
- RMMV
I have multiple common events being called for certain functions in my game. One which checks the player's given dexterity that I want to be able to add to with equip-able armor etc.
The trouble is instead of adding it just once every time it is checked it adds 2, I wanted to know if there is a way to fix this?
The trouble is instead of adding it just once every time it is checked it adds 2, I wanted to know if there is a way to fix this?
Code:
◆If:player has equipped Thief Gloves
◆Control Variables:#0043 Dex += 2
◆Control Switches:#0013 ThiefGloves = ON
◆
:Else
◆If:ThiefGloves is OFF
◆Jump to Label:Scan
◆
:End
◆Control Switches:#0013 ThiefGloves = OFF
◆Control Variables:#0043 Dex -= 2
◆
:End
◆Label:Scan

