mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
12 lines
467 B
Lua
12 lines
467 B
Lua
require("modifiers")
|
|
|
|
function onGain(owner, effect)
|
|
--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;
|
|
|
|
function onLose(owner, effect)
|
|
owner.SubtractMod(modifiersGlobal.Accuracy, effect.GetMagnitude());
|
|
owner.SubtractMod(modifiersGlobal.MagicAccuracy, effect.GetMagnitude());
|
|
end; |