mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00

Added formulas for base EXP gain and chain experience Added basic scripts for most player abilities and effects Added stat gains for some abilities Changed status flags Fixed bug with player death Fixed bug where auto attacks didnt work when not locked on Added traits
20 lines
No EOL
383 B
Lua
20 lines
No EOL
383 B
Lua
require ("global")
|
|
|
|
--[[
|
|
|
|
ActivateCommand Script
|
|
|
|
Switches between active and passive mode states
|
|
|
|
--]]
|
|
|
|
function onEventStarted(player, command, triggerName)
|
|
|
|
if (player.currentMainState == 0x0000) then
|
|
player.Engage(0, 0x0002);
|
|
elseif (player.currentMainState == 0x0002) then
|
|
player.Disengage(0x0000);
|
|
end
|
|
player:endEvent();
|
|
sendSignal("playerActive");
|
|
end; |