Fix Build

This commit is contained in:
Hondacrx
2024-11-10 13:50:52 -05:00
parent d9f90b014b
commit 3db6dcaf2f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9915,7 +9915,7 @@ namespace Game.Spells
{ {
if (!OriginalCastItemLevel.HasValue) if (!OriginalCastItemLevel.HasValue)
OriginalCastItemLevel = triggeringSpell.m_castItemLevel; OriginalCastItemLevel = triggeringSpell.m_castItemLevel;
if (!OriginalCastItemLevel.HasValue) if (OriginalCastId.IsEmpty())
OriginalCastId = triggeringSpell.m_castId; OriginalCastId = triggeringSpell.m_castId;
} }
return this; return this;
+1 -1
View File
@@ -142,7 +142,7 @@ namespace Scripts.Spells.Evoker
GetCaster().CastSpell(GetCaster(), (uint)SpellIds.FireBreathDamage, new CastSpellExtraArgs() GetCaster().CastSpell(GetCaster(), (uint)SpellIds.FireBreathDamage, new CastSpellExtraArgs()
.SetTriggeringSpell(GetSpell()) .SetTriggeringSpell(GetSpell())
.SetTriggerFlags(TriggerCastFlags.IgnoreCastInProgress | TriggerCastFlags.DontReportCastError) .SetTriggerFlags(TriggerCastFlags.IgnoreCastInProgress | TriggerCastFlags.DontReportCastError)
.AddSpellMod(SpellValueMod.DurationPct, 100 * dotTicks) .AddSpellMod(SpellValueModFloat.DurationPct, 100 * dotTicks)
.SetCustomArg(completedStageCount)); .SetCustomArg(completedStageCount));
} }
+1 -1
View File
@@ -505,7 +505,7 @@ namespace Scripts.Spells.Priest
break; break;
case SpellIds.PowerWordRadiance: case SpellIds.PowerWordRadiance:
// Power Word: Radiance applies Atonement at 60 % (without modifiers) of its total duration. // 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; break;
default: default:
break; break;