mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added party to Gridania opening, fixed BattleActionx18 and made it so x18 is used for packets with more than 10 targets. Changed how death works. Added respawn time and roam modifiers. Added TryAggro functions and moved aggroing out of roaming and helpplayers. Fixed high cpu usage in zone's OnUpdate function. Fixed work value in player update
This commit is contained in:
13
data/scripts/commands/AbilityCure.lua
Normal file
13
data/scripts/commands/AbilityCure.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
require("global")
|
||||
|
||||
function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, targetActor, arg5, arg6, arg7, arg8)
|
||||
|
||||
local worldManager = GetWorldManager();
|
||||
local shortCommandId = bit32.bxor(command, 2700083200);
|
||||
local ability = worldManager:GetAbility(shortCommandId);
|
||||
|
||||
--player:PlayAnimation(ability.modelAnimation);
|
||||
|
||||
|
||||
player:endEvent();
|
||||
end
|
||||
Reference in New Issue
Block a user