resistances: .stun 10% .poison 50% .bleed 50% .disease 50% .move 0% .debuff 60% .death_blow 67% .trap 20%

crit: .effects "Habi On Crit"

weapon: .name "Habi_weapon_0" .atk 0% .dmg 4 9 .crit 6% .spd 9
weapon: .name "Habi_weapon_1" .atk 0% .dmg 5 11 .crit 7% .spd 9 .upgradeRequirementCode 0
weapon: .name "Habi_weapon_2" .atk 0% .dmg 6 13 .crit 8% .spd 10 .upgradeRequirementCode 1
weapon: .name "Habi_weapon_3" .atk 0% .dmg 7 15 .crit 9% .spd 10 .upgradeRequirementCode 2
weapon: .name "Habi_weapon_4" .atk 0% .dmg 9 17 .crit 10% .spd 11 .upgradeRequirementCode 3
armour: .name "Habi_armour_0" .def 18% .prot 0 .hp 18 .spd 0
armour: .name "Habi_armour_1" .def 23% .prot 0 .hp 23 .spd 0 .upgradeRequirementCode 0
armour: .name "Habi_armour_2" .def 28% .prot 0 .hp 28 .spd 0 .upgradeRequirementCode 1
armour: .name "Habi_armour_3" .def 33% .prot 0 .hp 33 .spd 0 .upgradeRequirementCode 2
armour: .name "Habi_armour_4" .def 38% .prot 0 .hp 38 .spd 0 .upgradeRequirementCode 3

//SK1 SK1_Habi_tooltip1
combat_skill: .id "Habi_Skill_1" .level 0 .type "melee" .atk 90% .dmg 0% .crit 5% .launch 1234 .target 123 .move 0 1 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi Lieshang 1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 1 .type "melee" .atk 95% .dmg 0% .crit 6% .launch 1234 .target 123 .move 0 1 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi Lieshang 2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 2 .type "melee" .atk 100% .dmg 0% .crit 7% .launch 1234 .target 123 .move 0 1 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi Lieshang 3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 3 .type "melee" .atk 105% .dmg 0% .crit 8% .launch 1234 .target 123 .move 0 1 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi Lieshang 4" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 4 .type "melee" .atk 110% .dmg 0% .crit 9% .launch 1234 .target 123 .move 0 1 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi Lieshang 5" .valid_modes Habi_A

combat_skill: .id "Habi_Skill_1" .level 0 .effect "Habi Poison CD" "SK1_Habi_tooltip1" "SK1_Habi_tooltip2" "SK1_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 1 .effect "Habi Poison CD" "SK1_Habi_tooltip1" "SK1_Habi_tooltip2_1" "SK1_Habi_tooltip3_1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 2 .effect "Habi Poison CD" "SK1_Habi_tooltip1" "SK1_Habi_tooltip2_1" "SK1_Habi_tooltip3_1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 3 .effect "Habi Poison CD" "SK1_Habi_tooltip1" "SK1_Habi_tooltip2_2" "SK1_Habi_tooltip3_2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_1" .level 4 .effect "Habi Poison CD" "SK1_Habi_tooltip1" "SK1_Habi_tooltip2_2" "SK1_Habi_tooltip3_2" .valid_modes Habi_A

//SK2
combat_skill: .id "Habi_Skill_2" .level 0 .type "melee" .atk 90% .dmg 0% .crit 5% .launch 1234 .target 123 .move 1 0 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi SK2 SelfBuff 1" "Habi SK2 Bleed 1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 1 .type "melee" .atk 95% .dmg 0% .crit 6% .launch 1234 .target 123 .move 1 0 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi SK2 SelfBuff 1" "Habi SK2 Bleed 2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 2 .type "melee" .atk 100% .dmg 0% .crit 7% .launch 1234 .target 123 .move 1 0 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi SK2 SelfBuff 1" "Habi SK2 Bleed 3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 3 .type "melee" .atk 105% .dmg 0% .crit 8% .launch 1234 .target 123 .move 1 0 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi SK2 SelfBuff 1" "Habi SK2 Bleed 4" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 4 .type "melee" .atk 110% .dmg 0% .crit 9% .launch 1234 .target 123 .move 1 0 .is_crit_valid True .effect "Habi SK1Shuff 1" "Habi SK2 SelfBuff 1" "Habi SK2 Bleed 5" .valid_modes Habi_A

