mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Cleaned up hotbar database stuff (slot starts at 0 now!) and fixed a few bugs in the state system.
This commit is contained in:
parent
7ad40f625a
commit
d81832f256
4 changed files with 32 additions and 36 deletions
|
@ -13,7 +13,7 @@ function onTick(target, effect)
|
|||
sender = "regen";
|
||||
|
||||
-- todo: actual regen effect thing
|
||||
local ability = GetWorldManager().GetAbility(27346);
|
||||
local ability = GetWorldManager().GetBattleCommand(27346);
|
||||
local anim = bit32.bxor(bit32.lshift(ability.animationType, 24), bit32.lshift(tonumber(1), 12) , 101);
|
||||
local addHp = effect.GetMagnitude();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue