mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-27 12:56:07 +02:00
Updated Map Server namespace. Moved all other data folders (www and sql) to data folder. Renamed boot name to Project Meteor.
This commit is contained in:
parent
18ef69f3d1
commit
91549bff7a
1823 changed files with 102704 additions and 901 deletions
17
Data/scripts/effects/resonance2.lua
Normal file
17
Data/scripts/effects/resonance2.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
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.
|
||||
--It also increased height of skills
|
||||
function onMagicCast(effect, caster, skill)
|
||||
skill.range = skill.range * 1.25;
|
||||
skill.rangeHeight = skill.rangeHeight * 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 skill.GetCommandType() == CommandType.Spell then
|
||||
owner.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue