mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
14 lines
No EOL
445 B
Lua
14 lines
No EOL
445 B
Lua
require ("global")
|
|
--player: Player that called this command
|
|
--equipAbilityWidget: Widget that calls this command
|
|
--triggername: Event Starter ?
|
|
--slot: Which slot the ability will go into
|
|
--ability: Ability being equipped
|
|
|
|
|
|
function onEventStarted(player, equipAbilityWidget, triggername, slot, ability, unkown, arg1, arg2, arg3, arg4, arg5, arg6)
|
|
if ability then
|
|
player:EquipAbility(slot, ability);
|
|
end
|
|
player:endEvent();
|
|
end |