So I'm attempting to make it so that armor you have equipped changed depending on your skill level. For this example the variable would be stored as variable 1. In the armor notetag using Yanfly's equip core plugin I've used:
<Custom Parameters>
def = def / $gameVariables.value(1) ;
</Custom Parameters>
The goal here would be to have say a piece of armor that gives 100 def, when game variable1 = 4 it would divide by 4, thus giving the player only 25 defense from that piece of armor. Unfortunately I must have the syntax wrong or something, because as is, this doesn't do anything.
Anyone have any clue as to what might be going on?
<Custom Parameters>
def = def / $gameVariables.value(1) ;
</Custom Parameters>
The goal here would be to have say a piece of armor that gives 100 def, when game variable1 = 4 it would divide by 4, thus giving the player only 25 defense from that piece of armor. Unfortunately I must have the syntax wrong or something, because as is, this doesn't do anything.
Anyone have any clue as to what might be going on?