mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +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
19
Data/scripts/effects/sacred_prism.lua
Normal file
19
Data/scripts/effects/sacred_prism.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
require("modifiers")
|
||||
require("battleutils")
|
||||
|
||||
--Cure, Cura, Regen, Esuna, Enhancing spells (Hardcoded as Stoneskin and Sanguine since we dont have a good way to check what's an enhancing spell)
|
||||
supportedSpells = [27346, 27347, 27358, 27357, 27350, 27307]
|
||||
|
||||
function onMagicCast(effect, caster, skill)
|
||||
if supportedSpells[skill.id] then
|
||||
skill.castTimeMs = skill.castTimeMs * 1.5;
|
||||
skill.aoeType = TargetFindAOEType.Circle;
|
||||
skill.aoeRange = 15;
|
||||
end
|
||||
end
|
||||
|
||||
function onCommandFinish(effect, owner, skill, actionContainer)
|
||||
if supportedSpells[skill.id] then
|
||||
owner.statusEffects.RemoveStatusEffect(effect, actionContainer, 30331, false);
|
||||
end
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue