mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Scripts for running the various commands/npcs (done so far) are pushed.
This commit is contained in:
parent
e851c767df
commit
e409d3792c
67 changed files with 1447 additions and 0 deletions
23
scripts/commands/BonusPointCommand.lua
Normal file
23
scripts/commands/BonusPointCommand.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
--[[
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue