Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: sandyqin on April 21, 2014, 09:29:53 am

Title: [QUESTION] About fly in custom map when player died
Post by: sandyqin on April 21, 2014, 09:29:53 am
Now I know how to fly in custom map
the url
http://modcraft.io/viewtopic.php?f=60&t=1953
is very useful!
But how to fly in custom map when player died like in  northend  ?
Title: Re: [QUESTION] About fly in custom map when player died
Post by: sevi on April 21, 2014, 10:35:46 am
with cold weather fly?

spell_generic.cpp search for:

if (map == 530 || (map == 571 && target->HasSpell(SPELL_COLD_WEATHER_FLYING)))

this must you change to

if (map == 530 || (map == 571 && target->HasSpell(SPELL_COLD_WEATHER_FLYING)) || map = yourmapid && target->HasSpell(YourFlySpell))
Title: Re: [QUESTION] About fly in custom map when player died
Post by: sandyqin on April 21, 2014, 04:11:10 pm
Quote from: "sevi"
with cold weather fly?

spell_generic.cpp search for:

if (map == 530 || (map == 571 && target->HasSpell(SPELL_COLD_WEATHER_FLYING)))

this must you change to

if (map == 530 || (map == 571 && target->HasSpell(SPELL_COLD_WEATHER_FLYING)) || map = yourmapid && target->HasSpell(YourFlySpell))
oh~
I want to ask:
When the player's death and transferred to the nearest graveyard, if in Northrend, players will automatically get ghost flying skills, I want to ask how this skill is applied on own maps?