mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00
24 lines
504 B
Lua
24 lines
504 B
Lua
![]() |
require("global");
|
||
|
require("utils");
|
||
|
|
||
|
properties = {
|
||
|
permissions = 0,
|
||
|
parameters = "sssss",
|
||
|
description =
|
||
|
[[
|
||
|
Angle stuff!
|
||
|
!anglestuff
|
||
|
]],
|
||
|
}
|
||
|
|
||
|
function onTrigger(player, argc)
|
||
|
local sender = "[battleaction] ";
|
||
|
|
||
|
if player and player.currentTarget then
|
||
|
local actor = GetWorldManager():GetActorInWorld(player.currentTarget) or nil;
|
||
|
actor.Ability(23459, actor.actorId);
|
||
|
|
||
|
else
|
||
|
print(sender.."unable to add experience, ensure player name is valid.");
|
||
|
end;
|
||
|
end;
|