Jump to content


Nithus

Member Since 04 Mar 2011
Offline Last Active Mar 09 2011 02:40 AM

Topics I've Started

Changeclass -> sorcerer

04 March 2011 - 01:45 PM

Um.. hello everyone, newbie modder here.

I'm doing new kit and I wanted to ask if there is some way to change my base (Fighter) class (of that particular kit) to a sorcerer. (so that I can cast and gain spells per lvl)


I've tried ChangeClass script command in .baf, but it didn't worked.

---------------------------------------
IF
        Class(Myself,FIGHTER)
        Kit(Myself,Mykit1)
        Global("CHANGE","LOCALS",0)
        ActionListEmpty()
THEN
RESPONSE #100
ChangeClass(Myself,SORCERER)
ActionOverride(Myself, AddKit(Mykit2))
SetGlobal("CHANGE","LOCALS",1)
Continue()
END
---------------------------------------

Maybe I'm missing something.
Any ideas/corrections?