//status
resistances: .stun 50% .poison 0% .bleed 0% .disease 80% .move 80% .debuff 50% .death_blow 72% .trap 50%

crit: .effects "Lancer_on_crit"

//Weapon

weapon: .name "lancer_weapon_0" .atk 0% .dmg 6 10  .crit 0% .spd 8
weapon: .name "lancer_weapon_1" .atk 0% .dmg 7 11  .crit 0% .spd 9 .upgradeRequirementCode 0
weapon: .name "lancer_weapon_2" .atk 0% .dmg 8 12  .crit 0% .spd 9 .upgradeRequirementCode 1
weapon: .name "lancer_weapon_3" .atk 0% .dmg 10 14 .crit 0% .spd 10 .upgradeRequirementCode 2
weapon: .name "lancer_weapon_4" .atk 0% .dmg 12 18 .crit 0% .spd 11 .upgradeRequirementCode 3

//armour

armour: .name "lancer_armour_0" .def 10% .prot 0 .hp 15 .spd 0
armour: .name "lancer_armour_1" .def 15% .prot 0 .hp 20 .spd 0 .upgradeRequirementCode 0
armour: .name "lancer_armour_2" .def 15% .prot 0 .hp 26 .spd 0 .upgradeRequirementCode 1
armour: .name "lancer_armour_3" .def 20% .prot 0 .hp 28 .spd 0 .upgradeRequirementCode 2
armour: .name "lancer_armour_4" .def 30% .prot 0 .hp 32 .spd 0 .upgradeRequirementCode 3

//Cutting edge

combat_skill: .id "Cutting_edge" .level 0 .type "melee" .atk 90%  .dmg -30% .crit 0%  .launch 21 .target 12 .is_crit_valid True .ignore_protection true .effect "lancer bleed 1" "Beast Hatred 1"
combat_skill: .id "Cutting_edge" .level 1 .type "melee" .atk 95%  .dmg -25% .crit 0%  .launch 21 .target 12 .is_crit_valid True .ignore_protection true .effect "lancer bleed 2" "Beast Hatred 2"
combat_skill: .id "Cutting_edge" .level 2 .type "melee" .atk 95%  .dmg -25% .crit 0%  .launch 21 .target 12 .is_crit_valid True .ignore_protection true .effect "lancer bleed 3" "Beast Hatred 3"
combat_skill: .id "Cutting_edge" .level 3 .type "melee" .atk 100% .dmg -20% .crit 0%  .launch 21 .target 12 .is_crit_valid True .ignore_protection true .effect "lancer bleed 4" "Beast Hatred 4"
combat_skill: .id "Cutting_edge" .level 4 .type "melee" .atk 110% .dmg -15% .crit 0%  .launch 21 .target 12 .is_crit_valid True .ignore_protection true .effect "lancer bleed 5" "Beast Hatred 5"

//Conterblow

combat_skill: .id "Conterblow" .level 0 .type "ranged" .atk 80%  .dmg -50% .crit 0% .move 0 1 .launch 4321 .target 23 .is_crit_valid True .ignore_guard true  .effect "lancer_riposte_1"
combat_skill: .id "Conterblow" .level 1 .type "ranged" .atk 85%  .dmg -50% .crit 0% .move 0 1 .launch 4321 .target 23 .is_crit_valid True .ignore_guard true  .effect "lancer_riposte_2"
combat_skill: .id "Conterblow" .level 2 .type "ranged" .atk 90%  .dmg -50% .crit 0% .move 0 1 .launch 4321 .target 23 .is_crit_valid True .ignore_guard true  .effect "lancer_riposte_3"
combat_skill: .id "Conterblow" .level 3 .type "ranged" .atk 95%  .dmg -50% .crit 0% .move 0 1 .launch 4321 .target 23 .is_crit_valid True .ignore_guard true  .effect "lancer_riposte_4"
combat_skill: .id "Conterblow" .level 4 .type "ranged" .atk 100% .dmg -50% .crit 0% .move 0 1 .launch 4321 .target 23 .is_crit_valid True .ignore_guard true  .effect "lancer_riposte_5"

//Instant_hit

