This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] About fly in custom map when player died  (Read 1022 times)

sandyqin

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 8
    • View Profile
[QUESTION] About fly in custom map when player died
« 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  ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [QUESTION] About fly in custom map when player died
« Reply #1 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))
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sandyqin

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 8
    • View Profile
Re: [QUESTION] About fly in custom map when player died
« Reply #2 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »