Aller au contenu

Photo

Custom Spell Issue


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 880 messages
You'd think that after years of adding more than a hundred custom spells to my PW that I'd pretty much have everything figured out.  However, a recent spell I've added is having an issue that I've been unable to figure out myself.

The spell appears in-game just fine, can be added to the caster's spellbook, can be prepared and even quickslotted.  It works fine when cast from a scroll.  However, when a PC tries to cast the spell (from memorized slot), they get the message that they have no preparations left.

The 2da lines match up with many other spell entries (so there's nothing there that should be causing issues).  Other spells that draw on the exact same script function properly.

So, anyone else ever seen this?  And if so, how'd you figure out how to fix it?

#2
Shadooow

Shadooow
  • Members
  • 4 470 messages
This error message is shown if the player does not have the same spells.2da as server. Well more specifically its about TargetType collumn in spells.2da. If it doesn't match the spell cannot be cast.

In past players could exploit spells via this and cast eg polymorph self to enemy.

#3
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 880 messages
Thanks!