mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Script fixes and new effects.
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
This commit is contained in:
parent
ace4dfe58f
commit
c442dc9ecd
72 changed files with 524 additions and 171 deletions
12
data/scripts/effects/minuet_of_rigor.lua
Normal file
12
data/scripts/effects/minuet_of_rigor.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue