mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +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
13
data/scripts/effects/dark_seal2.lua
Normal file
13
data/scripts/effects/dark_seal2.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
require("modifiers")
|
||||
require("battleutils")
|
||||
|
||||
--Increases accuracy of next cast.
|
||||
--There isn't really any information on this, but due to the fact it falls off BEFORE the target is hit,
|
||||
--I'm assuming it increases a spell's accuracy modifier instead of giving actual magic accuracy
|
||||
function onCommandStart(effect, owner, skill, actionContainer)
|
||||
if skill.actionType == ActionType.Magic then
|
||||
--50 is random guess.
|
||||
skill.accuracyModifier = skill.accuracyModifier + 50;
|
||||
actionContainer.AddAction(owner.RemoveStatusEffectForBattleAction(effect));
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue