[RM2K3] INCREASING A VARIABLE BY # OF TIMES A SPELL IS CAST
Posts
Pages:
1
Hey everyone.
I have come up with the idea for a magic system where the main character learns magic the more he casts a spell. Per every spell cast, it increases the variable by 1 until the spell is learned. My problem is that I am wondering if there is a way to track the number of times a spell is used so that I can assign a variable, let's say the Elemental EXP, so that it increases.
I have come up with the idea for a magic system where the main character learns magic the more he casts a spell. Per every spell cast, it increases the variable by 1 until the spell is learned. My problem is that I am wondering if there is a way to track the number of times a spell is used so that I can assign a variable, let's say the Elemental EXP, so that it increases.
author=BaconAndEgg
Assuming you are asking for help on that...
I haven't tested this yet, but it pretty much looks like this.
I'm sure there are better ways but this is the only thing I can think of off the top of my head.
Cheers.
I have considered that BaconAndEgg but I'd suppose it works better with weapon skills. I mean let's say casting Fire x amount of times leads to learning Fira.
Pages:
1

















