Jump to content

Flying mounts working as Ground Mounts

By piccolodmq
in Serverside

Recommended Posts

  • 2 weeks later...

Look at https://www.wowhead.com/spell=72286/invincible

There are 6 spells:

1) Dummy main spell (which selected correct mount spell depending or your riding skill and location)

2) 60% ground mount spell

3) 100% ground mount spell

4) 60% ground and 150% flying mount spell

5) 100% ground and 280% flying mount spell

6) 100% ground and 310% flying spell

 

After you created spells with your creatureid you must do core tweaks (just some strings)

Link to comment
Share on other sites

  • 2 weeks later...
On 6/21/2020 at 4:08 AM, Grindi said:

Look at Invincible

There are 6 spells:

1) Dummy main spell (which selected correct mount spell depending or your riding skill and location)

2) 60% ground mount spell

3) 100% ground mount spell

4) 60% ground and 150% flying mount spell

5) 100% ground and 280% flying mount spell

6) 100% ground and 310% flying spell

 

After you created spells with your creatureid you must do core tweaks (just some strings)

So it needs to recompile?  

Link to comment
Share on other sites

  • 1 year later...

in case someone else finds this thread - each adaptive mount (e.g. Invincible, Horseman's mount, etc.) are hardcoded in server/scripts/Spells/spell_generic.cpp

to make one new adaptive mount you'll need to make 5 new spells in Spell.dbc (each speed + catchall dummy spell), reference their IDs in the aforementioned .cpp, and use spell_gen_mount() where approriate e.g. where Invincible spell handler is created. 

it's a shame this relationship between various-speed mount spells can't be specified via mysql database.

Link to comment
Share on other sites

×
×
  • Create New...