![]() |
NPC's Casting Necro Spells - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: NPC's Casting Necro Spells (/Thread-NPC-s-Casting-Necro-Spells) |
NPC's Casting Necro Spells - Lazarus - 09-17-2012 05:57 PM Hi! I have a little problem. My Liches, and liches Lord don't cast more hallu and fire_bolt and when I set a new NPC with spellbook and s_fire_bolt doesn't too... Maybe this is because that: // FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support I had desactivated this because i don't wanna see the new spellbooks in my paperdoll. Any ideas = )? RE: NPC's Casting Necro Spells - Skul - 09-18-2012 05:17 AM I have that feature disabled too and my liches cast s_hallucination. Look in sphere_spells.scp and look at [spell 70], see if there is anything different for that spell. If not, maybe your liche has a spellbook in it's backpack? If so, try removing it and adding an event with @spellselect to your liche as a means to manage which spells it can and can not cast. Unfortunately spells over circle 8 can not be casted from a spellbook, so if a spellbook is in the monster's backpack it will not try to cast anything over spell #64 (and firebolt and hallucination are both over spell #64). You CAN add a necromancer book with spells in it to allow any npc to cast necromancer spells. RE: NPC's Casting Necro Spells - Lazarus - 09-18-2012 05:45 AM (09-18-2012 05:17 AM)Skul Wrote: I have that feature disabled too and my liches cast s_hallucination. Look in sphere_spells.scp and look at [spell 70], see if there is anything different for that spell. If not, maybe your liche has a spellbook in it's backpack? If so, try removing it and adding an event with @spellselect to your liche as a means to manage which spells it can and can not cast. Unfortunately spells over circle 8 can not be casted from a spellbook, so if a spellbook is in the monster's backpack it will not try to cast anything over spell #64 (and firebolt and hallucination are both over spell #64). You CAN add a necromancer book with spells in it to allow any npc to cast necromancer spells. I had do this ITEMNEWBIE=i_spellbook_necromancy ADDSPELL=s_fire_bolt and doesn't work... How can I set the spellselect? on=@spellselect doswitch argn1 argn1 argn1 argn1 ? I had do that in SPELLCAST Code: on=@spellcast [Thanks to darksun84 ![]() RE: NPC's Casting Necro Spells - Skul - 09-19-2012 06:24 AM That's not what I was trying to explain. What I meant was remove the spellbook entirely. s_fire_bolt is not a necromancy spell, so it will not be included inside any spellbook. Use @spellselect to control which spell the monster casts. Example: Code: on=@spellselect |