3 Commits

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo
c67315b296 暂存 特质合并 2023-11-20 20:39:13 +08:00
ProjectKoi-Kalo\Kalo
ff3ed9f4f1 暂存 2023-11-20 20:08:29 +08:00
ProjectKoi-Kalo\Kalo
b3d35699bf 暂存等级上限改动 2023-11-20 18:55:29 +08:00
6 changed files with 152 additions and 120 deletions

View File

@@ -5,7 +5,7 @@ RG_leader_trait_tempest_incoming_random_kill_effect = {
any_ground_combat_$SIDE_A$ = { any_ground_combat_$SIDE_A$ = {
exists = leader exists = leader
leader = { leader = {
has_trait = RG_leader_trait_general_gray_skill has_trait = RG_leader_trait_admiral_nanorebuild_gray
} }
} }
} }

View File

@@ -211,7 +211,7 @@ rg_gray_commander_init = {
set_leader_flag = rg_gray_leader set_leader_flag = rg_gray_leader
add_trait_no_notify = RG_leader_trait_admiral_gray add_trait_no_notify = RG_leader_trait_admiral_gray
add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray
add_trait_no_notify = RG_leader_trait_general_gray_skill # add_trait_no_notify = RG_leader_trait_general_gray_skill
# 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成 # 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成
add_trait_no_notify = subclass_commander_councilor add_trait_no_notify = subclass_commander_councilor
add_trait_no_notify = leader_trait_carrier_specialization add_trait_no_notify = leader_trait_carrier_specialization

View File

@@ -33,58 +33,65 @@
# randomized = no # randomized = no
# } # }
RG_leader_trait_offical_gray = { # RG_leader_trait_offical_gray = {
#唯一特质 # #唯一特质
cost = 0 # cost = 0
inline_script = { # inline_script = {
script = trait/icon_psionic # script = trait/icon_psionic
CLASS = leader # CLASS = leader
ICON = "GFX_leader_trait_psionic_chosen_one" # ICON = "GFX_leader_trait_psionic_chosen_one"
RARITY = paragon # RARITY = paragon
COUNCIL = no # COUNCIL = no
TIER = none # TIER = none
} # }
immortal_leaders = yes # immortal_leaders = yes
self_modifier = { # triggered_self_modifier = {
species_leader_exp_gain = 1 # potential = {
} # always = yes
councilor_modifier = { # }
all_technology_research_speed = 0.5 # leader_skill_levels = 1
} # mult = trigger:has_skill
planet_modifier = { # }
planet_buildings_cost_mult = -0.4 # self_modifier = {
planet_building_build_speed_mult = 0.6 # species_leader_exp_gain = 1
planet_jobs_alloys_produces_mult = 0.25 # }
planet_jobs_engineering_research_produces_mult = 0.25 # councilor_modifier = {
deposit_blockers_cost_mult = -0.4 # all_technology_research_speed = 0.5
planet_clear_blocker_time_mult = -0.6 # }
} # planet_modifier = {
sector_modifier = { # planet_buildings_cost_mult = -0.4
planet_buildings_cost_mult = -0.2 # planet_building_build_speed_mult = 0.6
planet_building_build_speed_mult = 0.2 # planet_jobs_alloys_produces_mult = 0.25
planet_jobs_alloys_produces_mult = 0.1 # planet_jobs_engineering_research_produces_mult = 0.25
planet_jobs_engineering_research_produces_mult = 0.1 # deposit_blockers_cost_mult = -0.4
deposit_blockers_cost_mult = -0.2 # planet_clear_blocker_time_mult = -0.6
planet_clear_blocker_time_mult = -0.2 # }
starbase_shipyard_build_cost_mult = -0.25 # sector_modifier = {
starbase_shipyard_build_speed_mult = -0.3 # planet_buildings_cost_mult = -0.2
} # planet_building_build_speed_mult = 0.2
fleet_modifier = { # planet_jobs_alloys_produces_mult = 0.1
ship_armor_mult = 3.5 # planet_jobs_engineering_research_produces_mult = 0.1
ship_hull_mult = 3.5 # deposit_blockers_cost_mult = -0.2
ships_upkeep_mult = -0.4 # planet_clear_blocker_time_mult = -0.2
ship_hull_regen_add_perc = 5 # starbase_shipyard_build_cost_mult = -0.25
ship_armor_regen_add_perc = 5 # starbase_shipyard_build_speed_mult = -0.3
} # }
army_modifier = { # fleet_modifier = {
army_collateral_damage_mult = 0.15 # ship_armor_mult = 3.5
army_disengage_chance_mult = 0.5 # ship_hull_mult = 3.5
army_health = 0.35 # ships_upkeep_mult = -0.4
} # ship_hull_regen_add_perc = 5
leader_class = { commander official scientist } # ship_armor_regen_add_perc = 5
initial = no # }
randomized = no # army_modifier = {
} # army_collateral_damage_mult = 0.15
# army_disengage_chance_mult = 0.5
# army_health = 0.35
# }
# leader_class = all
# initial = no
# randomized = no
# }
RG_leader_trait_governor_gray = { RG_leader_trait_governor_gray = {
#总督特质 #总督特质
@@ -98,6 +105,13 @@ RG_leader_trait_governor_gray = {
TIER = none TIER = none
} }
immortal_leaders = yes immortal_leaders = yes
triggered_self_modifier = {
potential = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
}
self_modifier = { self_modifier = {
species_leader_exp_gain = 1 species_leader_exp_gain = 1
} }
@@ -135,7 +149,7 @@ RG_leader_trait_ruler_gray = {
COUNCIL = yes COUNCIL = yes
TIER = none TIER = none
} }
# councilor_trait = yes # forced_councilor_trait = yes
triggered_self_modifier = { triggered_self_modifier = {
potential = { potential = {
is_councilor = yes is_councilor = yes
@@ -146,7 +160,7 @@ RG_leader_trait_ruler_gray = {
} }
} }
} }
leader_skill_levels = 1 # leader_skill_levels = 1
leaders_upkeep_mult = 0.1 leaders_upkeep_mult = 0.1
mult = trigger:has_skill mult = trigger:has_skill
} }
@@ -164,7 +178,7 @@ RG_leader_trait_ruler_gray = {
} }
} }
} }
leader_skill_levels = 1 # leader_skill_levels = 1
leaders_upkeep_mult = 0.15 leaders_upkeep_mult = 0.15
mult = trigger:has_skill mult = trigger:has_skill
} }
@@ -178,13 +192,13 @@ RG_leader_trait_ruler_gray = {
} }
} }
} }
leader_skill_levels = 1 # leader_skill_levels = 1
leaders_upkeep_mult = 0.2 leaders_upkeep_mult = 0.2
mult = trigger:has_skill mult = trigger:has_skill
} }
triggered_councilor_modifier = { triggered_councilor_modifier = {
potential = { potential = {
is_councilor = yes # is_councilor = yes
owner = { owner = {
check_variable = { check_variable = {
which = rg_gray_level which = rg_gray_level
@@ -198,7 +212,7 @@ RG_leader_trait_ruler_gray = {
} }
triggered_councilor_modifier = { triggered_councilor_modifier = {
potential = { potential = {
is_councilor = yes # is_councilor = yes
owner = { owner = {
check_variable = { check_variable = {
which = rg_gray_level which = rg_gray_level
@@ -216,7 +230,7 @@ RG_leader_trait_ruler_gray = {
} }
triggered_councilor_modifier = { triggered_councilor_modifier = {
potential = { potential = {
is_councilor = yes # is_councilor = yes
owner = { owner = {
check_variable = { check_variable = {
which = rg_gray_level which = rg_gray_level
@@ -243,9 +257,7 @@ RG_leader_trait_ruler_gray = {
country_base_influence_produces_add = 1 country_base_influence_produces_add = 1
mult = trigger:has_skill mult = trigger:has_skill
} }
leader_class = { leader_class = { official }
official
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -261,6 +273,13 @@ RG_leader_trait_admiral_gray_1 = {
COUNCIL = no COUNCIL = no
TIER = none TIER = none
} }
triggered_self_modifier = {
potential = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
}
self_modifier = { self_modifier = {
species_leader_exp_gain = 1 species_leader_exp_gain = 1
} }
@@ -277,9 +296,7 @@ RG_leader_trait_admiral_gray_1 = {
army_disengage_chance_mult = 0.3 army_disengage_chance_mult = 0.3
army_health = 0.15 army_health = 0.15
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -295,6 +312,13 @@ RG_leader_trait_admiral_gray_2 = {
COUNCIL = no COUNCIL = no
TIER = none TIER = none
} }
triggered_self_modifier = {
potential = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
}
self_modifier = { self_modifier = {
species_leader_exp_gain = 1 species_leader_exp_gain = 1
} }
@@ -311,9 +335,7 @@ RG_leader_trait_admiral_gray_2 = {
army_disengage_chance_mult = 0.4 army_disengage_chance_mult = 0.4
army_health = 0.25 army_health = 0.25
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -329,6 +351,13 @@ RG_leader_trait_admiral_gray = {
COUNCIL = no COUNCIL = no
TIER = none TIER = none
} }
triggered_self_modifier = {
potential = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
}
self_modifier = { self_modifier = {
species_leader_exp_gain = 1 species_leader_exp_gain = 1
} }
@@ -345,15 +374,12 @@ RG_leader_trait_admiral_gray = {
army_disengage_chance_mult = 0.5 army_disengage_chance_mult = 0.5
army_health = 0.35 army_health = 0.35
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }
RG_leader_trait_admiral_nanorebuild_gray = { RG_leader_trait_admiral_nanorebuild_gray = {
#3级舰长默认
cost = 0 cost = 0
inline_script = { inline_script = {
script = trait/icon_psionic script = trait/icon_psionic
@@ -371,9 +397,15 @@ RG_leader_trait_admiral_nanorebuild_gray = {
ship_hull_regen_add_perc = 0.5 ship_hull_regen_add_perc = 0.5
ship_armor_regen_add_perc = 0.5 ship_armor_regen_add_perc = 0.5
} }
leader_class = { triggered_army_modifier = {
commander potential = {
always = yes
}
army_damage_mult = 0.05
army_health = 0.05
mult = owner.rg_general_skill_combat_daypassed_variable
} }
leader_class = { commander }
initial = no initial = no
randomized = no randomized = no
} }
@@ -389,6 +421,13 @@ RG_leader_trait_scientist_gray = {
COUNCIL = no COUNCIL = no
TIER = none TIER = none
} }
triggered_self_modifier = {
potential = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
}
self_modifier = { self_modifier = {
species_leader_exp_gain = 1 species_leader_exp_gain = 1
} }
@@ -403,9 +442,7 @@ RG_leader_trait_scientist_gray = {
# ship_speed_mult = 0.5 # ship_speed_mult = 0.5
ship_anomaly_generation_chance_mult = -1 ship_anomaly_generation_chance_mult = -1
} }
leader_class = { leader_class = { scientist }
scientist
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -437,32 +474,31 @@ RG_leader_trait_scientist_gray = {
# randomized = no # randomized = no
# } # }
RG_leader_trait_general_gray_skill = { # 与舰长技能合并,弃用
destiny_trait = yes # RG_leader_trait_general_gray_skill = {
inline_script = { # destiny_trait = yes
script = trait/icon_psionic # inline_script = {
CLASS = commander # script = trait/icon_psionic
ICON = "GFX_leader_trait_supreme_warrior" # CLASS = commander
RARITY = paragon # ICON = "GFX_leader_trait_supreme_warrior"
COUNCIL = no # RARITY = paragon
TIER = none # COUNCIL = no
} # TIER = none
custom_tooltip_with_modifiers = RG_leader_trait_tempest_incoming_effect # }
triggered_army_modifier = { # custom_tooltip_with_modifiers = RG_leader_trait_tempest_incoming_effect
potential = { # triggered_army_modifier = {
always = yes # potential = {
} # always = yes
army_damage_mult = 0.05 # }
army_health = 0.05 # army_damage_mult = 0.05
mult = owner.rg_general_skill_combat_daypassed_variable # army_health = 0.05
} # mult = owner.rg_general_skill_combat_daypassed_variable
leader_class = { # }
commander # leader_class = { commander }
} # initial = no
initial = no # randomized = no
randomized = no # destiny_background_icon = "GFX_leader_background_destiny_1"
destiny_background_icon = "GFX_leader_background_destiny_1" # }
}
RG_leader_trait_admiral_fake_dragon = { RG_leader_trait_admiral_fake_dragon = {
cost = 0 cost = 0
@@ -483,9 +519,7 @@ RG_leader_trait_admiral_fake_dragon = {
ship_hull_mult = 0.2 ship_hull_mult = 0.2
ship_weapon_damage = 0.2 ship_weapon_damage = 0.2
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -528,9 +562,7 @@ RG_leader_trait_admiral_timed_life = {
ship_weapon_damage = 10 ship_weapon_damage = 10
custom_tooltip_with_modifiers = rg_timed_life_millennium custom_tooltip_with_modifiers = rg_timed_life_millennium
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }
@@ -574,9 +606,7 @@ RG_leader_trait_admiral_born_tobe_dragon = {
ship_weapon_damage = 0.01 ship_weapon_damage = 0.01
custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn
} }
leader_class = { leader_class = { commander }
commander
}
initial = no initial = no
randomized = no randomized = no
} }

View File

@@ -388,7 +388,7 @@ planet_event = {
exists = leader exists = leader
leader = { leader = {
#leader #leader
has_trait = RG_leader_trait_general_gray_skill has_trait = RG_leader_trait_admiral_nanorebuild_gray
owner = { owner = {
#country #country
save_event_target_as = attacking_general_country save_event_target_as = attacking_general_country
@@ -452,7 +452,7 @@ country_event = {
exists = leader exists = leader
leader = { leader = {
OR = { OR = {
has_trait = RG_leader_trait_general_gray_skill has_trait = RG_leader_trait_admiral_nanorebuild_gray
} }
} }
} }
@@ -547,7 +547,7 @@ country_event = {
exists = leader exists = leader
leader = { leader = {
OR = { OR = {
has_trait = RG_leader_trait_general_gray_skill has_trait = RG_leader_trait_admiral_nanorebuild_gray
} }
} }
if = { if = {

View File

@@ -1,5 +1,7 @@
namespace = wg_affection namespace = wg_affection
# 3.9引用空事件崩溃问题占位
# 3.10已弃用
country_event = { country_event = {
id = wg_affection.30000 id = wg_affection.30000
title = wg_affection.30000.name title = wg_affection.30000.name

View File

@@ -19,10 +19,10 @@
RG_leader_trait_general_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以辅助星域资源调度和研究资源调度。可不要让她做奇怪的事情哦?" RG_leader_trait_general_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以辅助星域资源调度和研究资源调度。可不要让她做奇怪的事情哦?"
RG_leader_trait_general_gray_skill:0 "§Y风暴将至§!" RG_leader_trait_general_gray_skill:0 "§Y风暴将至§!"
RG_leader_trait_general_gray_skill_desc:0 "灰色风暴在L星团中席卷无数纪元。倘若风暴再度到来想必那星球上的人们所看到的景色一定永生难忘吧。" RG_leader_trait_general_gray_skill_desc:0 "灰色风暴在L星团中席卷无数纪元。倘若风暴再度到来想必那星球上的人们所看到的景色一定永生难忘吧。"
RG_leader_trait_tempest_incoming_effect:0 "$ARMY_EFFECTS_TXT$:\n$t$每击杀一支敌对陆军:\n$tt$$MOD_ARMY_DAMAGE_MULT$: §G+5%§!\n$tt$$MOD_ARMY_HEALTH$: §G+5%§!\n$tt$直接击杀一支敌对陆军的概率: §G+1%§!\n当前BUFF层数: §Y[owner.rg_general_skill_combat_daypassed_variable]§!\n当前概率为: §Y[owner.rg_general_skill_combat_killed_variable]%§!" RG_leader_trait_tempest_incoming_effect:0 "$ARMY_EFFECTS_TXT$:\n$t$每击杀一支敌对陆军:\n$tt$$MOD_ARMY_DAMAGE_MULT$: §G+5%§!\n$tt$$MOD_ARMY_HEALTH$: §G+5%§!\n$tt$§Y直接击杀一支敌对陆军的概率§!: §G+1%§!\n$t$当前§YBUFF层数§!: §Y[owner.rg_general_skill_combat_daypassed_variable]§!\n$t$当前§Y直接击杀一支敌对陆军的概率§!为: §Y[owner.rg_general_skill_combat_killed_variable]%§!"
RG_leader_trait_admiral_nanorebuild_gray:0 "§Y灰质重塑§!" RG_leader_trait_admiral_nanorebuild_gray:0 "§Y灰质重塑§!"
RG_leader_trait_admiral_nanorebuild_gray_desc:0 "创造与解构,纳米机器席卷之处我们无所不能。" RG_leader_trait_admiral_nanorebuild_gray_desc:0 "灰色风暴在L星团中席卷无数纪元。\n创造与解构,纳米机器席卷之处我们无所不能。"
RG_leader_trait_admiral_nanorebuild_effect:0 "$FLEET_EFFECTS_TXT$:\n$t$每摧毁一艘敌军舰船:\n$tt$§Y计数器层数§!: §G+1§!\n$t$这位领袖所在舰队损失舰船时:\n$tt$消耗§Y计数器层数§!立即重建舰船。\n$t$当前§Y计数器层数§!: §Y[owner.rg_nanorebuild_counter]§!\n$t$§Y$NAME_Gray$§!无法被该技能重组。" RG_leader_trait_admiral_nanorebuild_effect:0 "$FLEET_EFFECTS_TXT$:\n$t$每摧毁一艘敌军舰船:\n$tt$§Y重塑计数器层数§!: §G+1§!\n$t$这位领袖所在舰队损失舰船时:\n$tt$消耗§Y重塑计数器层数§!立即重建舰船。\n$t$当前§Y重塑计数器层数§!: §Y[owner.rg_nanorebuild_counter]§!\n$t$§Y$NAME_Gray$§!无法被该技能重建。\n\n$RG_leader_trait_tempest_incoming_effect$"
RG_leader_trait_ruler_gray_tt:0 "§E随每技能等级提升的效果:§!" RG_leader_trait_ruler_gray_tt:0 "§E随每技能等级提升的效果:§!"
RG_leader_trait_variable_tt:0 "§E随变量层数提升的效果:§!" RG_leader_trait_variable_tt:0 "§E随变量层数提升的效果:§!"