//"Darkwraith"
//--------------------------------------------------


// More DMG from Lifedrain
// BUFF NAME skill_grasp

effect: .name "Talisman Draindebuff 1" .target "target" .curio_result_type "negative" .chance 105%    .buff_ids "skill_grasp"	.duration 3	 	.on_hit true .on_miss true

// Test invisible bleed
effect: .name "Clear Guard Performer" .target "performer" .chance 100% .clearguarding 1 .clearguarded 1 .on_hit true .on_miss true .has_description false
effect: .name "Invis Bleed 1" .target "target" .curio_result_type "negative" .chance 100%  .dotBleed 2 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .has_description false





//---------------------------------------------
//Undying Rage
//---------------------------------------------
// Costs no action shreds armor damages self



// Bleed Debuff
effect: .name "Wraith Bleed Debuff 1" .target "target" .curio_result_type "negative" .chance 100% .duration 2 .buff_ids "bleed_debuff_1"  .on_hit true .on_miss false
effect: .name "Wraith Bleed Debuff 2" .target "target" .curio_result_type "negative" .chance 110% .duration 2 .buff_ids "bleed_debuff_2"  .on_hit true .on_miss false
effect: .name "Wraith Bleed Debuff 3" .target "target" .curio_result_type "negative" .chance 120% .duration 2 .buff_ids "bleed_debuff_3"  .on_hit true .on_miss false
effect: .name "Wraith Bleed Debuff 4" .target "target" .curio_result_type "negative" .chance 130% .duration 2 .buff_ids "bleed_debuff_4"  .on_hit true .on_miss false
effect: .name "Wraith Bleed Debuff 5" .target "target" .curio_result_type "negative" .chance 140% .duration 2 .buff_ids "bleed_debuff_5"  .on_hit true .on_miss false

// Building up Rage 
effect: .name "ragebuff_1" .target "performer" .duration 3 .chance 100% .buff_ids Rage_DMGLBUFF_1 Rage_DMGHBUFF_1 .duration 2 .on_hit true .on_miss true  
effect: .name "ragebuff_2" .target "performer" .duration 3 .chance 100% .buff_ids Rage_DMGLBUFF_2 Rage_DMGHBUFF_2 .duration 2 .on_hit true .on_miss true  
effect: .name "ragebuff_3" .target "performer" .duration 3 .chance 100% .buff_ids Rage_DMGLBUFF_3 Rage_DMGHBUFF_3 .duration 2 .on_hit true .on_miss true  
effect: .name "ragebuff_4" .target "performer" .duration 3 .chance 100% .buff_ids Rage_DMGLBUFF_4 Rage_DMGHBUFF_4 .duration 2 .on_hit true .on_miss true  
effect: .name "ragebuff_5" .target "performer" .duration 3 .chance 100% .buff_ids Rage_DMGLBUFF_5 Rage_DMGHBUFF_5 .duration 2 .on_hit true .on_miss true  


// Tootip Self DMG
effect: .name "Wraith Tooltip 1" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_1 .on_hit true .on_miss false
effect: .name "Wraith Tooltip 2" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_2 .on_hit true .on_miss false
effect: .name "Wraith Tooltip 3" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_3 .on_hit true .on_miss false
effect: .name "Wraith Tooltip 4" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_4 .on_hit true .on_miss false
effect: .name "Wraith Tooltip 5" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_5 .on_hit true .on_miss false


// Damage on self
effect: .name "SelfDmg 1" .target "performer" .curio_result_type "negative" .chance 100% .health_damage 4  .on_hit true .on_miss false .queue true
effect: .name "SelfDmg 2" .target "performer" .curio_result_type "negative" .chance 100% .health_damage 4  .on_hit true .on_miss false .queue true
effect: .name "SelfDmg 3" .target "performer" .curio_result_type "negative" .chance 100% .health_damage 5  .on_hit true .on_miss false .queue true
effect: .name "SelfDmg 4" .target "performer" .curio_result_type "negative" .chance 100% .health_damage 5  .on_hit true .on_miss false .queue true
effect: .name "SelfDmg 5" .target "performer" .curio_result_type "negative" .chance 100% .health_damage 6  .on_hit true .on_miss false .queue true



//---------------------------------------------
//Black Firebomb
//---------------------------------------------
//Aoe DMG, Shred Armor  Clear corpses
//

// Clear Guard 
// UNUSED
effect: .name "Wraith ClearGuards Bomb" .target "target" .chance 100% .clearguarding 1  .on_hit true .on_miss false .duration 1  .has_description true
effect: .name "Wraith ClearGuarded Bomb" .target "target" .chance 100% .clearguarded 1  .on_hit true .on_miss false .duration 1  .has_description false

//Clear Corpses
effect: .name "clear_corpses" .target "target_group" .chance 100% .kill_enemy_types corpse .apply_once true .on_hit true .on_miss false .queue false .can_apply_on_death true

