Fixed work values being totally wrong for guildleves. Added Add/Remove GL command.

This commit is contained in:
Filip Maj 2017-06-25 23:35:55 -04:00
parent b5db036d71
commit fc96dac7c7
5 changed files with 50 additions and 19 deletions

View file

@ -20,7 +20,7 @@ function onEventStarted(player, npc, triggerName)
local currentGLDirector = player:GetGuildleveDirector();
local glData = currentGLDirector.guildleveData;
callClientFunction(player, "eventGuildleveReward", currentGLDirector.guildleveId, 0x26, 24, 24, 0, 0, 0, 0, 0, 0, 0, 4);
callClientFunction(player, "eventGuildleveReward", currentGLDirector.guildleveId, currentGLDirector.completionTime, 24, 24, 0, 0, 0, 0, 0, 0, 0, 4);
local choice = callClientFunction(player, "eventTalkGuildleveWarp", glData.aetheryte, 0);