combat_skill: .id "Habi_Skill_2" .level 0 .effect "Habi Poison CD" "SK2_Habi_tooltip1" "SK2_Habi_tooltip2" "SK2_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 1 .effect "Habi Poison CD" "SK2_Habi_tooltip1" "SK2_Habi_tooltip2" "SK2_Habi_tooltip3_1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 2 .effect "Habi Poison CD" "SK2_Habi_tooltip1" "SK2_Habi_tooltip2" "SK2_Habi_tooltip3_2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 3 .effect "Habi Poison CD" "SK2_Habi_tooltip1" "SK2_Habi_tooltip2" "SK2_Habi_tooltip3_3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_2" .level 4 .effect "Habi Poison CD" "SK2_Habi_tooltip1" "SK2_Habi_tooltip2" "SK2_Habi_tooltip3_4" .valid_modes Habi_A

//SK3
combat_skill: .id "Habi_Skill_3" .level 0 .type "ranged" .atk 95% .dmg -20% .crit 5% .launch 1234 .target 1234 .is_crit_valid True .effect "Habi SK3 SelfBuff 1" "Habi SK3 SelfBuff 2" "Habi SK3 Stun 1" "Habi SK3 Bleed 1" "Habi SK3 Tag 1"  "Habi SK3Shuff" "Habi SK3Shuff Self" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 1 .type "ranged" .atk 100% .dmg -20% .crit 6% .launch 1234 .target 1234 .is_crit_valid True .effect "Habi SK3Shuff" "Habi SK3Shuff Self" "Habi SK3 SelfBuff 1" "Habi SK3 SelfBuff 2" "Habi SK3 Stun 2" "Habi SK3 Bleed 2" "Habi SK3 Tag 2"  .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 2 .type "ranged" .atk 105% .dmg -20% .crit 7% .launch 1234 .target 1234 .is_crit_valid True .effect "Habi SK3Shuff" "Habi SK3Shuff Self" "Habi SK3 SelfBuff 1" "Habi SK3 SelfBuff 2" "Habi SK3 Stun 3" "Habi SK3 Bleed 3" "Habi SK3 Tag 3"  .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 3 .type "ranged" .atk 110% .dmg -20% .crit 8% .launch 1234 .target 1234 .is_crit_valid True .effect "Habi SK3Shuff" "Habi SK3Shuff Self" "Habi SK3 SelfBuff 1" "Habi SK3 SelfBuff 2" "Habi SK3 Stun 4" "Habi SK3 Bleed 4" "Habi SK3 Tag 4"  .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 4 .type "ranged" .atk 115% .dmg -20% .crit 9% .launch 1234 .target 1234 .is_crit_valid True .effect "Habi SK3Shuff" "Habi SK3Shuff Self" "Habi SK3 SelfBuff 1" "Habi SK3 SelfBuff 2" "Habi SK3 Stun 5" "Habi SK3 Bleed 5" "Habi SK3 Tag 5"  .valid_modes Habi_A

combat_skill: .id "Habi_Skill_3" .level 0  .effect "Habi Poison CD" "SK3_Habi_tooltip1" "SK3_Habi_tooltip2" "SK3_Habi_tooltip3" "SK3_Habi_tooltip4" "SK3_Habi_tooltip5" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 1  .effect "Habi Poison CD" "SK3_Habi_tooltip1" "SK3_Habi_tooltip2_1" "SK3_Habi_tooltip3_1" "SK3_Habi_tooltip4" "SK3_Habi_tooltip5" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 2  .effect "Habi Poison CD" "SK3_Habi_tooltip1" "SK3_Habi_tooltip2_2" "SK3_Habi_tooltip3_2" "SK3_Habi_tooltip4" "SK3_Habi_tooltip5" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 3  .effect "Habi Poison CD" "SK3_Habi_tooltip1" "SK3_Habi_tooltip2_3" "SK3_Habi_tooltip3_3" "SK3_Habi_tooltip4" "SK3_Habi_tooltip5" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_3" .level 4  .effect "Habi Poison CD" "SK3_Habi_tooltip1" "SK3_Habi_tooltip2_4" "SK3_Habi_tooltip3_4" "SK3_Habi_tooltip4" "SK3_Habi_tooltip5" .valid_modes Habi_A

