mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
23 lines
580 B
Lua
23 lines
580 B
Lua
--[[
|
|
|
|
BonusPointCommand Script
|
|
|
|
Functions:
|
|
|
|
operateUI(pointsAvailable, pointsLimit, str, vit, dex, int, min, pie)
|
|
|
|
--]]
|
|
|
|
function onEventStarted(player, actor)
|
|
--local points = player:getAttributePoints();
|
|
--player:runEventFunction("delegateCommand", actor, "operateUI", points.available, points.limit, points.inSTR, points.inVIT, points.inDEX, points.inINT, points.inMIN, points.inPIT);
|
|
player:runEventFunction("delegateCommand", actor, "operateUI", 10, 10, 10, 10, 10, 10, 10, 10);
|
|
end
|
|
|
|
function onEventUpdate(player, actor, step, arg1)
|
|
|
|
--Submit
|
|
|
|
player:endEvent();
|
|
|
|
end |