Scripts/Spells: Implement omen of clarity talent (Restoration)
Port From (https://github.com/TrinityCore/TrinityCore/commit/44719eb78015c2f64e45bc84226ff5337d7ae33d)
This commit is contained in:
@@ -1273,6 +1273,21 @@ namespace Scripts.Spells.Druid
|
|||||||
uint _removeOverrideSpell;
|
uint _removeOverrideSpell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Script] // 113043 - Omen of Clarity
|
||||||
|
class spell_dru_omen_of_clarity_restoration : AuraScript
|
||||||
|
{
|
||||||
|
bool CheckProc(AuraEffect aurEff, ProcEventInfo eventInfo)
|
||||||
|
{
|
||||||
|
return RandomHelper.randChance(aurEff.GetAmount());
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Register()
|
||||||
|
{
|
||||||
|
DoCheckEffectProc.Add(new(CheckProc, 0, AuraType.ProcTriggerSpell));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
[Script] // 16864 - Omen of Clarity
|
[Script] // 16864 - Omen of Clarity
|
||||||
class spell_dru_omen_of_clarity : AuraScript
|
class spell_dru_omen_of_clarity : AuraScript
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user