Core/Spells: Implement priest holy words + modify cooldown for a charge
Port From (https://github.com/TrinityCore/TrinityCore/commit/81eac826562f8e75de1842c59c8d35cf050b0f21)
This commit is contained in:
@@ -396,7 +396,7 @@ namespace Scripts.Spells.Warrior
|
||||
void HandleAfterCast()
|
||||
{
|
||||
if (_targetCount >= (uint)GetSpellInfo().GetEffect(0).CalcValue())
|
||||
GetCaster().ToPlayer().GetSpellHistory().ModifyCooldown(GetSpellInfo().Id, -(GetSpellInfo().GetEffect(3).CalcValue() * Time.InMilliseconds));
|
||||
GetCaster().ToPlayer().GetSpellHistory().ModifyCooldown(GetSpellInfo().Id, TimeSpan.FromSeconds(-GetSpellInfo().GetEffect(3).CalcValue()));
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
|
||||
Reference in New Issue
Block a user