Lesson 5 - Artificial Magic
- Equipment-based Magic
Shadowtext: Well, anyway, it'll take skill.
Master Mage: "Okay. Now I hope you brought your magical artifacts. I have the Cauldron of Rebirth, so I will learn the spell from it.
Shadowtext: There are several different ways of learning. We'll start with the "Equipped Learn." This method will allow you to cast the spell while this item's equipped, and you'll learn the spell through experience.
You'll need two common events per artifact, an Initiation, and a "Learn" event.
Common Event, Parallel Process: "Initiate Cauldron"
Comment: "The item "Cauldron" is item #1 for the purposes"
Comment: "of this tutorial. It will be different for"
Comment: "whatever Item # you make your item."
Comment: "Skip the "Add Spell" Fork, and put it at"
Comment: "The Level Up event if you don't want it to"
Comment: "Be available yet."
vItem = Hero.[Person(s)toCheck].Other_No.
ForkConditions vItem = 1
____Switch CauldronEquipped = ON
____ForkConditions vCauldronLevel 1 same
________ChangeSkill.[ChosenCharacter(s)].Rebirth Add
____End Case
Else
____ForkConditions vCauldronLevel 1 same
________ChangeSkill.[ChosenCharacter(s)].Rebirth Remove
____End Case
End Case
Wait 01 x 0 .1 sec
Shadowtext: Now for what happens when it's on. Now we must check if it is the first turn it's been equipped. We also need to make the amount of experience (or Tech Points if you're making each monster give some.) This is also the way to level up Items, so I'll explain that, as well.
Common Event, Parallel Process "ExperienceCheck_Cauldron"
ForkConditions Switch."FirstRun" = OFF
____vStartingExperience = Hero.[ChosenCharacter(s)].Exp
____vStartingExperience = vStartingExperience - vCauldronExp
____Comment: "This above part makes sure if it is being"
____Comment: "Re-equipped, it retains its old exp. Just"
____Comment: "Set vCauldronExp to 0 in your Intro Event."
____Switch."FirstRun" = ON
End Case
vExperience = Hero.[ChosenCharacter(s)].Exp
vExperience = vExperience - vStartingExperience
vCauldronExp = vExperience
ForkConditions vCauldronExp 5000 Above
Comment: "Remember this fork."
____ForkConditions vCauldronLevel 1 Same
________Message: "You have mastered the spell 'Rebirth!'"
________vCauldronLevel = 2
____End Case
End Case
Comment: "Just add more here if you have more spells/levels"
Wait 1 x 0.1 sec
Master Mage: "So now you can learn from items.
Shadowtext: But what if you want the item above to level up differently? What if you want it to be replaced with a more powerful item at level up? That's simplicity itself. Did you remember the Fork I told you to? Well, change it to do this.
____ForkConditions vCauldronLevel 1 Same
________Message: "The Cauldron has leveled up!"
________Message: "The Cauldron became the Chalice!"
________ChangeEquipment.[ChosenCharacter(s)].Change Chalice
________AddItem.DropItem.Cauldron 1
________vCauldronLevel = 2
____End Case
Shadowtext: Just be sure that the "Chalice" is the same Type as the "Cauldron." Now it has upgraded.
Master Mage: "Although, why one needs such a smart artifact, I'll never know.
Shadowtext: Well, you don't fight horrendous enemies, you teach. Remember, "If you can, do. If you can't, teach."
Master Mage: "Shaddup."
![]() |
Lesson 5 - Artificial Magic |
| Equipment-based Magic | |
| Shadowtext | |
| Jan 01, 2013 | |
| Page Views: 492 | |
| Written for: Rm2k | |
| Related: Lesson 6 - Condition Masks |
Public Rating
- N/A
- 0 Total Votes
Comments
You must be signed in to enter a comment for this game.
