mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
20 lines
389 B
Lua
20 lines
389 B
Lua
![]() |
require ("global")
|
||
|
require ("utils")
|
||
|
|
||
|
--[[
|
||
|
|
||
|
AttackWeaponSkill Script
|
||
|
|
||
|
Finds the correct weaponskill subscript to fire when a weaponskill actor is activated.
|
||
|
|
||
|
--]]
|
||
|
|
||
|
local attackMagicHandlers = {
|
||
|
|
||
|
}
|
||
|
|
||
|
function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, targetActor, arg5, arg6, arg7, arg8)
|
||
|
player.Ability(command.actorId, targetActor);
|
||
|
player:endEvent();
|
||
|
|
||
|
end
|