Lesson 14 - Coin Toss
- Magic Money!
Shadowtext: This isn't really your area.
Master Mage: "I realize that. But you need me."
Shadowtext: Whatever. Okay, I think percentages are the best way to do this.
Battle Event "Coin Toss"
Condition: Switch."ThrowCoins" = ON
vGP = Other.Money
vGP = vGP / 10
Comment: "10% of your gold is thrown this way. You might"
Comment: "want to reduce that, or make it absolute."
ForkCondition vGP 1000 Bigger
____vGP = 1000
vGPLost = vGPLost + vGP
Comment: "That is how you lose the money."
vGP = vGP * Hero.(Thrower).Level
Comment: "You won't be able to choose the enemy."
Comment: "You can make up a way to hit them all, though."
Switch."ThrowCoins" = OFF
Master Mage: "Losing the money, though?"
Shadowtext: Glad you reminded me. This is out-of-battle.
Common (Parrallel Process) Event "GoldLoss."
Condition:Variable.vGPLost 0 Above
vGPLost = 0
Master Mage: "See? You needed me to remind you."
Shadowtext: Fine, you keep your job.
Master Mage: "Hey, remember, you are but a Journeyman! I outrank you."
Shadowtext: Fine. So I am still your underling. It hardly matters.
||Lesson 14 - Coin Toss|
|Jan 01, 2013|
|Page Views: 383|
|Written for: Rm2k|
|Related: Lesson 15 - Counterspells|
- 0 Total Votes
You must be signed in to enter a comment for this game.