mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
24 lines
No EOL
376 B
Lua
24 lines
No EOL
376 B
Lua
--[[
|
|
|
|
AttackWeaponSkill Script
|
|
|
|
Finds the correct weaponskill subscript to fire when a weaponskill actor is activated.
|
|
|
|
--]]
|
|
|
|
|
|
|
|
function onEventStarted(player, actor, triggerName)
|
|
|
|
worldMaster = GetWorldMaster();
|
|
|
|
if (player:GetState() != 2) then
|
|
player:SendGameMessage(worldMaster, 32503, 0x20);
|
|
end
|
|
|
|
player:EndCommand();
|
|
|
|
end
|
|
|
|
function onEventUpdate(player, npc)
|
|
end |