mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
AoE rewrite and bug fixes
Rewrote aoe checks for cone and line aoes and added minimum distance values Added height checks for commands Fixed combo effects repeating for every target hit by AoE attacks Fixed teleport sometimes not raising (I think) Fixed gear checks in some command scripts
This commit is contained in:
@@ -17,7 +17,8 @@ function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
local slope = 0.625;
|
||||
local intercept = -110;
|
||||
|
||||
if caster.GetEquipment().GetItemAtSlot(14).itemId == 8051406 then
|
||||
--8051406: Healer's Culottes: Enhances Regen
|
||||
if caster.HasItemEquippedInSlot(8051406, 14) then
|
||||
--I don't know if the numbers in that thread are completely correct because the AF Regen table has 3 1555s in a row.
|
||||
--If we assume that AF boots multiply both static parts of the regenTick equation by 1.25, we get a decently close match to actual numbers
|
||||
slope = slope * 1.25;
|
||||
@@ -26,7 +27,6 @@ function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
|
||||
local regenTick = (slope * caster.GetMod(modifiersGlobal.MagicEnhancePotency)) + intercept) + 1;
|
||||
|
||||
|
||||
spell.statusMagnitude = regenTick;
|
||||
|
||||
--DoAction handles rates, buffs, dealing damage
|
||||
|
Reference in New Issue
Block a user