//PROT DeBUFF effect
effect: .name "Wraith Shred 1" .target "target" .curio_result_type "negative" .chance 100% .combat_stat_buff 1 .protection_rating_add -10% .duration 2	.on_hit true .on_miss false .queue true
effect: .name "Wraith Shred 2" .target "target" .curio_result_type "negative" .chance 110% .combat_stat_buff 1 .protection_rating_add -12% .duration 2	.on_hit true .on_miss false .queue true
effect: .name "Wraith Shred 3" .target "target" .curio_result_type "negative" .chance 120% .combat_stat_buff 1 .protection_rating_add -15% .duration 2	.on_hit true .on_miss false .queue true
effect: .name "Wraith Shred 4" .target "target" .curio_result_type "negative" .chance 130% .combat_stat_buff 1 .protection_rating_add -18% .duration 2	.on_hit true .on_miss false .queue true
effect: .name "Wraith Shred 5" .target "target" .curio_result_type "negative" .chance 140% .combat_stat_buff 1 .protection_rating_add -20% .duration 2	.on_hit true .on_miss false .queue true

// Expose 
effect: .name "Wraith Expose Debuff 1" .target "target" .curio_result_type "negative" .chance 100% .buff_type crit_received_chance .buff_amount 6%	.duration 3 .on_hit true .on_miss false
effect: .name "Wraith Expose Debuff 2" .target "target" .curio_result_type "negative" .chance 110% .buff_type crit_received_chance .buff_amount 7%	.duration 3 .on_hit true .on_miss false
effect: .name "Wraith Expose Debuff 3" .target "target" .curio_result_type "negative" .chance 120% .buff_type crit_received_chance .buff_amount 8%	.duration 3 .on_hit true .on_miss false
effect: .name "Wraith Expose Debuff 4" .target "target" .curio_result_type "negative" .chance 130% .buff_type crit_received_chance .buff_amount 9%	.duration 3 .on_hit true .on_miss false
effect: .name "Wraith Expose Debuff 5" .target "target" .curio_result_type "negative" .chance 140% .buff_type crit_received_chance .buff_amount 10%	.duration 3 .on_hit true .on_miss false


//---------------------------------------------
//Darksword
//---------------------------------------------
//Autohit with more Dmg in low Light & low life
//

//Damage at low light
effect: .name "Dark Damage 1" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  	wraith_1DMGHBUFF wraith_1DMGLBUFF  .on_hit true .on_miss false
effect: .name "Dark Damage 2" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  	wraith_2DMGHBUFF wraith_2DMGLBUFF  .on_hit true .on_miss false
effect: .name "Dark Damage 3" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids	wraith_3DMGHBUFF wraith_3DMGLBUFF 	.on_hit true .on_miss false
effect: .name "Dark Damage 4" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  	wraith_4DMGHBUFF wraith_4DMGLBUFF  .on_hit true .on_miss false
effect: .name "Dark Damage 5" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  	wraith_5DMGHBUFF wraith_5DMGLBUFF  .on_hit true .on_miss false

//Damage at low health
effect: .name "Death Damage 1" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  death_1DMGHBUFF death_1DMGLBUFF  .on_hit true .on_miss false
effect: .name "Death Damage 2" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  death_2DMGHBUFF death_2DMGLBUFF  .on_hit true .on_miss false
effect: .name "Death Damage 3" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids	death_3DMGHBUFF death_3DMGLBUFF  .on_hit true .on_miss false
effect: .name "Death Damage 4" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  death_4DMGHBUFF death_4DMGLBUFF  .on_hit true .on_miss false
effect: .name "Death Damage 5" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  death_5DMGHBUFF death_5DMGLBUFF  .on_hit true .on_miss false

//Light DeBUFF
effect: .name "Wraith Light 1" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 5	.on_hit true .on_miss true .apply_once true .queue true
effect: .name "Wraith Light 2" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 5	.on_hit true .on_miss true .apply_once true .queue true
effect: .name "Wraith Light 3" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 5	.on_hit true .on_miss true .apply_once true .queue true
effect: .name "Wraith Light 4" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 5	.on_hit true .on_miss true .apply_once true .queue true
effect: .name "Wraith Light 5" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 5	.on_hit true .on_miss true .apply_once true .queue true

//---------------------------------------------
//Death Grasp
//---------------------------------------------
//Immobilize, Break Guard, force Enmy to Guard Darkwraith
//

// Tooltip
effect: .name "Wraith_Tooltip_immo" .target "target" .curio_result_type "negative" .chance 100%  .buff_ids wraith_tooltip_immobilize .duration 1 .apply_once true .on_hit true .on_miss true .queue true

// Debuff that prevents tagging Big Monsters/Bosses
effect: .name "Grasp Balance"	.target "performer" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  GRASP_Balance_LargeMonsters .on_hit true .on_miss false

//Immobilization Effects
//effect: .name "immobilize" .target "target" .chance 100% .immobilize 1 .on_hit true .on_miss false	.queue true
//effect: .name "unimmobilize" .target "target" .chance 100% .unimmobilize 1 .on_hit true .on_miss false	.queue false

// Immobilize
effect: .name "Wraith immobilize 1" .target "target" .chance 60%  .immobilize 1 .on_hit true .on_miss false .queue true .has_description true
effect: .name "Wraith immobilize 2" .target "target" .chance 70%  .immobilize 1 .on_hit true .on_miss false .queue true .has_description true
effect: .name "Wraith immobilize 3" .target "target" .chance 80%  .immobilize 1 .on_hit true .on_miss false .queue true .has_description true
effect: .name "Wraith immobilize 4" .target "target" .chance 90%  .immobilize 1 .on_hit true .on_miss false .queue true .has_description true
effect: .name "Wraith immobilize 5" .target "target" .chance 100% .immobilize 1 .on_hit true .on_miss false	.queue true .has_description true

// Guard Effects
effect: .name "Wraith ProtectMe ClearGuardsPerformer" .target "performer" .chance 100% .clearguarding 1 .clearguarded 1 .on_hit true .on_miss false .duration 1 .has_description false
effect: .name "Wraith ClearGuardsTarget" .target "target" .chance 100% .clearguarding 1 .clearguarded 1 .on_hit true .on_miss false .duration 1  .has_description false
effect: .name "Wraith ProtectMe Guard" .target "target" .swap_source_and_target true .chance 100% .guard 1 .on_hit true .on_miss false .duration 1 


// STUN EFFECT & CHANCE

effect: .name "Wraith Stun 1" .target "target" .curio_result_type "negative" .chance 0%  .stun 1 .on_hit true .on_miss false .queue true
effect: .name "Wraith Stun 2" .target "target" .curio_result_type "negative" .chance 0%  .stun 1 .on_hit true .on_miss false .queue true
effect: .name "Wraith Stun 3" .target "target" .curio_result_type "negative" .chance 0%  .stun 1 .on_hit true .on_miss false .queue true
effect: .name "Wraith Stun 4" .target "target" .curio_result_type "negative" .chance 0%  .stun 1 .on_hit true .on_miss false .queue true
effect: .name "Wraith Stun 5" .target "target" .curio_result_type "negative" .chance 0%  .stun 1 .on_hit true .on_miss false .queue true


effect: .name "Wraith Stunbuff 1"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "grasp_bleeding_STUNBUFF_1"	.on_hit true .on_miss false
effect: .name "Wraith Stunbuff 2"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "grasp_bleeding_STUNBUFF_2"	.on_hit true .on_miss false
effect: .name "Wraith Stunbuff 3"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "grasp_bleeding_STUNBUFF_3"	.on_hit true .on_miss false
effect: .name "Wraith Stunbuff 4"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "grasp_bleeding_STUNBUFF_4"	.on_hit true .on_miss false
effect: .name "Wraith Stunbuff 5"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "grasp_bleeding_STUNBUFF_5"	.on_hit true .on_miss false



// Speed Debuff
effect: .name "Wraith Speeddebuff 1" .target "target" .curio_result_type "negative" .chance 100% 	.combat_stat_buff 1   .speed_rating_add -3 .duration 2	 .on_hit true .on_miss false
effect: .name "Wraith Speeddebuff 2" .target "target" .curio_result_type "negative" .chance 110% 	.combat_stat_buff 1   .speed_rating_add -3 .duration 2	 .on_hit true .on_miss false
effect: .name "Wraith Speeddebuff 3" .target "target" .curio_result_type "negative" .chance 120% 	.combat_stat_buff 1   .speed_rating_add -4 .duration 2	 .on_hit true .on_miss false
effect: .name "Wraith Speeddebuff 4" .target "target" .curio_result_type "negative" .chance 130% 	.combat_stat_buff 1   .speed_rating_add -4 .duration 2	 .on_hit true .on_miss false
effect: .name "Wraith Speeddebuff 5" .target "target" .curio_result_type "negative" .chance 140% 	.combat_stat_buff 1   .speed_rating_add -5 .duration 2	 .on_hit true .on_miss false


// Dodge Debuff
effect: .name "Wraith Dodgedebuff 1" .target "target" .curio_result_type "negative" .chance 100% 	.combat_stat_buff 1   .defense_rating_add -10% .duration 2	 .on_hit true .on_miss false 
effect: .name "Wraith Dodgedebuff 2" .target "target" .curio_result_type "negative" .chance 110% 	.combat_stat_buff 1   .defense_rating_add -12% .duration 2	 .on_hit true .on_miss false 
effect: .name "Wraith Dodgedebuff 3" .target "target" .curio_result_type "negative" .chance 120% 	.combat_stat_buff 1   .defense_rating_add -15% .duration 2 	 .on_hit true .on_miss false 
effect: .name "Wraith Dodgedebuff 4" .target "target" .curio_result_type "negative" .chance 130% 	.combat_stat_buff 1   .defense_rating_add -17% .duration 2 	 .on_hit true .on_miss false 
effect: .name "Wraith Dodgedebuff 5" .target "target" .curio_result_type "negative" .chance 140% 	.combat_stat_buff 1   .defense_rating_add -20% .duration 2	 .on_hit true .on_miss false 

//Normal Bleed
//effect: .name "Bleed 1" .target "target" .curio_result_type "negative" .chance 100%  .dotBleed 2 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .queue true
//effect: .name "Bleed 2" .target "target" .curio_result_type "negative" .chance 110%  .dotBleed 2 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .queue true
//effect: .name "Bleed 3" .target "target" .curio_result_type "negative" .chance 120%  .dotBleed 3 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .queue true
//effect: .name "Bleed 4" .target "target" .curio_result_type "negative" .chance 130%  .dotBleed 3 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .queue true
//effect: .name "Bleed 5" .target "target" .curio_result_type "negative" .chance 140%  .dotBleed 4 .duration 3	.on_hit true .on_miss false .can_apply_on_death true .queue true

//---------------------------------------------
// Reapers Talisman
//---------------------------------------------
//Clears guards, lowers healing, Stun Resist on Target
//


effect: .name "Wraith  MarkTarget" .target "target" .curio_result_type "positive" .chance 100% .tag 1 .duration 2 	.on_hit true .on_miss true .queue true



effect: .name "DEATHMARK 1" .target "target" .curio_result_type "negative" .chance 105%    .buff_ids "DEATHMARK_1"	.duration 3	 	.on_hit true .on_miss false
effect: .name "DEATHMARK 2" .target "target" .curio_result_type "negative" .chance 115%    .buff_ids "DEATHMARK_2"	.duration 3	 	.on_hit true .on_miss false
effect: .name "DEATHMARK 3" .target "target" .curio_result_type "negative" .chance 125%    .buff_ids "DEATHMARK_3"	.duration 3	 	.on_hit true .on_miss false
effect: .name "DEATHMARK 4" .target "target" .curio_result_type "negative" .chance 135%    .buff_ids "DEATHMARK_4"	.duration 3	 	.on_hit true .on_miss false
effect: .name "DEATHMARK 5" .target "target" .curio_result_type "negative" .chance 145%    .buff_ids "DEATHMARK_5"	.duration 3	 	.on_hit true .on_miss false
// Create Mark 
 effect: .name "Wraith Mark Target".target "target" .curio_result_type "negative" .chance 100%	.tag 1  .duration 2	.on_hit true .on_miss false

// Debuffs Heal received
effect: .name "Talisman Healdebuff 1" .target "target" .curio_result_type "negative" .chance 105%    .buff_type hp_heal_received_percent .buff_amount -50% .duration 3	 .on_hit true .on_miss false .apply_once true
effect: .name "Talisman Healdebuff 2" .target "target" .curio_result_type "negative" .chance 115%    .buff_type hp_heal_received_percent .buff_amount -55% .duration 3	 .on_hit true .on_miss false .apply_once true
effect: .name "Talisman Healdebuff 3" .target "target" .curio_result_type "negative" .chance 125%    .buff_type hp_heal_received_percent .buff_amount -60% .duration 3 	 .on_hit true .on_miss false .apply_once true
effect: .name "Talisman Healdebuff 4" .target "target" .curio_result_type "negative" .chance 135%    .buff_type hp_heal_received_percent .buff_amount -65% .duration 3 	 .on_hit true .on_miss false .apply_once true
effect: .name "Talisman Healdebuff 5" .target "target" .curio_result_type "negative" .chance 145%  	 .buff_type hp_heal_received_percent .buff_amount -70% .duration 3	 .on_hit true .on_miss false .apply_once true

// Debuffs Heal received
effect: .name "Talisman Healingdebuff 1" .target "target" .curio_result_type "negative" .chance 105%    .buff_type hp_heal_percent .buff_amount -50% .duration 3	 .on_hit true .on_miss false
effect: .name "Talisman Healingdebuff 2" .target "target" .curio_result_type "negative" .chance 115%    .buff_type hp_heal_percent .buff_amount -55% .duration 3	 .on_hit true .on_miss false 
effect: .name "Talisman Healingdebuff 3" .target "target" .curio_result_type "negative" .chance 125%    .buff_type hp_heal_percent .buff_amount -60% .duration 3 	 .on_hit true .on_miss false 
effect: .name "Talisman Healingdebuff 4" .target "target" .curio_result_type "negative" .chance 135%    .buff_type hp_heal_percent .buff_amount -65% .duration 3 	 .on_hit true .on_miss false 
effect: .name "Talisman Healingdebuff 5" .target "target" .curio_result_type "negative" .chance 145%  	.buff_type hp_heal_percent .buff_amount -70% .duration 3	 .on_hit true .on_miss false


