Skip to content

fix: npc and summons not casting#1551

Open
nightNR wants to merge 1 commit intoSphereserver:devfrom
nightNR:fix-npc-spellcasting-origin
Open

fix: npc and summons not casting#1551
nightNR wants to merge 1 commit intoSphereserver:devfrom
nightNR:fix-npc-spellcasting-origin

Conversation

@nightNR
Copy link
Copy Markdown

@nightNR nightNR commented Feb 4, 2026

The only time NPC spell loading from the spellbook is triggered is during script/worldsave loading, which is why summons and NPC's don’t cast spells.
With this change, spells are also loaded when the ON=@create trigger is called → TEVENTS → PETEVENTS (@create on the LINK ref), and then it attempts to load the spellbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant