I know this is old, but Thankyou so much
I know this is old, but Thankyou so much
I agree with AzolexX, it'd be easier to lookup spells in database and learn those.
+Rep for the effort! That must've taken hours
Why do I need a signature?
You did a very nice job on this script, but usually database is the way to go man. +Rep
Immortal GamerZ Under Development!
Really awesomeWill be usefull!
Thanks, +Rep to you :P
Why dont warrior and paladins learn plates and hunters dosnt learn Mail and no maill tho for Shamans... =(
how can i make it: when you make new char to be with normal spells adn wen you become level 80 (high rate realm) to go in mall and click on npc to learn all spells. so i mean how to make it to learn when you talk to npc somethink likei don't know how to code it so if you can make it and send me on pm i will credit you in my serverlocal prace = player:GetPlayerRace()
pUnit:GossipCreateMenu(3544, player, 0)
pUnit:GossipMenuAddItem(0, "Learn all spells for your class", 1, 0)
end
if (intid == 1, player:GetPlayerClass() == "Warrior") then
player:LearnSpell(6673) -- Battle Shout 1
end![]()
Would it be possible to instead read a table with an SQL query, then put the results in an array, and just iterate through the array?