//SK4
combat_skill: .id "Habi_Skill_4" .level 0 .type "ranged" .atk 90% .dmg -60% .crit 0% .launch 1234 .target 1234 .is_crit_valid True .effect  "Habi Poison CD" "Habi Mark Target" "Habi SK4 DeBuff 1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_4" .level 1 .type "ranged" .atk 95% .dmg -60% .crit 0% .launch 1234 .target 1234 .is_crit_valid True .effect  "Habi Poison CD" "Habi Mark Target" "Habi SK4 DeBuff 2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_4" .level 2 .type "ranged" .atk 100% .dmg -60% .crit 0% .launch 1234 .target 1234 .is_crit_valid True .effect  "Habi Poison CD" "Habi Mark Target" "Habi SK4 DeBuff 3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_4" .level 3 .type "ranged" .atk 105% .dmg -60% .crit 0% .launch 1234 .target 1234 .is_crit_valid True .effect  "Habi Poison CD" "Habi Mark Target" "Habi SK4 DeBuff 4" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_4" .level 4 .type "ranged" .atk 110% .dmg -60% .crit 0% .launch 1234 .target 1234 .is_crit_valid True .effect  "Habi Poison CD" "Habi Mark Target" "Habi SK4 DeBuff 5" .valid_modes Habi_A

//SK5
combat_skill: .id "Habi_Skill_5" .level 0 .launch 1234 .target @1234 .is_crit_valid True .effect "Habi Poison CD" "Habi SK5 CureBleed" "Habi SK5 Heal 1" "Habi SK5 Buff 1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_5" .level 1 .launch 1234 .target @1234 .is_crit_valid True .effect "Habi Poison CD" "Habi SK5 CureBleed" "Habi SK5 Heal 2" "Habi SK5 Buff 2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_5" .level 2 .launch 1234 .target @1234 .is_crit_valid True .effect "Habi Poison CD" "Habi SK5 CureBleed" "Habi SK5 Heal 3" "Habi SK5 Buff 3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_5" .level 3 .launch 1234 .target @1234 .is_crit_valid True .effect "Habi Poison CD" "Habi SK5 CureBleed" "Habi SK5 Heal 4" "Habi SK5 Buff 4" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_5" .level 4 .launch 1234 .target @1234 .is_crit_valid True .effect "Habi Poison CD" "Habi SK5 CureBleed" "Habi SK5 Heal 5" "Habi SK5 Buff 5" .valid_modes Habi_A

//SK6
combat_skill: .id "Habi_Skill_6" .level 0 .launch 1234 .target @ .is_crit_valid True .is_continue_turn true .effect "Habi Daze CD" "Habi Dis Daze" "Habi Dis Poison 1" "Habi SK6 Cure" "Habi SK6 HealStress" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 1 .launch 1234 .target @ .is_crit_valid True .is_continue_turn true .effect "Habi Daze CD" "Habi Dis Daze" "Habi Dis Poison 1" "Habi SK6 Cure" "Habi SK6 HealStress" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 2 .launch 1234 .target @ .is_crit_valid True .is_continue_turn true .effect "Habi Daze CD" "Habi Dis Daze" "Habi Dis Poison 1" "Habi SK6 Cure" "Habi SK6 HealStress" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 3 .launch 1234 .target @ .is_crit_valid True .is_continue_turn true .effect "Habi Daze CD" "Habi Dis Daze" "Habi Dis Poison 1" "Habi SK6 Cure" "Habi SK6 HealStress" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 4 .launch 1234 .target @ .is_crit_valid True .is_continue_turn true .effect "Habi Daze CD" "Habi Dis Daze" "Habi Dis Poison 1" "Habi SK6 Cure" "Habi SK6 HealStress" .valid_modes Habi_A

combat_skill: .id "Habi_Skill_6" .level 0 .effect "SK6_Habi_tooltip1" "SK6_Habi_tooltip2" "SK6_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 1 .effect "SK6_Habi_tooltip1" "SK6_Habi_tooltip2" "SK6_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 2 .effect "SK6_Habi_tooltip1" "SK6_Habi_tooltip2" "SK6_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 3 .effect "SK6_Habi_tooltip1" "SK6_Habi_tooltip2" "SK6_Habi_tooltip3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_6" .level 4 .effect "SK6_Habi_tooltip1" "SK6_Habi_tooltip2" "SK6_Habi_tooltip3" .valid_modes Habi_A

