Re: Forcing the players to learn spells before using them.
Posted: Tue Sep 02, 2014 12:07 pm
This is totaly awesome. However I seem to have 1 problem,
I made a new spell in the spells.lua. It works fine. Also it has to be learned before it can be cast. However the scroll assigned to that new spell doesn't work. The mage refuses to learn the scroll, I also get no hud text like: "has learned the spell" or ".. isn't skillful enough to learn this spell"
The code/command in the scrip does reconize it with "newspell = 0" or "newspell = 1" ( 0 = not learned, 1 = learned by scroll, wich refuses now)
Any idea what I am doing wrong?
Ps: forgive my lack in English.
I made a new spell in the spells.lua. It works fine. Also it has to be learned before it can be cast. However the scroll assigned to that new spell doesn't work. The mage refuses to learn the scroll, I also get no hud text like: "has learned the spell" or ".. isn't skillful enough to learn this spell"
The code/command in the scrip does reconize it with "newspell = 0" or "newspell = 1" ( 0 = not learned, 1 = learned by scroll, wich refuses now)
Any idea what I am doing wrong?
Ps: forgive my lack in English.