mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00

Added the combo and proc systems Added scripts for most weaponskill and spells as well as some abilities and status effects Added support for multihit attacks Added AbilityState for abilities Added hiteffects that change based on an attack's parameters Added positionals Changed how targeting works for battlecommands Fixed bug that occurred when moving or swapping hotbar commands Fixed bug that occurred when losing status effects
27 lines
No EOL
540 B
Lua
27 lines
No EOL
540 B
Lua
require("global");
|
|
|
|
properties = {
|
|
permissions = 0,
|
|
parameters = "sss",
|
|
description =
|
|
[[
|
|
Sets player or <targetname>'s maximum tp to <tp> and heals them to full.
|
|
!setmaxtp <tp> |
|
|
!setmaxtp <tp> <targetname>
|
|
]],
|
|
}
|
|
|
|
function onTrigger(player, argc, tp)
|
|
local sender = "[setmaxtp] ";
|
|
|
|
|
|
|
|
if player then
|
|
tp = tonumber(tp) or 0;
|
|
location = INVENTORY_CURRENCY;
|
|
|
|
player:SetTP(tp);
|
|
else
|
|
print(sender.."unable to add experience, ensure player name is valid.");
|
|
end;
|
|
end; |