combat_skill: .id "Instant_hit" .level 0 .type "melee" .atk 80%  .dmg 10% .crit 2% .move 3 0 .launch 1 .target 12 .is_crit_valid True  .effect "lcPush 3A" "Strong Stun 1"
combat_skill: .id "Instant_hit" .level 1 .type "melee" .atk 85%  .dmg 15% .crit 3% .move 3 0 .launch 1 .target 12 .is_crit_valid True  .effect "lcPush 3B" "Strong Stun 2"
combat_skill: .id "Instant_hit" .level 2 .type "melee" .atk 90%  .dmg 20% .crit 4% .move 3 0 .launch 1 .target 12 .is_crit_valid True  .effect "lcPush 3C" "Strong Stun 3"
combat_skill: .id "Instant_hit" .level 3 .type "melee" .atk 95%  .dmg 25% .crit 4% .move 3 0 .launch 1 .target 12 .is_crit_valid True  .effect "lcPush 3D" "Strong Stun 4"
combat_skill: .id "Instant_hit" .level 4 .type "melee" .atk 100% .dmg 30% .crit 5% .move 3 0 .launch 1 .target 12 .is_crit_valid True  .effect "lcPush 3E" "Strong Stun 5"

//Drill_throw

combat_skill: .id "Drill_throw" .level 0 .type "ranged" .atk 70% .dmg 5%  .crit 5% .launch 432 .target 234 .is_crit_valid True .effect "Unholy Hatred 1" "Unholy Hatred ACC" .generation_guaranteed true
combat_skill: .id "Drill_throw" .level 1 .type "ranged" .atk 75% .dmg 5%  .crit 5% .launch 432 .target 234 .is_crit_valid True .effect "Unholy Hatred 2" "Unholy Hatred ACC" 
combat_skill: .id "Drill_throw" .level 2 .type "ranged" .atk 80% .dmg 5% .crit 10% .launch 432 .target 234 .is_crit_valid True .effect "Unholy Hatred 3" "Unholy Hatred ACC" 
combat_skill: .id "Drill_throw" .level 3 .type "ranged" .atk 85% .dmg 5% .crit 10% .launch 432 .target 234 .is_crit_valid True .effect "Unholy Hatred 4" "Unholy Hatred ACC" 
combat_skill: .id "Drill_throw" .level 4 .type "ranged" .atk 90% .dmg 5% .crit 15% .launch 432 .target 234 .is_crit_valid True .effect "Unholy Hatred 5" "Unholy Hatred ACC" 


//Lacerate

combat_skill: .id "Lacerate" .level 0 .type "melee" .atk 75% .dmg -40% .crit 2%  .launch 43 .target 34 .is_crit_valid True .ignore_stealth true  .effect "Lc_Bleed 1" "Beast Hatred 1" "Beast Hatred ACC"
combat_skill: .id "Lacerate" .level 1 .type "melee" .atk 80% .dmg -40% .crit 3%  .launch 43 .target 34 .is_crit_valid True .ignore_stealth true  .effect "Lc_Bleed 2" "Beast Hatred 2" "Beast Hatred ACC"
combat_skill: .id "Lacerate" .level 2 .type "melee" .atk 85% .dmg -40% .crit 4%  .launch 43 .target 34 .is_crit_valid True .ignore_stealth true  .effect "Lc_Bleed 3" "Beast Hatred 3" "Beast Hatred ACC"
combat_skill: .id "Lacerate" .level 3 .type "melee" .atk 90% .dmg -40% .crit 5%  .launch 43 .target 34 .is_crit_valid True .ignore_stealth true  .effect "Lc_Bleed 4" "Beast Hatred 4" "Beast Hatred ACC"
combat_skill: .id "Lacerate" .level 4 .type "melee" .atk 95% .dmg -40% .crit 6%  .launch 43 .target 34 .is_crit_valid True .ignore_stealth true  .effect "Lc_Bleed 5" "Beast Hatred 5" "Beast Hatred ACC"

//Quick_blow

