How do i make it so that when a player levels they are given that skill for the specific level automatically into there spell collection at level 1 2 or 3.
Thanks.
Thanks.
[@LevelUp]
#IF
CHECKLEVELEX = 7
#ACT
GOTO @Spell
#IF
CHECKLEVELEX = 22
#ACT
GOTO @spell
[@Spell]
#IF
Checkjob Wizard
#ACT
Goto @wiz
#IF
Checkjob Warrior
#ACT
Goto @war
#IF
Checkjob Taoist
#ACT
Goto @tao
[@Wiz]
#IF
CHECKLEVELEX = 7
#ACT
ADDSKILL Fireball 3
sendmsg 6 "<$USERNAME> you have learned Fireball".
Break
#IF
CHECKLEVELEX = 22
ADDSKILL FireWall 3
sendmsg 6 "<$USERNAME> you have learned Firewall".
Break
i think something like
gmexecute training (pointer to $username) skillname level
into the qfunction after it checks the level will do but i must see what the hell u need to make it point to the correct username of the player.. maybe using simply <$USERNAME> will work but it must be tryed..
try adding after the checklevelex this
gmexecute training <$USERNAME> flamefield 3
and see what it does