SphereCommunity
Full spellbook - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere X (/Forum-Sphere-X)
+--- Forum: Script Submissions (/Forum-Script-Submissions--61)
+--- Thread: Full spellbook (/Thread-Full-spellbook)



Full spellbook - ISOcol - 08-28-2022 07:38 AM

// Spellbook from Discord.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// full spellbook:
// .add i_spellbook
// .xmore1=0ffffffff // spells for first 4 spell circles
// .xmore2=0ffffffff // spells for the last 4 spell circles

[FUNCTION fullspellbook]
serv.newitem i_spellbook
NEW.MORE1=0ffffffff
NEW.MORE2=0ffffffff
NEW.attr=attr_magic
NEW.attr=attr_newbie
NEW.BOUNCE
// NEW.attr=attr_magic|attr_newbie

[itemdef i_fullspellbook]
id=i_spellbook
name=Full Spellbook
type=t_spellbook
value=0
CATEGORY=111
SUBSECTION=Book
DESCRIPTION=Full Spellbook

on=@create
name=Spellbook
attr=attr_magic|attr_newbie
more1=0ffffffff
more2=0ffffffff


//////
also
NEW.attr=attr_magic|attr_newbie
NEW.addspell s_lightning