<commit_before>local OVALE, Ovale = ...
local OvaleScripts = Ovale.OvaleScripts

do
	local name = "icyveins_priest_discipline"
	local desc = "[7.1.5] Icy-Veins: Priest Discipline"
	local code = [[
	
Include(ovale_common)
Include(ovale_trinkets_mop)
Include(ovale_trinkets_wod)
Include(ovale_priest_spells)

AddFunction DisciplineDefaultHealActions
{
	Spell(power_word_shield)
	if SpellCount(plea) < 6 Spell(plea)
	Spell(shadow_mend)
}

AddFunction DisciplineDefaultMainActions
{
	if (not Talent(schism_talent) or target.DebuffExpires(schism_debuff))
	{
		if not Talent(purge_the_wicked_talent) and target.DebuffRefreshable(shadow_word_pain_debuff) and target.TimeToDie() > target.DebuffRemaining(shadow_word_pain_debuff) Spell(shadow_word_pain)
		if Talent(purge_the_wicked_talent) and target.DebuffRefreshable(purge_the_wicked_debuff) and target.TimeToDie() > target.DebuffRemaining(purge_the_wicked_debuff) Spell(purge_the_wicked)
	}
	Spell(schism)
	Spell(penance)
	Spell(power_word_solace)
	Spell(smite)
}

AddFunction DisciplineDefaultCdActions
{
	Spell(lights_wrath)
	if Talent(mindbender_talent) Spell(mindbender)
	Item(Trinket0Slot usable=1 text=13)
	Item(Trinket1Slot usable=1 text=14)
	Spell(power_infusion)
	Spell(shadowfiend)
}
	
AddIcon help=mainheal specialization=discipline
{
	DisciplineDefaultHealActions()
}<commit_msg>suggest rapture<commit_after>local OVALE, Ovale = ...
local OvaleScripts = Ovale.OvaleScripts

do
	local name = "icyveins_priest_discipline"
	local desc = "[7.1.5] Icy-Veins: Priest Discipline"
	local code = [[
	
Include(ovale_common)
Include(ovale_trinkets_mop)
Include(ovale_trinkets_wod)
Include(ovale_priest_spells)

AddFunction DisciplineDefaultHealActions
{
	Spell(power_word_shield)
	if SpellCount(plea) < 6 Spell(plea)
	Spell(shadow_mend)
}

AddFunction DisciplineDefaultMainActions
{
	if (not Talent(schism_talent) or target.DebuffExpires(schism_debuff))
	{
		if not Talent(purge_the_wicked_talent) and target.DebuffRefreshable(shadow_word_pain_debuff) and target.TimeToDie() > target.DebuffRemaining(shadow_word_pain_debuff) Spell(shadow_word_pain)
		if Talent(purge_the_wicked_talent) and target.DebuffRefreshable(purge_the_wicked_debuff) and target.TimeToDie() > target.DebuffRemaining(purge_the_wicked_debuff) Spell(purge_the_wicked)
	}
	Spell(schism)
	Spell(penance)
	Spell(power_word_solace)
	Spell(smite)
}

AddFunction DisciplineDefaultCdActions
{
	Spell(lights_wrath)
	if Talent(mindbender_talent) Spell(mindbender)
	Item(Trinket0Slot usable=1 text=13)
	Item(Trinket1Slot usable=1 text=14)
	Spell(power_infusion)
	Spell(rapture)
	Spell(shadowfiend)
}
	
AddIcon help=mainheal specialization=discipline
{
	DisciplineDefaultHealActions()
}
{'fraction_non_alphanumeric': 0.08773234200743495, 'fraction_numerical': 0.008921933085501859, 'mean_word_length': 8.409090909090908, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5183306', 'n_tokens_mistral': 1108, 'n_tokens_neox': 1062, 'n_words': 154}