diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index dd6e26509..9d9f08233 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -9915,7 +9915,7 @@ namespace Game.Spells { if (!OriginalCastItemLevel.HasValue) OriginalCastItemLevel = triggeringSpell.m_castItemLevel; - if (!OriginalCastItemLevel.HasValue) + if (OriginalCastId.IsEmpty()) OriginalCastId = triggeringSpell.m_castId; } return this; diff --git a/Source/Scripts/Spells/Evoker.cs b/Source/Scripts/Spells/Evoker.cs index 3213a70d0..97a22233a 100644 --- a/Source/Scripts/Spells/Evoker.cs +++ b/Source/Scripts/Spells/Evoker.cs @@ -142,7 +142,7 @@ namespace Scripts.Spells.Evoker GetCaster().CastSpell(GetCaster(), (uint)SpellIds.FireBreathDamage, new CastSpellExtraArgs() .SetTriggeringSpell(GetSpell()) .SetTriggerFlags(TriggerCastFlags.IgnoreCastInProgress | TriggerCastFlags.DontReportCastError) - .AddSpellMod(SpellValueMod.DurationPct, 100 * dotTicks) + .AddSpellMod(SpellValueModFloat.DurationPct, 100 * dotTicks) .SetCustomArg(completedStageCount)); } diff --git a/Source/Scripts/Spells/Priest.cs b/Source/Scripts/Spells/Priest.cs index 3ee553d79..98e8c06f3 100644 --- a/Source/Scripts/Spells/Priest.cs +++ b/Source/Scripts/Spells/Priest.cs @@ -505,7 +505,7 @@ namespace Scripts.Spells.Priest break; case SpellIds.PowerWordRadiance: // Power Word: Radiance applies Atonement at 60 % (without modifiers) of its total duration. - args.AddSpellMod(SpellValueMod.DurationPct, GetEffectInfo(3).CalcValue(caster)); + args.AddSpellMod(SpellValueModFloat.DurationPct, GetEffectInfo(3).CalcValue(caster)); break; default: break;