Zehlendorf Posted March 16, 2017 Share Posted March 16, 2017 Hello, maybe someone know how to make a custom spell mount like celestial steed or invincible's, I was trying for days but didnt work, also I added the spells in spell_generic.cpp and still didnt work, need help . Thanks in advance. Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 did you added the sql ? spell_script_names Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 Hello thanks for reply, yeah, this is the way I make the spells 1) I just copy the row of celestial steed spell, 100% spell, 310%spell, in total three spells and just replace the creature display and icon. 2) I add this in spell_generic.cpp SPELL_TORMENT_100 = 90020, SPELL_TORMENT_310 =90021 new spell_gen_mount("torment", 0, SPELL_TORMENT_100, SPELL_TORMENT_310); 3) I add in spell_script_names 90019 SPELL_TORMENT The spell 90019 its like the spell 75614 for celestial steed that its replaceable with 90020 or 90021 depends in the zone. I think my problem its in spell.dbc, maybe I should change some value, dunno, still trying!. Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 i did it yesterday it worked wel.. I Copied Invincible Mount Spells it had 4 differents rows. my .cpp look like this new spell_gen_mount("spell_Volcanic_Stone_Drake", 0, 1088331, 2088331, 3088331, 4088331); and my SQL INSERT INTO `Spell_Script_Names` VALUES (88331,"spell_Volcanic_Stone_Drake"); "88331" is the original spell. "1088331"+ is the variants Don't forget to recompile / restart / delete cache ! Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 hmmm so.. maybe its the spell or the quantity of spells, because I just use two (100%,310%), another thing maybe Im missed?. Thanks! Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 do you have the "main spell" that cast the others ? Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 Of course 90019 SPELL_TORMENT its the main spells that calls the others two spells! :C Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 should be 90019 torment and not 90019 spell_torment Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 yeah 90019 its spell_id and spell_torment its the ScriptName. it is correct I think. Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 new spell_gen_mount("torment", 0, SPELL_TORMENT_100, SPELL_TORMENT_310); "torment" is what you have to put in spell_script_name as scriptname Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 XD! Ok I change it, but now it doesnt apply any spell in azeroth "it says incorrect zone" and in shattrath it works, but doesnt change to the spell 310% just cast the main spell 90019, I need all spells I think, 60,100,150,280,310 to get it working.. or what should I change? Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 Yes copy all the spells. Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 Ok I will try, thanks :D! Link to comment Share on other sites More sharing options...
Callmephil Posted March 16, 2017 Share Posted March 16, 2017 i Sent you a PM Link to comment Share on other sites More sharing options...
Zehlendorf Posted March 16, 2017 Author Share Posted March 16, 2017 Thanks alot man! it works FINALLYYYYY !! Link to comment Share on other sites More sharing options...
Question about custom spell mount
By Zehlendorfin General
Recommended Posts