mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
Merged in skeletonhorn/ffxiv-classic-server-ai-fork/ai-open (pull request #1)
equip ability functions
This commit is contained in:
commit
3734f22fc2
8 changed files with 378 additions and 102 deletions
|
@ -421,16 +421,16 @@ namespace FFXIVClassic_Map_Server.lua
|
|||
}
|
||||
else
|
||||
CallLuaFunction(player, target, "onEventStarted", false, LuaUtils.CreateLuaParamObjectList(lparams));
|
||||
}
|
||||
}
|
||||
|
||||
public DynValue ResolveResume(Actor actor, Coroutine coroutine, DynValue value)
|
||||
public DynValue ResolveResume(Actor actor, Coroutine coroutine, DynValue value)
|
||||
{
|
||||
var isPlayer = actor is Player;
|
||||
|
||||
if (value == null || value.IsVoid())
|
||||
return value;
|
||||
|
||||
if (isPlayer && value.String != null && value.String.Equals("_WAIT_EVENT"))
|
||||
|
||||
if (isPlayer && value.String != null && value.String.Equals("_WAIT_EVENT"))
|
||||
{
|
||||
GetInstance().AddWaitEventCoroutine((Player)actor, coroutine);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue