Fix Build
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user