Lesson 11 - Conditionals
- Enemy Stats-Based Magic
Shadowtext: This is the "Math Skill" from Tactics, basically. But you might remember some Blue Magic like "L5 Doom." Here's how ya' do it. Well, have you noticed that variables do not support decimnals? That's the key! You'll need two variables. Remember though, that monsters don't have levels naturally. So you'll have to use another stat. Here's the code:
Condition: Switch [0001: HP5doom] = ON
Comment: "Set the Variable [0003: Level] to the Enemy's Level"
Comment: "Loop this next part for however enemies there are."
Change Variable [0001: HP]: Set, (Enemy)- HP
Change Variable [0002: Storage] = [0003: Level]
Change Variable [0003: Level] / 5
Change Variable [0003: Level] * 5
ForkConditions [0003: Level]: [0002: Storage] Same
____Set Enemy's Condition:1:(Enemy)-> Normal
Master Mage: "These lectures are getting shorter and shorter. You apprentices need to ask more advanced questions! You see, you already know so much that I have to explain less."
Shadowtext: Yeah, I'm going to be out of a job soon. Anyway, I don't know what to do for the next lesson yet, but look for it.
||Lesson 11 - Conditionals|
|Enemy Stats-Based Magic|
|Jan 01, 2013|
|Page Views: 386|
|Written for: Rm2k|
|Related: Lesson 12 - Monster Binding|
- 0 Total Votes
You must be signed in to enter a comment for this game.