Hi guys, since I'm still learning scripting (although like a slowpoke), I need some help with a little snippet here. Anyone remembers the Point Card item from Legend of Legaia?
The effect in question is "Earn points worth 5% of the price when you shop."
Basically I need a script that does the same thing, everytime the player buys or sells something in a shop, the script will store a determinate percentage value of the money spent (or earned) in a variable and then convert this value into an integer number (damage points) to be added each time to the card. (accumulating the points till you use the item in battle)
When you use the Point Card in battle, you will damage the enemy with the earned points, and then the points will reset to 0.
I hope I explained myself, a million of thanks to those who will do to me this little favor.
You will also be fully credited and thanked in the credits of my game.
The effect in question is "Earn points worth 5% of the price when you shop."
Basically I need a script that does the same thing, everytime the player buys or sells something in a shop, the script will store a determinate percentage value of the money spent (or earned) in a variable and then convert this value into an integer number (damage points) to be added each time to the card. (accumulating the points till you use the item in battle)
When you use the Point Card in battle, you will damage the enemy with the earned points, and then the points will reset to 0.
I hope I explained myself, a million of thanks to those who will do to me this little favor.
You will also be fully credited and thanked in the credits of my game.