mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +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
15
data/scripts/effects/resonance2.lua
Normal file
15
data/scripts/effects/resonance2.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
require("modifiers")
|
||||
require("battleutils")
|
||||
|
||||
--Increases range of a single spell, no clue by how much, 25% is a random guess
|
||||
--It isn't clear if it has an effect on the aoe portion of skills or just the normal range, i've seen people on the OF say both.
|
||||
function onMagicStart(caster, effect, skill)
|
||||
skill.range = skill.range * 1.25;
|
||||
end;
|
||||
|
||||
--The effect falls off after the skill is finished, meaning if you start a cast and cancel, it shouldn't fall off.
|
||||
function onCommandFinish(effect, owner, skill, actionContainer)
|
||||
if action.commandType == CommandType.Spell then
|
||||
actionContainer.AddAction(owner.statusEffects.RemoveStatusEffectForBattleAction(effect));
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue