Itachis original one:
Heres an alternative way to do it, this reduces lag (tested in the 3 main types of battle systems, SBS, ABS, and TBS)
I'm going to edit this in a few with a variable involved, to make it a bit harder to get skills.
Itachi62;316032 said:Introduction
This allows you to have tomes (or whatever you make them) teach you skills.
Demo
Download here.
Instructions
You will have to make another conditional branch for each character, like to add Gloria so she can learn the skill, add another conditional branch like the existing ones, but replace the actor in them with Gloria. Like this:
CompatibilityCode:[COLOR=Blue]@>Conditional Branch: [Gloria] is [Tome of Fireball] inflicted[/COLOR] [COLOR=Blue]@>Conditional Branch: [Gloria] is [Fireball] learned[/COLOR] @>Text: Gloria has already learned this skill. [COLOR=DeepSkyBlue]@>Change State: [Gloria], - [Tome of Fireball][/COLOR] [COLOR=Blue]@>Exit Event Processing[/COLOR] @> [COLOR=Blue]Else[/COLOR] @>Gloria learned Fireball! [COLOR=DeepSkyBlue]@>Change Skills: [Gloria] + [Fire][/COLOR] [COLOR=DeepSkyBlue]@>Change State: [Gloria], - [Tome of Fireball][/COLOR] [COLOR=Blue]@>Exit Event Processing[/COLOR] @> [COLOR=Blue]Branch End Else Branch End[/COLOR]
Works with the default battle system for sure, not tested with other battle systems. Edit: Works with all battle systems, but the monsters can attack you while the text is there with an ABS.
Thanks To
xephyr14 for the idea.
Heres an alternative way to do it, this reduces lag (tested in the 3 main types of battle systems, SBS, ABS, and TBS)
Code:
[COLOR=Blue]@>Conditional Branch: [Gloria] is [Tome of Fireball] inflicted[/COLOR]
[COLOR=Blue]@>Conditional Branch: [Gloria] is [Fireball] learned[/COLOR]
@>Text: Gloria has already learned this skill.
[COLOR=DeepSkyBlue]@>Change State: [Gloria], - [Tome of Fireball][/COLOR]
[COLOR=Red]@>Jump to Label: End[/COLOR]
@>
[COLOR=Blue]Else[/COLOR]
@> Conditional Branch: [Variable:0001: FireballGlor] = 5
@>Gloria learned Fireball!
[COLOR=DeepSkyBlue]@>Change Skills: [Gloria] + [Fire][/COLOR]
[COLOR=DeepSkyBlue]@>Change State: [Gloria], - [Tome of Fireball][/COLOR]
[COLOR=Red]@>Jump to Label: End[/COLOR]
@>
Else
Text: Your power is to small to learn this yet.
[COLOR=Blue]Branch End
Else
Branch End
Label: End[/COLOR]
I'm going to edit this in a few with a variable involved, to make it a bit harder to get skills.