mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Merge branch 'ai-open' of https://bitbucket.org/takhlaq/ffxiv-classic-server into ai
shitty line ending conflicts # Conflicts: # FFXIVClassic Map Server/lua/LuaEngine.cs
This commit is contained in:
14
data/scripts/commands/EquipAbilityCommand.lua
Normal file
14
data/scripts/commands/EquipAbilityCommand.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
require ("global")
|
||||
--player: Player that called this command
|
||||
--equipAbilityWidget: Widget that calls this command
|
||||
--triggername: Event Starter ?
|
||||
--slot: Which slot the ability will go into
|
||||
--ability: Ability being equipped
|
||||
|
||||
|
||||
function onEventStarted(player, equipAbilityWidget, triggername, slot, ability, unkown, arg1, arg2, arg3, arg4, arg5, arg6)
|
||||
if ability then
|
||||
player:EquipAbility(slot, ability, 1);
|
||||
end
|
||||
player:endEvent();
|
||||
end
|
@@ -1,7 +1,6 @@
|
||||
local initClassItems, initRaceItems;
|
||||
|
||||
function onBeginLogin(player)
|
||||
|
||||
function onBeginLogin(player)
|
||||
--New character, set the initial quest
|
||||
if (player:GetPlayTime(false) == 0) then
|
||||
initialTown = player:GetInitialTown();
|
||||
@@ -60,7 +59,6 @@ function onBeginLogin(player)
|
||||
player:GetQuest(110009):ClearQuestData();
|
||||
player:GetQuest(110009):ClearQuestFlags();
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onLogin(player)
|
||||
|
Reference in New Issue
Block a user