//SK7
combat_skill: .id "Habi_Skill_7" .level 0 .type "ranged" .atk 95% .dmg 50% .crit 5% .launch 4 .target 1234 .move 0 3 .is_crit_valid True .ignore_protection true .effect "Habi SK7Shuff" "Habi SK7 Stun 1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 1 .type "ranged" .atk 100% .dmg 50% .crit 6% .launch 4 .target 1234 .move 0 3 .is_crit_valid True .ignore_protection true .effect "Habi SK7Shuff" "Habi SK7 Stun 2" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 2 .type "ranged" .atk 105% .dmg 50% .crit 7% .launch 4 .target 1234 .move 0 3 .is_crit_valid True .ignore_protection true .effect "Habi SK7Shuff" "Habi SK7 Stun 3" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 3 .type "ranged" .atk 110% .dmg 50% .crit 8% .launch 4 .target 1234 .move 0 3 .is_crit_valid True .ignore_protection true .effect "Habi SK7Shuff" "Habi SK7 Stun 4" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 4 .type "ranged" .atk 115% .dmg 50% .crit 9% .launch 4 .target 1234 .move 0 3 .is_crit_valid True .ignore_protection true .effect "Habi SK7Shuff" "Habi SK7 Stun 5" .valid_modes Habi_A

combat_skill: .id "Habi_Skill_7" .level 0 .effect "Habi Poison CD" "SK7_Habi_tooltip1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 1 .effect "Habi Poison CD" "SK7_Habi_tooltip1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 2 .effect "Habi Poison CD" "SK7_Habi_tooltip1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 3 .effect "Habi Poison CD" "SK7_Habi_tooltip1" .valid_modes Habi_A
combat_skill: .id "Habi_Skill_7" .level 4 .effect "Habi Poison CD" "SK7_Habi_tooltip1" .valid_modes Habi_A

//Rip
riposte_skill: .id "riposte1" .level 0 .type "melee" .atk 90% .dmg -40% .crit 10% .launch 1234 .target 1234 .is_crit_valid True .effect

combat_move_skill: .id "move" .level 0 .type "move" .move 2 2 .launch 4321 .effect "Habi Mode A" "Habi_HasQuirk1"

activity_modifier: .override_valid_activity_ids bar gambling treatment disease_treatment

mode: .id Habi_A .is_raid_default true .battle_complete_combat_skill_id move
mode: .id Habi_B .battle_complete_combat_skill_id move
mode: .id Habi_C .battle_complete_combat_skill_id move

mode: .id tooltip

tag: .id "light"
tag: .id "non-religious"
tag: .id "outsiders_bonfire"

//免疫疾病
//quirk_modifier: .incompatible_class_ids bad_humours creeping_cough hemophilia the_runs wasting_sickness tetanus rabies syphilis stomach_cramp bulimic lethargy spotted_fever vertigo vampiric_spirits ennui the_ague hysterical_blindness scurvy the_worries the_fits tapeworm the_red_plague the_black_plague sky_taint grey_rot

overstressed_modifier: .override_trait_type_ids Habi_Affliction Habi_Virtued .override_trait_type_chances 0.75 0.25

incompatible_party_member: .id Habi_limit .hero_tag Habi

deaths_door: .buffs deathsdoorACCDebuff deathsdoorDMGLowDebuff deathsdoorDMGHighDebuff deathsdoorSPDDebuff deathsdoorSRDebuff .recovery_buffs mortalityACCDebuff mortalityDMGLowDebuff mortalityDMGHighDebuff mortalitySPDDebuff mortalitySRDebuff .recovery_heart_attack_buffs heartattackACCDebuff heartattackDMGLowDebuff heartattackDMGHighDebuff heartattackSPDDebuff heartattackSRDebuff 
//死门触发
//.enter_effects "Habi DeathStealth" "Habi DeathSteal" .enter_effect_round_cooldown 9999

controlled: .target_rank 4
id_index: .index 10
skill_selection: .can_select_combat_skills true .number_of_selected_combat_skills_max 5
generation: .is_generation_enabled true .number_of_positive_quirks_min 1 .number_of_positive_quirks_max 2 .number_of_negative_quirks_min 1 .number_of_negative_quirks_max 2 .number_of_class_specific_camping_skills 0 .number_of_random_combat_skills 7 .number_of_cards_in_deck 6 .card_chance 1.0