// Debuffs Stun resistance
effect: .name "Talisman Stundebuff 1" .target "target" .curio_result_type "negative" .chance 105%    .buff_ids "Talisman_STUNRESIST_1"	.duration 3	 	.on_hit true .on_miss true 
effect: .name "Talisman Stundebuff 2" .target "target" .curio_result_type "negative" .chance 110%  	 .buff_ids "Talisman_STUNRESIST_2" 	.duration 3	 	.on_hit true .on_miss true 
effect: .name "Talisman Stundebuff 3" .target "target" .curio_result_type "negative" .chance 115%    .buff_ids "Talisman_STUNRESIST_3" 	.duration 3 	.on_hit true .on_miss true 
effect: .name "Talisman Stundebuff 4" .target "target" .curio_result_type "negative" .chance 120%    .buff_ids "Talisman_STUNRESIST_4" 	.duration 3 	.on_hit true .on_miss true 
effect: .name "Talisman Stundebuff 5" .target "target" .curio_result_type "negative" .chance 125%    .buff_ids "Talisman_STUNRESIST_5" 	.duration 3	 	.on_hit true .on_miss true 



// effect: .name "Crabby Pinch Debuff 3" .target "target" .curio_result_type "negative" .chance 120% .buff_type hp_heal_received_percent .buff_amount -33%  .on_hit true .on_miss false	.queue true
// effect: .name "Crabby Pinch Debuff 5" .target "target" .curio_result_type "negative" .chance 140% .buff_type hp_heal_received_percent .buff_amount -33%  .on_hit true .on_miss false	.queue true

//---------------------------------------------
// Lifedrain
//---------------------------------------------
//Low Dmg High CRT,heals self, ignores Protection 
// More heal & CRT against Humans, less heal against undead, scaling heal against Eldritch
//

//Self heal percent UNUSED
effect: .name "Lifedrain HealSelfPercent 1" .target "performer" .curio_result_type "positive" .chance 100% .heal_percent 0.10	.on_hit true .on_miss false .queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelfPercent 2" .target "performer" .curio_result_type "positive" .chance 100% .heal_percent 0.12	.on_hit true .on_miss false	.queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelfPercent 3" .target "performer" .curio_result_type "positive" .chance 100% .heal_percent 0.15	.on_hit true .on_miss false	.queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelfPercent 4" .target "performer" .curio_result_type "positive" .chance 100% .heal_percent 0.17	.on_hit true .on_miss false .queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelfPercent 5" .target "performer" .curio_result_type "positive" .chance 100% .heal_percent 0.20	.on_hit true .on_miss false .queue true .source_heal_type hero_skill

//Self heal
effect: .name "Lifedrain HealSelf 1" .target "performer" .curio_result_type "positive" .chance 100% .heal 2	.on_hit true .on_miss false .queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelf 2" .target "performer" .curio_result_type "positive" .chance 100% .heal 3	.on_hit true .on_miss false	.queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelf 3" .target "performer" .curio_result_type "positive" .chance 100% .heal 4	.on_hit true .on_miss false	.queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelf 4" .target "performer" .curio_result_type "positive" .chance 100% .heal 5	.on_hit true .on_miss false .queue true .source_heal_type hero_skill
effect: .name "Lifedrain HealSelf 5" .target "performer" .curio_result_type "positive" .chance 100% .heal 6	.on_hit true .on_miss false .queue true .source_heal_type hero_skill


//Eldritch Heal Buff UNUSED
effect: .name "Lifedrain Eldricth HealBuff 1" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_eldritch_HEALBUFF_1" .on_hit true .on_miss false
effect: .name "Lifedrain Eldricth HealBuff 2" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_eldritch_HEALBUFF_2" .on_hit true .on_miss false
effect: .name "Lifedrain Eldricth HealBuff 3" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_eldritch_HEALBUFF_3" .on_hit true .on_miss false
effect: .name "Lifedrain Eldricth HealBuff 4" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_eldritch_HEALBUFF_4" .on_hit true .on_miss false
effect: .name "Lifedrain Eldricth HealBuff 5" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_eldritch_HEALBUFF_5" .on_hit true .on_miss false


// Lifedrain Bleed
//Agressive Bleed low chance
effect: .name "Wraith Bleed 1" .target "target" .curio_result_type "negative" .chance 10%   .dotBleed 3 .duration 2	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Bleed 2" .target "target" .curio_result_type "negative" .chance 12%   .dotBleed 4 .duration 2	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Bleed 3" .target "target" .curio_result_type "negative" .chance 15%   .dotBleed 5 .duration 2	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Bleed 4" .target "target" .curio_result_type "negative" .chance 17%   .dotBleed 6 .duration 2	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Bleed 5" .target "target" .curio_result_type "negative" .chance 20%   .dotBleed 7 .duration 2	.on_hit true .on_miss false .can_apply_on_death true

