mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02: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:
parent
8c5375f609
commit
cf30eef39e
34 changed files with 483 additions and 330 deletions
|
@ -11,7 +11,7 @@ end;
|
|||
|
||||
function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
--8032701: Fighter's Gauntlets: Reduces Collusion cooldown by 10 seconds
|
||||
if caster.GetEquipment().GetItemAtSlot(14).itemId == 8032701 then
|
||||
if caster.HasItemEquippedInSlot(8032701, 13) then
|
||||
skill.recastTimeMs = skill.recastTimeMs - 10000;
|
||||
end
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function onSkillFinish(caster, target, skill, action, actionContainer)
|
|||
--This is for the "Cover" effect the caster receives.
|
||||
local coverTier = 1
|
||||
--8032701: Gallant Surcoat: Enhances Cover
|
||||
if caster.GetEquipment().GetItemAtSlot(10).itemId == 8032701 then
|
||||
if caster.HasItemEquippedInSlot(8032701, 10) then
|
||||
coverTier = 2;
|
||||
end
|
||||
|
||||
|
|
|
@ -9,5 +9,9 @@ function onAbilityStart(caster, target, skill)
|
|||
return 0;
|
||||
end;
|
||||
|
||||
function onSkillFinish(caster, target, skill, action)
|
||||
function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
action.amount = skill.basePotency;
|
||||
|
||||
--DoAction handles rates, buffs, dealing damage
|
||||
action.DoAction(caster, target, skill, actionContainer);
|
||||
end;
|
|
@ -11,7 +11,7 @@ end;
|
|||
|
||||
function onSkillFinish(caster, target, skill, action, actionContainer)
|
||||
--8051401: Gallant Cuisses
|
||||
if caster.GetEquipment().GetItemAtSlot(14).itemId == 8051401 then
|
||||
if caster.HasItemEquippedInSlot(8051401, 12) then
|
||||
ability.statusTier = 2;
|
||||
end
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ function onAbilityStart(caster, target, ability)
|
|||
local magnitude = 100;
|
||||
|
||||
--8032704: Drachen Mail
|
||||
if caster.GetEquipment().GetItemAtSlot(10).itemId == 8032704 then
|
||||
if caster.HasItemEquippedInSlot(8032704, 10) then
|
||||
magnitude = 120;
|
||||
end
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ end;
|
|||
function onAbilityStart(caster, target, ability)
|
||||
|
||||
--8032703: Fighter's Cuirass: Enhances Vengeance
|
||||
if caster.GetEquipment().GetItemAtSlot(13).itemId == 8032703 then
|
||||
if caster.HasItemEquippedInSlot(8032703, 10) then
|
||||
skill.statusTier = 2;
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue