Jump to content

Question about custom spell mount

By Zehlendorf
in General

Recommended Posts

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

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

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

×
×
  • Create New...