mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 21:27:46 +00:00
14 lines
448 B
Lua
14 lines
448 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, 1);
|
||
|
end
|
||
|
player:endEvent();
|
||
|
end
|