mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	fixed method casing in lua
This commit is contained in:
		| @@ -3,18 +3,18 @@ function init(npc) | ||||
| end | ||||
|  | ||||
| function onEventStarted(player, npc, triggerName) | ||||
| 	questNOC = getStaticActor("Noc000"); | ||||
| 	questNOC = GetStaticActor("Noc000"); | ||||
| 	 | ||||
| 	if (npc:getActorClassId() == 1200193) then | ||||
| 		player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskLimsa", nil, nil, nil); | ||||
| 	elseif (npc:getActorClassId() == 1200194) then | ||||
| 		player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil); | ||||
| 	if (npc:GetActorClassId() == 1200193) then | ||||
| 		player:RunEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskLimsa", nil, nil, nil); | ||||
| 	elseif (npc:GetActorClassId() == 1200194) then | ||||
| 		player:RunEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil); | ||||
| 	else | ||||
| 		player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil); | ||||
| 		player:RunEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil); | ||||
| 	end | ||||
| 	 | ||||
| end | ||||
|  | ||||
| function onEventUpdate(player, npc, step, menuOptionSelected) | ||||
| 	player:endEvent();	 | ||||
| 	player:EndEvent();	 | ||||
| end | ||||
		Reference in New Issue
	
	Block a user