effect: .name "Wraith Bleedbuff 1"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_bleeding_BLEEDBUFF_1"	.on_hit true .on_miss false
effect: .name "Wraith Bleedbuff 2"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_bleeding_BLEEDBUFF_2"	.on_hit true .on_miss false
effect: .name "Wraith Bleedbuff 3"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_bleeding_BLEEDBUFF_3"	.on_hit true .on_miss false
effect: .name "Wraith Bleedbuff 4"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_bleeding_BLEEDBUFF_4"	.on_hit true .on_miss false
effect: .name "Wraith Bleedbuff 5"	.target "performer" .chance 100%	.curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_bleeding_BLEEDBUFF_5"	.on_hit true .on_miss false

//Human BUFF
effect: .name "Lifedrain Human HealBuff" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_human_HEALBUFF" .on_hit true .on_miss false
effect: .name "Human CRTBUFF" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  lifedrain_human_CRTBUFF  .on_hit true .on_miss false

//Unholy DeBUFF
effect: .name "Lifedrain Unholy HealDebuff" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_unholy_HEALDEBUFF" .on_hit true .on_miss false

//BALANCE DeBUFF 
// Hiddden Tooltip Corpse/Carpentry/Stonework/Ironwork/Tachery
effect: .name "Lifedrain Balance HealDebuff" .target "performer" .curio_result_type "positive" .skill_instant true .buff_ids  "lifedrain_corpse_HEALDEBUFF" "lifedrain_carpentry_HEALDEBUFF" "lifedrain_ironwork_HEALDEBUFF" "lifedrain_stonework_HEALDEBUFF" "lifedrain_thatchery_HEALDEBUFF" "lifedrain_crockery_HEALDEBUFF" .on_hit true .on_miss false .has_description false

//---------------------------------------------
// Voidshield UNUSED
//---------------------------------------------
//Damge Block, activate Riposte and Regenerates while riposting
//
 
// clear Guards 
effect: .name "Wraith Clear Guard Self Tooltip" .target "performer" .chance 100%  .clearguarded 1 .on_hit true .on_miss true 
effect: .name "Wraith Clear Guard Self" .target "performer" .chance 100% .clearguarding 1  .on_hit true .on_miss true .has_description false
// Aegis
effect: .name "Wraith Aegis" .target performer .chance 100% .health_damage_blocks 1 .on_hit true .on_miss false .queue true 

/

//Riposte Effect
effect: .name "Wraith Riposte 1"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .damage_low_multiply -70%  .damage_high_multiply -70%  .crit_chance_add 4% .riposte_effect "Wraith Healdot 1" 
effect: .name "Wraith Riposte 2"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .damage_low_multiply -67%  .damage_high_multiply -67%  .crit_chance_add 4% .riposte_effect "Wraith Healdot 2" 
effect: .name "Wraith Riposte 3"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .damage_low_multiply -65%  .damage_high_multiply -65%  .crit_chance_add 5% .riposte_effect "Wraith Healdot 3" 
effect: .name "Wraith Riposte 4"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .damage_low_multiply -63%  .damage_high_multiply -63%  .crit_chance_add 5% .riposte_effect "Wraith Healdot 4" 
effect: .name "Wraith Riposte 5"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .damage_low_multiply -60%  .damage_high_multiply -60%  .crit_chance_add 6% .riposte_effect "Wraith Healdot 5" 


// Self Mark
effect: .name "Wraith  Mark" .target "performer" .curio_result_type "positive" .chance 100% .tag 1 .duration 2 	.on_hit true .on_miss true .queue true



//---------------------------------------------
// Darkstalker ART NEW
//---------------------------------------------
//Damge Block, activate Riposte and Regenerates while riposting
//
 
 



// Aegis
effect: .name "Wraith Aegis" .target performer .chance 100% .health_damage_blocks 1 .on_hit true .on_miss false .queue true 
// Cure
effect: .name "Wraith Cure" .target performer .chance 100% .cure 1 .on_hit true .on_miss false .queue true 


// Self Regeneration Effect + CURE
effect: .name "Wraith Healdot 1" .target "performer" .curio_result_type "positive" .cure 1 .chance 100% .dotHpHeal 1 .duration 2 	.on_hit true .on_miss false
effect: .name "Wraith Healdot 2" .target "performer" .curio_result_type "positive" .cure 1 .chance 100% .dotHpHeal 1 .duration 3 	.on_hit true .on_miss false
effect: .name "Wraith Healdot 3" .target "performer" .curio_result_type "positive" .cure 1 .chance 100% .dotHpHeal 2 .duration 2 	.on_hit true .on_miss false
effect: .name "Wraith Healdot 4" .target "performer" .curio_result_type "positive" .cure 1 .chance 100% .dotHpHeal 2 .duration 3 	.on_hit true .on_miss false
effect: .name "Wraith Healdot 5" .target "performer" .curio_result_type "positive" .cure 1 .chance 100% .dotHpHeal 2 .duration 4 	.on_hit true .on_miss false

// Self Mark
effect: .name "Wraith  Mark" .target "performer" .curio_result_type "positive" .chance 100% .tag 1 .duration 2 	.on_hit true .on_miss true .queue true

// Self DMG
effect: .name "Shield SelfDmg 1" .target "target" .curio_result_type "negative" .chance 100% .health_damage 3  .on_hit true .on_miss true .queue false
effect: .name "Shield SelfDmg 2" .target "target" .curio_result_type "negative" .chance 100% .health_damage 3  .on_hit true .on_miss true .queue false
effect: .name "Shield SelfDmg 3" .target "target" .curio_result_type "negative" .chance 100% .health_damage 5  .on_hit true .on_miss true .queue false
effect: .name "Shield SelfDmg 4" .target "target" .curio_result_type "negative" .chance 100% .health_damage 5 .on_hit true .on_miss true .queue false
effect: .name "Shield SelfDmg 5" .target "target" .curio_result_type "negative" .chance 100% .health_damage 6 .on_hit true .on_miss true .queue false

// Tootip Self DMG
effect: .name "Wraith Tooltip Shield 1" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_shield_1 .on_hit true .on_miss false
effect: .name "Wraith Tooltip Shield 2" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_shield_2 .on_hit true .on_miss false
effect: .name "Wraith Tooltip Shield 3" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_shield_3 .on_hit true .on_miss false
effect: .name "Wraith Tooltip Shield 4" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_shield_4 .on_hit true .on_miss false
effect: .name "Wraith Tooltip Shield 5" .target performer .skill_instant true .chance 100% .buff_ids wraith_tooltip_shield_5 .on_hit true .on_miss false
// Deathblow Buff
effect: .name "Wraith Deathblow 1" .target performer  .chance 100% .buff_ids Shield_DEATHBLOWRESIST_BUFF_1 .on_hit true .on_miss false
effect: .name "Wraith Deathblow 2" .target performer  .chance 100% .buff_ids Shield_DEATHBLOWRESIST_BUFF_2 .on_hit true .on_miss false
effect: .name "Wraith Deathblow 3" .target performer  .chance 100% .buff_ids Shield_DEATHBLOWRESIST_BUFF_3 .on_hit true .on_miss false
effect: .name "Wraith Deathblow 4" .target performer  .chance 100% .buff_ids Shield_DEATHBLOWRESIST_BUFF_4 .on_hit true .on_miss false
effect: .name "Wraith Deathblow 5" .target performer  .chance 100% .buff_ids Shield_DEATHBLOWRESIST_BUFF_5 .on_hit true .on_miss false



effect: .name "Wraith Ally Bleed 1" .target "target" .curio_result_type "negative" .chance 110%   .dotBleed 1 .duration 3 .queue true	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Ally Bleed 2" .target "target" .curio_result_type "negative" .chance 120%   .dotBleed 1 .duration 3 .queue true	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Ally Bleed 3" .target "target" .curio_result_type "negative" .chance 120%   .dotBleed 2 .duration 3 .queue true	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Ally Bleed 4" .target "target" .curio_result_type "negative" .chance 130%   .dotBleed 2 .duration 3 .queue true	.on_hit true .on_miss false .can_apply_on_death true
effect: .name "Wraith Ally Bleed 5" .target "target" .curio_result_type "negative" .chance 140%   .dotBleed 3 .duration 3 .queue true	.on_hit true .on_miss false .can_apply_on_death true




//----------------------------------------------------------------------------------------------------------------------
// DEATH DOOR AND DYING EFFECTS
/-------------------------------------------------------------------------------------------------------------------------

// Death Door Effects
effect: .name "darkwraith_death_door_enter" .target performer .chance 100% .health_damage_blocks 1 .healstress 5 .on_hit true .on_miss true
effect: .name "darkwraith_death_door_enter_stress" .target performer_group_other .curio_result_type "negative" .chance 100%  .stress 3	.on_hit true .on_miss true .queue true
effect: .name "Wraith_Riposte_death_door_enter"  .target "performer" .curio_result_type "positive" .chance 100% .riposte 1 .riposte_on_hit_chance_add 100% .riposte_on_miss_chance_add 100% .duration 2 .on_hit true .on_miss true .bleed_chance_add 100% .damage_low_multiply -70%  .damage_high_multiply -70%  .crit_chance_add 5% .riposte_effect "Wraith Bleed Death" 
effect: .name "Wraith_Clear_Guard_death_door_enter" .target "performer" .chance 100% .clearguarding 1  .on_hit true .on_miss true .has_description false

effect: .name "Wraith Bleed Death" .target "target" .curio_result_type "positive" .chance 100% .dotBleed 2 .duration 3 	.on_hit true .on_miss false
effect: .name "Wraith Healdot Death" .target "performer" .curio_result_type "positive" .chance 100% .dotHpHeal 1 .duration 2 	.on_hit true .on_miss false
effect: .name "Wraith_Mark_death_door_enter" .target "performer" .curio_result_type "positive" .chance 100% .tag 1 .duration 2 	.on_hit true .on_miss true .queue true

