mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
24
data/scripts/commands/AttackWeaponSkill.lua
Normal file
24
data/scripts/commands/AttackWeaponSkill.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
|
||||
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:endEvent();
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
Reference in New Issue
Block a user