• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Learn Spells on Level up.

mcraider

Illustrious Member
Hey! so i recently started using trinity and Eluna and started converting some of my scripts to eluna over from arcemu's lua engine and i am releasing my Learn Spells on level up Scripts.

it checks what class you are. than checks for your level. if you have spells for that level it teachs them you to. it doesn't teach quest spells or talents.

Warrior - http://pastebin.com/XqJgqLM2
Pally - http://pastebin.com/ifJMkW1b
Hunter - http://pastebin.com/vrVbdzHB
Druid - http://pastebin.com/MWyn2J4e
Warlock - http://pastebin.com/n8qmvxT4
Mage - http://pastebin.com/cKttMYyc
Priest - http://pastebin.com/izMjHHjb
Shaman - http://pastebin.com/9XuvWmTi
Rogue - http://pastebin.com/w6VM6uXg
Death Knight - http://pastebin.com/bDEwmw8C

tested and working on the newest compile of trinity with Eluna
 

Tommy

Founder
The scripts could be simplified and cleaned up by using an array, but thanks for sharing this with us nonetheless.
 

Rochet2

Moderator / Eluna Dev
Note
I am rather sure using multiple scripts from this release will collide since the functions use the same name and are global.
This can be fixed by making the functions local.

It would be suggested to make use of tables :)
 
Top