mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Scripts for running the various commands/npcs (done so far) are pushed.
This commit is contained in:
parent
e851c767df
commit
e409d3792c
67 changed files with 1447 additions and 0 deletions
24
scripts/commands/AttackWeaponSkill.lua
Normal file
24
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)
|
||||
|
||||
worldMaster = getWorldMaster();
|
||||
|
||||
if (player:getState() != 2) then
|
||||
player:sendGameMessage(worldMaster, 32503, 0x20);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue