mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 21:27:46 +00:00
Player chocobo issuance is now removed, and you are given a chocobo whistle if you didn't have one.
This commit is contained in:
parent
8725377168
commit
62cc343f51
1 changed files with 7 additions and 0 deletions
|
@ -71,6 +71,13 @@ function onEventStarted(player, npc, triggerName)
|
||||||
GetWorldManager():DoZoneChange(player, cityExits[npc:GetActorClassId()]);
|
GetWorldManager():DoZoneChange(player, cityExits[npc:GetActorClassId()]);
|
||||||
player:SendGameMessage(player, GetWorldMaster(), 25248, 0x20, 2001007);
|
player:SendGameMessage(player, GetWorldMaster(), 25248, 0x20, 2001007);
|
||||||
player:SendDataPacket("attention", GetWorldMaster(), "", 25248, 2001007);
|
player:SendDataPacket("attention", GetWorldMaster(), "", 25248, 2001007);
|
||||||
|
|
||||||
|
if (player:GetInventory(INVENTORY_KEYITEMS):HasItem(2001007) == false) then
|
||||||
|
player:GetInventory(INVENTORY_KEYITEMS):AddItem(2001007);
|
||||||
|
end
|
||||||
|
|
||||||
|
player:GetInventory(INVENTORY_KEYITEMS):RemoveItem(gcIssuances[npc:GetActorClassId()], 1);
|
||||||
|
|
||||||
player:EndEvent();
|
player:EndEvent();
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue