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

do
	local name = "ovale_demonhunter_spells"
	local desc = "[7.0] Ovale: DemonHunter spells"
	local code = [[

Define(annihilation 201427)
	SpellInfo(annihilation fury=40)
Define(blade_dance 188499)
	SpellInfo(blade_dance replace death_sweep=buff,metamorphosis_havoc_buff)
	SpellInfo(blade_dance fury=35)
Define(blade_turning_buff 207709)
Define(bloodlet_talent 9)
Define(blur 198589)
	SpellInfo(blur cd=60)
Define(chaos_blades 211048)
	SpellInfo(chaos_blades cd=120)
Define(chaos_blades_buff 211048)
	SpellInfo(chaos_blades_buff duration=12)
Define(chaos_cleave_talent 2)
Define(chaos_strike 162794)
	SpellInfo(chaos_strike replace annihilation=buff,metamorphosis_havoc_buff)
	SpellInfo(chaos_strike fury=40)
Define(consume_magic 183752)
	SpellInfo(consume_magic cd=15 gcd=0 interrupt=1 offgcd=1)
Define(death_sweep 210152)
	SpellInfo(death_sweep fury=35)
Define(demonic_talent 21)
Define(demon_spikes 203720)
	SpellInfo(demon_spikes tag=shortcd)
	SpellInfo(demon_spikes pain=20 cd_haste=melee haste=melee specialization=vengeance cd=15 gcd=0 offgcd=1)
	SpellAddBuff(demon_spikes demon_spikes_buff=1)
Define(demon_spikes_buff 203819)
	SpellInfo(demon_spikes_buff duration=6)
Define(demons_bite 162243)
Define(empower_wards 218256)
	SpellInfo(empower_wards tag=cd)
	SpellInfo(empower_wards cd=20 gcd=0 offgcd=1)
	SpellAddBuff(empower_wards empower_wards_buff=1)
Define(empower_wards_buff 218256)
	SpellInfo(empower_wards_buff duration=6)
Define(eye_beam 198013)
	SpellInfo(eye_beam fury=50)
Define(felblade 213241)
	SpellInfo(felblade cd=15 tag=shortcd cd_haste=melee)
Define(fel_barrage 211053)
	SpellInfo(fel_barrage cd=30)
Define(fel_devastation 212084)
	SpellInfo(fel_devastation cd=60)
	SpellInfo(fel_devastation pain=30)
Define(fel_eruption 211881)
	SpellInfo(fel_eruption cd=35)
	SpellInfo(fel_eruption tag=main)
	SpellInfo(fel_eruption fury=20 specialization=havoc)
	SpellInfo(fel_eruption pain=10 specialization=vengeance)
Define(fel_eruption_talent 14)
Define(fel_mastery_talent 1)
Define(fel_rush 195072)
Define(fiery_brand 204021)
	SpellInfo(fiery_brand tag=cd)
	SpellInfo(fiery_brand cd=60 gcd=0 offgcd=1)
	SpellAddTargetDebuff(fiery_brand fiery_brand_debuff=1)
Define(fiery_brand_debuff 207744)
	SpellInfo(fiery_brand_debuff duration=8)
Define(first_blood_talent 8)
Define(fracture 209795)	
	SpellInfo(fracture pain=40)
Define(frailty_debuff 224509)
	SpellInfo(frailty_debuff duration=15)
Define(fury_of_the_ilidari 201467)
	SpellInfo(fury_of_the_ilidari cd=60)
Define(immolation_aura 178740)
	SpellAddBuff(immolation_aura immolation_aura_buff=1)
Define(immolation_aura_buff 201122)
	SpellInfo(immolation_aura_buff duration=6)
Define(imprison 217832)
Define(infernal_strike 189110)
	SpellInfo(infernal_strike cd=20 charges=2)
Define(infernal_strike_debuff 189110)
Define(metamorphosis_havoc 191427)
	SpellInfo(metamorphosis_havoc cd=300)
	SpellAddBuff(metamorphosis_havoc metamorphosis_havoc_buff=1)
Define(metamorphosis_havoc_buff 162264)
	SpellInfo(metamorphosis_havoc_buff duration=30)
Define(metamorphosis_veng 187827)
	SpellInfo(metamorphosis_veng cd=180 gcd=0 offgcd=1)
	SpellAddBuff(metamorphosis_veng metamorphosis_veng_buff=1)
Define(metamorphosis_veng_buff 187827)
	SpellInfo(metamorphosis_veng_buff duration=15)
Define(momentum_buff 208628)
Define(nemesis 206491)
	SpellInfo(nemesis cd=120)
	SpellAddTargetDebuff(nemesis nemesis_debuff=1)
Define(nemesis_debuff 206491)
Define(pick_up_fragment 210788)
Define(prepared_buff 203650)
Define(shear 203782)
	SpellAddBuff(shear blade_turning_buff=0)
Define(sigil_of_chains 202138)
Define(sigil_of_flame 204596)
	SpellInfo(sigil_of_flame cd=30 tag=main)
Define(sigil_of_flame_debuff 204598)
Define(sigil_of_silence 202137)
Define(sigil_of_misery 207684)
Define(soul_cleave 228477)
	SpellInfo(soul_cleave pain=30 extra_pain=30)
	SpellAddBuff(soul_cleave soul_fragments=0)
Define(soul_carver 214743)
	SpellInfo(soul_carver cd=40 tag=main)
Define(soul_fragments 203981)
	SpellInfo(soul_fragments duration=20)		
Define(soul_barrier 227225)
	SpellInfo(soul_barrier cd=20 pain=30)
Define(spirit_bomb 218679)	
Define(throw_glaive 185123)
Define(vengeful_retreat 198793)
	SpellInfo(vengeful_retreat tag=shortcd)
	SpellAddTargetDebuff(vengeful_retreat vengeful_retreat_debuff=1)
Define(vengeful_retreat_debuff 198813)
	SpellInfo(vengeful_retreat_debuff duration=3)

# Artifact traits
Define(anguish_of_the_deceiver 201473)<commit_msg>remove all soul fragments when soul barrier is used<commit_after>local OVALE, Ovale = ...
local OvaleScripts = Ovale.OvaleScripts

do
	local name = "ovale_demonhunter_spells"
	local desc = "[7.0] Ovale: DemonHunter spells"
	local code = [[

Define(annihilation 201427)
	SpellInfo(annihilation fury=40)
Define(blade_dance 188499)
	SpellInfo(blade_dance replace death_sweep=buff,metamorphosis_havoc_buff)
	SpellInfo(blade_dance fury=35)
Define(blade_turning_buff 207709)
Define(bloodlet_talent 9)
Define(blur 198589)
	SpellInfo(blur cd=60)
Define(chaos_blades 211048)
	SpellInfo(chaos_blades cd=120)
Define(chaos_blades_buff 211048)
	SpellInfo(chaos_blades_buff duration=12)
Define(chaos_cleave_talent 2)
Define(chaos_strike 162794)
	SpellInfo(chaos_strike replace annihilation=buff,metamorphosis_havoc_buff)
	SpellInfo(chaos_strike fury=40)
Define(consume_magic 183752)
	SpellInfo(consume_magic cd=15 gcd=0 interrupt=1 offgcd=1)
Define(death_sweep 210152)
	SpellInfo(death_sweep fury=35)
Define(demonic_talent 21)
Define(demon_spikes 203720)
	SpellInfo(demon_spikes tag=shortcd)
	SpellInfo(demon_spikes pain=20 cd_haste=melee haste=melee specialization=vengeance cd=15 gcd=0 offgcd=1)
	SpellAddBuff(demon_spikes demon_spikes_buff=1)
Define(demon_spikes_buff 203819)
	SpellInfo(demon_spikes_buff duration=6)
Define(demons_bite 162243)
Define(empower_wards 218256)
	SpellInfo(empower_wards tag=cd)
	SpellInfo(empower_wards cd=20 gcd=0 offgcd=1)
	SpellAddBuff(empower_wards empower_wards_buff=1)
Define(empower_wards_buff 218256)
	SpellInfo(empower_wards_buff duration=6)
Define(eye_beam 198013)
	SpellInfo(eye_beam fury=50)
Define(felblade 213241)
	SpellInfo(felblade cd=15 tag=shortcd cd_haste=melee)
Define(fel_barrage 211053)
	SpellInfo(fel_barrage cd=30)
Define(fel_devastation 212084)
	SpellInfo(fel_devastation cd=60)
	SpellInfo(fel_devastation pain=30)
Define(fel_eruption 211881)
	SpellInfo(fel_eruption cd=35)
	SpellInfo(fel_eruption tag=main)
	SpellInfo(fel_eruption fury=20 specialization=havoc)
	SpellInfo(fel_eruption pain=10 specialization=vengeance)
Define(fel_eruption_talent 14)
Define(fel_mastery_talent 1)
Define(fel_rush 195072)
Define(fiery_brand 204021)
	SpellInfo(fiery_brand tag=cd)
	SpellInfo(fiery_brand cd=60 gcd=0 offgcd=1)
	SpellAddTargetDebuff(fiery_brand fiery_brand_debuff=1)
Define(fiery_brand_debuff 207744)
	SpellInfo(fiery_brand_debuff duration=8)
Define(first_blood_talent 8)
Define(fracture 209795)	
	SpellInfo(fracture pain=40)
Define(frailty_debuff 224509)
	SpellInfo(frailty_debuff duration=15)
Define(fury_of_the_ilidari 201467)
	SpellInfo(fury_of_the_ilidari cd=60)
Define(immolation_aura 178740)
	SpellAddBuff(immolation_aura immolation_aura_buff=1)
Define(immolation_aura_buff 201122)
	SpellInfo(immolation_aura_buff duration=6)
Define(imprison 217832)
Define(infernal_strike 189110)
	SpellInfo(infernal_strike cd=20 charges=2)
Define(infernal_strike_debuff 189110)
Define(metamorphosis_havoc 191427)
	SpellInfo(metamorphosis_havoc cd=300)
	SpellAddBuff(metamorphosis_havoc metamorphosis_havoc_buff=1)
Define(metamorphosis_havoc_buff 162264)
	SpellInfo(metamorphosis_havoc_buff duration=30)
Define(metamorphosis_veng 187827)
	SpellInfo(metamorphosis_veng cd=180 gcd=0 offgcd=1)
	SpellAddBuff(metamorphosis_veng metamorphosis_veng_buff=1)
Define(metamorphosis_veng_buff 187827)
	SpellInfo(metamorphosis_veng_buff duration=15)
Define(momentum_buff 208628)
Define(nemesis 206491)
	SpellInfo(nemesis cd=120)
	SpellAddTargetDebuff(nemesis nemesis_debuff=1)
Define(nemesis_debuff 206491)
Define(pick_up_fragment 210788)
Define(prepared_buff 203650)
Define(shear 203782)
	SpellAddBuff(shear blade_turning_buff=0)
Define(sigil_of_chains 202138)
Define(sigil_of_flame 204596)
	SpellInfo(sigil_of_flame cd=30 tag=main)
Define(sigil_of_flame_debuff 204598)
Define(sigil_of_silence 202137)
Define(sigil_of_misery 207684)
Define(soul_cleave 228477)
	SpellInfo(soul_cleave pain=30 extra_pain=30)
	SpellAddBuff(soul_cleave soul_fragments=0)
Define(soul_carver 214743)
	SpellInfo(soul_carver cd=40 tag=main)
Define(soul_fragments 203981)
	SpellInfo(soul_fragments duration=20)		
Define(soul_barrier 227225)
	SpellInfo(soul_barrier cd=20 pain=30)
	SpellAddBuff(soul_barrier soul_fragments=0)
Define(spirit_bomb 218679)	
Define(throw_glaive 185123)
Define(vengeful_retreat 198793)
	SpellInfo(vengeful_retreat tag=shortcd)
	SpellAddTargetDebuff(vengeful_retreat vengeful_retreat_debuff=1)
Define(vengeful_retreat_debuff 198813)
	SpellInfo(vengeful_retreat_debuff duration=3)

# Artifact traits
Define(anguish_of_the_deceiver 201473)
{'fraction_non_alphanumeric': 0.07455411543148333, 'fraction_numerical': 0.096931427938407, 'mean_word_length': 11.573816155988858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2539566', 'n_tokens_mistral': 4395, 'n_tokens_neox': 3702, 'n_words': 561}