More bug fixes

Fixed loading status effects on login
Fixed barrage issues
Added untraited version of Protect
Added sanguine rite
This commit is contained in:
yogurt 2018-05-27 18:07:52 -05:00
parent a7e59fa7e4
commit 8de606051a
14 changed files with 99 additions and 43 deletions

View file

@ -13,10 +13,10 @@ end;
function onSkillFinish(caster, target, skill, action, actionContainer)
--Actual amount of def/mdef will be calculated in OnGain
skill.statusMagnitude = caster.GetMod(modifiersGlobal.MagicEnhancePotency);
--27365: Enhanced Protect: Increases magic defense gained from Protect.
if caster.HasTrait(27365) then
skill.statusTier = 2;
skill.statusId = 223129
end
--DoAction handles rates, buffs, dealing damage