mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Chocobo stuff:
PopulaceChocoboLender - Made rental time 10 minutes again (as retail had it). Added Vesper Bay NPC's rental location as close as I could get it from a blurry source. ChocoboRideCommand - Fixed the method used to pull a zone's music so the script doesn't fail.
This commit is contained in:
parent
b34f214e67
commit
b08827568c
@ -41,7 +41,8 @@ local startAppearances = {
|
||||
local cityExits = {
|
||||
[1500006] = {133, -6.032, 46.356, 132.572, 3.034},
|
||||
[1500061] = {150, 333.271, 5.889, -943.275, 0.794},
|
||||
[1000840] = {170, -26.088, 181.846, -79.438, 2.579}
|
||||
[1000840] = {170, -26.088, 181.846, -79.438, 2.579},
|
||||
[1500059] = {172, -2133.028, 15.476, -421.471, 1.5}
|
||||
};
|
||||
|
||||
function init(npc)
|
||||
@ -110,7 +111,7 @@ function onEventStarted(player, npc, triggerName)
|
||||
elseif(menuChoice == 3) then -- Change Barding
|
||||
callClientFunction(player, "eventTalkStepBreak", player);
|
||||
elseif(menuChoice == 5) then -- Rent Bird
|
||||
mountChocobo(player, true, 1);
|
||||
mountChocobo(player, true, 10);
|
||||
GetWorldManager():DoZoneChange(player, cityExits[classId][1], nil, 0, SPAWN_CHOCOBO_RENTAL, cityExits[classId][2], cityExits[classId][3], cityExits[classId][4], cityExits[classId][5]);
|
||||
else
|
||||
callClientFunction(player, "eventTalkStepBreak", player);
|
||||
|
@ -26,7 +26,7 @@ function onEventStarted(player, actor, eventType, eventName, isGoobbue)
|
||||
player:ChangeSpeed(0.0, 3.6, 9.0, 9.0);
|
||||
player:ChangeState(15);
|
||||
else
|
||||
player:ChangeMusic(player:GetZone().bgmDay, MUSIC_FADEIN);
|
||||
player:ChangeMusic(player.currentArea.bgmDay, MUSIC_FADEIN);
|
||||
|
||||
worldMaster = GetWorldMaster();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user