Jump to content

1/2 Magic Attribute Item

Overview
Creator: Lelouche Vi Britannia Added: 28 Mar 2016 Tags: Item
Rating[?]: No rating
View Script
Information

Description Setup Reviews Comments

Be sure to add "include std.zh" to the top of the script file if you haven't already done so.

Create an item in the item editor and add this script to the "Pick Up Script" entry in the editor. Simple as that. You can even add the effect to the already existing Book of Magic (or any other already existing item) if you wanted to.

Optional: Create a string for item pick up and Set D0 to the string number if you are using a script that prints strings when you pick up items. If you are not using this function remove the "int m" from the "void run line" so it reads "void run ()" and also delete the "Screen->Message(m);" line from the script. Do not include the quotation marks.

The lines were included because item pickup string scripts also use the "pickup script" entry on the editor.