mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
fixed derps causing client/server crashes
This commit is contained in:
parent
8eaa920751
commit
ac01224769
16 changed files with 60 additions and 60 deletions
|
@ -13,21 +13,21 @@ function onEventStarted(player, actor, triggerName, isGoobbue)
|
|||
worldMaster = GetWorldMaster();
|
||||
|
||||
if (isGoobbue ~= true) then
|
||||
player:changeMusic(83);
|
||||
player:ChangeMusic(83);
|
||||
player:SendChocoboAppearance();
|
||||
player:SendGameMessage(player, worldMaster, 26001, 0x20);
|
||||
player:SetMountState(1);
|
||||
else
|
||||
player:changeMusic(98);
|
||||
player:ChangeMusic(98);
|
||||
player:SendGoobbueAppearance();
|
||||
player:SendGameMessage(player, worldMaster, 26019, 0x20);
|
||||
player:SetMountState(2);
|
||||
end
|
||||
|
||||
player:changeSpeed(0.0, 5.0, 10.0);
|
||||
player:changeState(15);
|
||||
player:ChangeSpeed(0.0, 5.0, 10.0);
|
||||
player:ChangeState(15);
|
||||
else
|
||||
player:changeMusic(player:GetZone().bgmDay);
|
||||
player:ChangeMusic(player:GetZone().bgmDay);
|
||||
|
||||
worldMaster = GetWorldMaster();
|
||||
|
||||
|
@ -38,8 +38,8 @@ function onEventStarted(player, actor, triggerName, isGoobbue)
|
|||
end
|
||||
|
||||
player:SetMountState(0);
|
||||
player:changeSpeed(0.0, 2.0, 5.0)
|
||||
player:changeState(0);
|
||||
player:ChangeSpeed(0.0, 2.0, 5.0)
|
||||
player:ChangeState(0);
|
||||
end
|
||||
|
||||
player:EndCommand();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue