Bug fixes.

Added stoneskin effect to database.
Fixed Rampage not working
Fixed bug where abilities didn't equip correctly when leveling up
Added a temporary fix for returning while dead
Added handling for abilities that don't have an actiontype set, like elusive jump
This commit is contained in:
yogurt 2018-05-27 14:51:39 -05:00
parent c5ce2ec771
commit 922fb80f3d
12 changed files with 30 additions and 25 deletions

View file

@ -27,7 +27,8 @@ function onTrigger(player, argc, qty, name, lastName)
qty = tonumber(qty) or 1;
location = INVENTORY_CURRENCY;
player:AddExp(qty, player.charaWork.parameterSave.state_mainSkill[0], 5);
actionList = player:AddExp(qty, player.charaWork.parameterSave.state_mainSkill[0], 0);
player:DoBattleAction(0, 0, actionList);
else
print(sender.."unable to add experience, ensure player name is valid.");
end;