Skip to content

Commit

Permalink
fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sumankun committed Oct 22, 2023
1 parent 3a3df5b commit 61bf4c5
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 582 deletions.
7 changes: 4 additions & 3 deletions common/modifiers/wc_companion_modifiers.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
wc_wild_kodo_companion= {
health = 0.5
dread_gain_mult = 0.2
prowess = 4
stewardship = -4
hostile_scheme_resistance_mult = 0.2
prowess = 6
stewardship = -2
hostile_scheme_resistance_mult = 0.1
monthly_income = -0.5
}
11 changes: 1 addition & 10 deletions common/on_action/wc_central_kal_events_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ central_kal_events.1 = {
}
earth_mother_events.1 = {
random_events = {
chance_to_happen = 100
chance_of_no_event = { value = 75 }
25 = cen_kal.1040
25 = cen_kal.1031
Expand All @@ -72,8 +71,6 @@ earth_mother_events.1 = {

goblin_depot_under_constr_events = {
random_events = {
chance_to_happen = 100
chance_of_no_event = { value = 0 }
25 = cen_kal.1002 #Mine success
40 = cen_kal.1003 #Run with money
20 = cen_kal.1004 #Explosion camp
Expand All @@ -85,8 +82,6 @@ goblin_depot_under_constr_events = {
goblin_depot_operation_events = {
trigger = { has_character_flag = has_working_depot }
random_events = {
chance_to_happen = 100
chance_of_no_event = { value = 0 }
500 = cen_kal.1007 #Mine returns
20 = cen_kal.1004 #Explosion camp
100 = cen_kal.1005 #Goblin coup
Expand Down Expand Up @@ -119,11 +114,7 @@ quilboar_pass_modifier_blood_shards = {

quilboar_faith_change_blood_shards = {
effect = {
if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str }
if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl }
if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis }
if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr }
if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh }
clear_wc_quilboar_modifier_effect = yes
remove_character_flag = has_working_bloodstone_foragers
remove_character_flag = has_active_quilboar_ritual
remove_character_modifier = wc_quilboar_bloodshards
Expand Down
27 changes: 27 additions & 0 deletions common/scripted_effects/wc_other_effects.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
clear_wc_quilboar_modifier_effect = {
if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str }
if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl }
if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis }
if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr }
if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh }
}
clear_depot_modifier_effect = {
if = { limit = { has_province_modifier = wc_moderated_depot } remove_province_modifier = wc_moderated_depot }
if = { limit = { has_province_modifier = wc_disabled_depot } remove_province_modifier = wc_disabled_depot }
if = { limit = { has_province_modifier = wc_overclocked_depot } remove_province_modifier = wc_overclocked_depot }
if = { limit = { has_province_modifier = wc_normal_depot } remove_province_modifier = wc_normal_depot }
}
clear_tauren_trait_effect = {
remove_trait = wc_tauren_EM_wolf
remove_trait = wc_tauren_EM_elk
remove_trait = wc_tauren_EM_bear
remove_trait = wc_tauren_EM_kodo
remove_trait = wc_tauren_EM_hawk
}
clear_tauren_neg_trait_effect = {
remove_trait = wc_tauren_EM_NEG_wolf
remove_trait = wc_tauren_EM_NEG_elk
remove_trait = wc_tauren_EM_NEG_bear
remove_trait = wc_tauren_EM_NEG_kodo
remove_trait = wc_tauren_EM_NEG_hawk
}
Loading

0 comments on commit 61bf4c5

Please sign in to comment.