2018-06-25 23:36:18 -05:00
|
|
|
require("modifiers")
|
|
|
|
|
2019-05-29 23:05:40 -07:00
|
|
|
function onGain(owner, effect, actionContainer)
|
2018-06-25 23:36:18 -05:00
|
|
|
--Only one song per bard can be active, need to figure out a good way to do this
|
|
|
|
owner.AddMod(modifiersGlobal.Accuracy, effect.GetMagnitude());
|
|
|
|
owner.AddMod(modifiersGlobal.MagicAccuracy, effect.GetMagnitude());
|
|
|
|
end;
|
|
|
|
|
2019-05-29 23:05:40 -07:00
|
|
|
function onLose(owner, effect, actionContainer)
|
2018-06-25 23:36:18 -05:00
|
|
|
owner.SubtractMod(modifiersGlobal.Accuracy, effect.GetMagnitude());
|
|
|
|
owner.SubtractMod(modifiersGlobal.MagicAccuracy, effect.GetMagnitude());
|
|
|
|
end;
|