combat_skill: .id "Quick_blow" .level 0 .type "ranged" .atk 85%  .dmg -55% .crit 4% .launch 32 .target 23 .is_crit_valid True .ignore_protection True .effect "lancer_riposte_damage" .generation_guaranteed true 
combat_skill: .id "Quick_blow" .level 1 .type "ranged" .atk 90%  .dmg -55% .crit 5% .launch 32 .target 23 .is_crit_valid True .ignore_protection True .effect "lancer_riposte_damage"  
combat_skill: .id "Quick_blow" .level 2 .type "ranged" .atk 95%  .dmg -55% .crit 6% .launch 32 .target 23 .is_crit_valid True .ignore_protection True .effect "lancer_riposte_damage"  
combat_skill: .id "Quick_blow" .level 3 .type "ranged" .atk 100% .dmg -55% .crit 7% .launch 32 .target 23 .is_crit_valid True .ignore_protection True .effect "lancer_riposte_damage"  
combat_skill: .id "Quick_blow" .level 4 .type "ranged" .atk 105% .dmg -55% .crit 8% .launch 32 .target 23 .is_crit_valid True .ignore_protection True .effect "lancer_riposte_damage"

//Guardian

combat_skill: .id "Guardian" .level 0 .type "ranged"  .atk 0% .dmg 0% .crit 0% .launch 4321 .target @1234  .effect "Elf HealStress 1" "LancerHealSelfStress 1" "Nimble 1" "Lancer_Clear_Guard_S" "Lancer_Clear_Guard_T" "Lancer_Guard" .is_stall_invalidating false
combat_skill: .id "Guardian" .level 1 .type "ranged"  .atk 0% .dmg 0% .crit 0% .launch 4321 .target @1234  .effect "Elf HealStress 2" "LancerHealSelfStress 2" "Nimble 2" "Lancer_Clear_Guard_S" "Lancer_Clear_Guard_T" "Lancer_Guard" .is_stall_invalidating false
combat_skill: .id "Guardian" .level 2 .type "ranged"  .atk 0% .dmg 0% .crit 0% .launch 4321 .target @1234  .effect "Elf HealStress 3" "LancerHealSelfStress 3" "Nimble 3" "Lancer_Clear_Guard_S" "Lancer_Clear_Guard_T" "Lancer_Guard" .is_stall_invalidating false
combat_skill: .id "Guardian" .level 3 .type "ranged"  .atk 0% .dmg 0% .crit 0% .launch 4321 .target @1234  .effect "Elf HealStress 4" "LancerHealSelfStress 4" "Nimble 4" "Lancer_Clear_Guard_S" "Lancer_Clear_Guard_T" "Lancer_Guard" .is_stall_invalidating false 
combat_skill: .id "Guardian" .level 4 .type "ranged"  .atk 0% .dmg 0% .crit 0% .launch 4321 .target @1234  .effect "Elf HealStress 5" "LancerHealSelfStress 5" "Nimble 5" "Lancer_Clear_Guard_S" "Lancer_Clear_Guard_T" "Lancer_Guard" .is_stall_invalidating false

//Move

combat_move_skill: .id "move" .level 0 .type "move" .move 3 3 .launch 4321

//riposte

riposte_skill: .id "riposte1" .level 0 .type "melee" .atk 90% .dmg -10% .crit 5% .launch 1234 .target 1234 .effect "Lancer exhaust ripost"

//Tags

tag: .id "light"
tag: .id "religious"
tag: .id "lancer"
tag: .id "training_ring"

deaths_door: .buffs deathsdoorACCDebuff deathsdoorDMGLowDebuff deathsdoorDMGHighDebuff deathsdoorSPDDebuff deathsdoorSRDebuff .recovery_buffs mortalityACCDebuff mortalityDMGLowDebuff mortalityDMGHighDebuff mortalitySPDDebuff mortalitySRDebuff .recovery_heart_attack_buffs heartattackACCDebuff heartattackDMGLowDebuff heartattackDMGHighDebuff heartattackSPDDebuff heartattackSRDebuff

controlled: .target_rank 2
id_index: .index 1789654

skill_selection: .can_select_combat_skills true .number_of_selected_combat_skills_max 4
generation: .is_generation_enabled true .number_of_positive_quirks_min 1 .number_of_positive_quirks_max 4 .number_of_negative_quirks_min 1 .number_of_negative_quirks_max 2 .number_of_class_specific_camping_skills 2 .number_of_shared_camping_skills 1 .number_of_random_combat_skills 4 .number_of_cards_in_deck 6 .card_chance 1.0
