I was trying to find a way to make a variable accumulate over time as different one-time quests are completed. For example, if a battle is done when a player is fairly low level compared to the boss, giving the stat "valor" to the player. As he does more and more acts that are courageous, that "valor" variable goes up.
If I was to do this, would I do something like this...?
Code:
if %actor.varexists(blackspot_valor)%
if %actor.varexists(valor)%
set valtemp %valor%
eval valor (%valtemp% + 1)
remote valor %actor.id%
else
set valor 1
remote valor %actor.id%
end
Or am I treating this too much like computer code? Seems like there should be a way to do this...