//Light DeBUFF
effect: .name "Wraith_Light_death_door_enter" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 10	.on_hit true .on_miss true .apply_once true .queue true
effect: .name "Wraith_Light_death" .target "global" .chance 100% .curio_result_type "negative" .torch_decrease 75	.on_hit true .on_miss true .apply_once true .queue true

//Dying Effects
effect: .name "Wraiths Last Gift" .target "target" .curio_result_type "positive" .chance 50% .buff_ids "death_5DMGHBUFF" "death_5DMGLBUFF"  .duration 2	.on_hit true .on_miss false .queue true .source_heal_type hero_skill
effect: .name "Wraiths Last Curse" .target "target" .curio_result_type "negative" .chance 255% 	.buff_ids "deathmark_5" .tag 1  .duration 2	 .on_hit true .on_miss false .queue true
effect: .name "Wraiths Last Disease" .target "target" .curio_result_type "negative" .chance 155% 	.disease darkwraith_disease_blood .disease darkwraith_disease_rage	 .on_hit true .on_miss false .queue true 


//---------------------------------------------------------------------------------------------------------------------------------------------------------------------
// Item Effects
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------

// Blue Flask
effect: .name "blueflask" .target "performer" .item 1 .duration 1 .chance 100% .initiative_change 1 .on_hit true .on_miss false .apply_once true .queue true

// Orange Flask
effect: .name "orangeflask" .target "performer" .item 1 .duration 1 .chance 100% .heal_percent 0.25 .on_hit true .on_miss false .apply_once true .queue true

// RED Flask
effect: .name "redflask" .target "performer" .item 1 .duration 1 .chance 150% .disease darkwraith_disease_rage .stress 7 .health_damage 5 .dotPoison 1 .duration 10  .buff_ids "Tonic_SPDBUFF"  "Tonic_CRTBUFF"  "Tonic_DMGLBUFF"  "Tonic_DMGHBUFF"  "Tonic_HEALDEBUFF"  "Tonic_ACCDEBUFF"  .on_hit true .on_miss false .apply_once true .queue true

// Ritual Dagger

effect: .name "ritual_dagger" .target "performer" .item 1 .duration 1 .chance 150%  .disease darkwraith_disease_blood .stress 7 .health_damage 6  .dotBleed 2 .duration 2 .stealth 1  .buff_ids ritual_dagger_ignore_protection stealthed_crit_chance_buff ritual_dagger_eldritch-L ritual_dagger_eldritch-H on_hit true .on_miss true  .queue true

// Unholy Water
effect: .name "unholy_water" .target "performer" .item 1 .duration 3 .chance 200%   .buff_ids unholy_water_blight_chance unholy_water_bleed_chance unholy_water_debuff_chance unholy_water_stun_chance unholy_water_quirk_speed unholy_water_disease_resist  .crit_doesnt_apply_to_roll true
// 

// Alluring Skull
effect: .name "alluring_skull" 		.target "performer" .item 1  .curio_result_type "positive" .chance 100% .summon_count 1 .summon_can_spawn_loot true .summon_monsters collector_A .summon_chances 1.0 .summon_limits 1 .summon_ranks 1 .summon_does_roll_initiatives 1 .on_hit true .on_miss true .apply_once true .queue true
effect: .name "alluring_skull_B" 	.target "performer" .item 1 .curio_result_type "positive" .chance 100% .summon_count 1 .summon_can_spawn_loot true .summon_monsters collector_B .summon_chances 1.0 .summon_limits 1 .summon_ranks 1 .summon_does_roll_initiatives 1 .on_hit true .on_miss true .apply_once true .queue true
effect: .name "alluring_skull_C" 	.target "performer" .item 1 .curio_result_type "positive" .chance 100% .summon_count 1 .summon_can_spawn_loot true .summon_monsters collector_C .summon_chances 1.0 .summon_limits 1 .summon_ranks 1 .summon_does_roll_initiatives 1 .on_hit true .on_miss true .apply_once true .queue true


// Shard
effect: .name "shard" .target "performer" .item 1 .duration 3 .chance 100% .buff_ids "SHARD_DEATHBLOWRESIST_DEBUFF" "SHARD_HP_BUFF" "SHARD_PROT_BUFF"  "SHARD_SKILL_BUFF"  .heal_percent 0.25 .on_hit true .on_miss false  .queue true

#######################################################################################################################
TESING
#######################################################################################################################



###########################################################################################################################
// UNUSED EFFECTS
###########################################################################################################################
// Extra Turn
// effect: .name "Free Roll" .target "performer" .curio_result_type "positive" .chance 100% .initiative_change 1 .apply_once true .on_hit true .on_miss true .queue true
//effect: .name "timestop" .target "performer" .curio_result_type "positive" .chance 100% .initiative_change 1 .apply_once true .on_hit true .on_miss true .queue true





//Class mod by CarnifexX --------------------------------------------------