mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
24 lines
No EOL
361 B
Lua
24 lines
No EOL
361 B
Lua
--[[
|
|
|
|
AttackWeaponSkill Script
|
|
|
|
Finds the correct weaponskill subscript to fire when a weaponskill actor is activated.
|
|
|
|
--]]
|
|
|
|
|
|
|
|
function onEventStarted(player, actor)
|
|
|
|
worldMaster = getWorldMaster();
|
|
|
|
if (player:getState() != 2) then
|
|
player:sendGameMessage(worldMaster, 32503, 0x20);
|
|
end
|
|
|
|
player:endEvent();
|
|
|
|
end
|
|
|
|
function onEventUpdate(player, npc)
|
|
end |