暂存 特质合并

This commit is contained in:
ProjectKoi-Kalo\Kalo 2023-11-20 20:39:13 +08:00
parent ff3ed9f4f1
commit c67315b296
6 changed files with 43 additions and 32 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

@ -397,6 +397,14 @@ 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
} }
triggered_army_modifier = {
potential = {
always = yes
}
army_damage_mult = 0.05
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
@ -466,30 +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 } # }
initial = no # leader_class = { commander }
randomized = no # initial = no
destiny_background_icon = "GFX_leader_background_destiny_1" # randomized = no
} # destiny_background_icon = "GFX_leader_background_destiny_1"
# }
RG_leader_trait_admiral_fake_dragon = { RG_leader_trait_admiral_fake_dragon = {
cost = 0 cost = 0

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随变量层数提升的效果:§!"