![]() |
How Do I Use More1 & More2 In a Char Script To Give Char Spells - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions) +--- Forum: Sphere 51a Help (/Forum-Sphere-51a-Help) +--- Thread: How Do I Use More1 & More2 In a Char Script To Give Char Spells (/Thread-How-Do-I-Use-More1-More2-In-a-Char-Script-To-Give-Char-Spells) |
How Do I Use More1 & More2 In a Char Script To Give Char Spells - Admin Drew - 07-21-2013 06:52 AM Hi trying to figure out how do I use more1 and more2 in a new character script to give a monster spells. What is the formula for setting more1 and more2? I have a script for one monster that just has item=spellbook and more1 and more2 set with a number sequence and it makes the monster teleport on enemy and cast summon earth ele and other spells but I can't figure out how they set the more1 and more2 to get it to do so. I always thought you had to do the spellcircles= and give it reagents for the spells you want it to cast, but this script doesn't have that at all and no regs and it still casts, but I have no idea how to set it to do so. I want to set it to cast spells like summon undead, hallu, necro spells and such plus teleport & more.. Thanks! RE: How Do I Use More1 & More2 In a Char Script To Give Char Spells - RanXerox - 07-22-2013 02:08 AM On spellbooks, MORE1 and MORE2 are bitmasks for the various spells. MORE1 is the first 32 spells covering circle 1-4, and MORE2 is the last 32 spells (circles 5-8). If you don't know what bitmasks are, try this tutorial: http://teaching.idallen.com/cst8214/08w/notes/bit_operations.txt RE: How Do I Use More1 & More2 In a Char Script To Give Char Spells - sus - 10-02-2013 08:35 PM Create a clean spellbook, add scrolls that you want in it. Then use .xshow more1 and more2 to spellbook, write the numbers, add it to your script. RE: How Do I Use More1 & More2 In a Char Script To Give Char Spells - Extreme - 10-02-2013 11:00 PM PHP Code: [FUNCTION SETSPELLS] Where x,y,z,..,z are the spell numbers. Example: SETSPELLS 1,2,3,4,5 RE: How Do I Use More1 & More2 In a Char Script To Give Char Spells - Mordaunt - 10-02-2013 11:23 PM Firstly: @Extreme this is 51a Secondly: Why drag up old threads by giving the same answer as has already been given? RE: How Do I Use More1 & More2 In a Char Script To Give Char Spells - Extreme - 10-02-2013 11:37 PM Oh crap Sorry :/ That guy 'sus' that resurrects the thread, not me ¬¬ |