This commit is contained in:
parent
4cae3bfc19
commit
3cc7c6b4ef
|
@ -190,5 +190,27 @@ on_ship_destroyed_perp = {
|
|||
rg_skill.11
|
||||
rg_story.10
|
||||
rg_story.22
|
||||
rg_skill.12
|
||||
rg_skill.13
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (winner)
|
||||
# From = owner of fleet 2 (loser)
|
||||
# FromFrom = fleet 1
|
||||
# FromFromFrom = fleet 2
|
||||
on_space_battle_won = {
|
||||
events = {
|
||||
rg_skill.14
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (loser)
|
||||
# From = owner of fleet 2 (winner)
|
||||
# FromFrom = fleet 1
|
||||
# FromFromFrom = fleet 2
|
||||
on_space_battle_lost = {
|
||||
events = {
|
||||
rg_skill.14
|
||||
}
|
||||
}
|
||||
|
|
|
@ -279,3 +279,10 @@ RG_leader_trait_tempest_incoming_random_kill_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = {
|
||||
set_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -196,6 +196,7 @@ rg_gray_admiral_init = {
|
|||
}
|
||||
set_leader_flag = rg_gray_leader
|
||||
add_trait_no_notify = RG_leader_trait_admiral_gray
|
||||
add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray
|
||||
# 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成
|
||||
add_trait_no_notify = subclass_admiral_aggressor
|
||||
add_trait_no_notify = leader_trait_carrier_specialization
|
||||
|
@ -243,7 +244,7 @@ rg_gray_admiral_init = {
|
|||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes
|
||||
}
|
||||
|
||||
rg_gray_general_init = {
|
||||
|
|
|
@ -246,6 +246,32 @@ RG_leader_trait_admiral_gray = {
|
|||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_nanorebuild_gray = {
|
||||
#3级舰长(默认
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_nanorebuild"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
custom_tooltip_with_modifiers = RG_leader_trait_admiral_nanorebuild_effect
|
||||
modifier = {
|
||||
ship_armor_mult = 0.5
|
||||
ship_hull_mult = 0.5
|
||||
ships_upkeep_mult = -0.1
|
||||
ship_hull_regen_add_perc = 0.5
|
||||
ship_armor_regen_add_perc = 0.5
|
||||
}
|
||||
leader_class = {
|
||||
admiral
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_scientist_gray = {
|
||||
#科学家特质
|
||||
cost = 0
|
||||
|
|
|
@ -597,3 +597,110 @@ country_event = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 纳米重塑
|
||||
country_event = {
|
||||
id = rg_skill.12
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
FromFromFrom = {
|
||||
is_in_combat = yes
|
||||
NOT = {
|
||||
is_same_value = event_target:gray_warship
|
||||
}
|
||||
}
|
||||
FromFrom.leader = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
check_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value >= 1
|
||||
}
|
||||
}
|
||||
}
|
||||
FromFromFrom = {
|
||||
save_event_target_as = event_ship
|
||||
}
|
||||
FromFromFrom.fleet = {
|
||||
create_ship = {
|
||||
name = event_target:event_ship
|
||||
design = event_target:event_ship
|
||||
}
|
||||
}
|
||||
event_target:gray_owner = {
|
||||
change_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_skill.13
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
FromFromFrom = {
|
||||
is_in_combat = yes
|
||||
}
|
||||
FromFrom.solar_system = {
|
||||
any_fleet_in_system = {
|
||||
leader = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
}
|
||||
}
|
||||
this = {
|
||||
NOT = {
|
||||
is_same_value = event_target:gray_owner
|
||||
is_in_federation_with = event_target:gray_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
event_target:gray_owner = {
|
||||
change_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_skill.14
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
fleet.leader = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
event_target:gray_owner = {
|
||||
check_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
event_target:gray_owner = {
|
||||
change_variable = {
|
||||
which = rg_nanorebuild_counter
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,6 @@
|
|||
spriteTypes = {
|
||||
spriteType = {
|
||||
name = "GFX_leader_trait_nanorebuild"
|
||||
texturefile = "gfx/interface/icons/traits/leader_trait_icons/nanorebuild.dds"
|
||||
}
|
||||
}
|
|
@ -18,6 +18,9 @@
|
|||
RG_leader_trait_general_gray_skill:0 "§Y风暴将至§!"
|
||||
RG_leader_trait_general_gray_skill_desc:0 "灰色风暴在L星团中席卷无数纪元。倘若风暴再度到来,想必那星球上的人们所看到的景色一定永生难忘吧。"
|
||||
RG_leader_trait_tempest_incoming_effect:0 "\n$t$§Y每击杀一个敌军单位§!:\n$tt$§G 额外陆军伤害 +5%§!\n§G 额外陆军生命值 +5%§!$t$\n当前BUFF层数:§G[owner.rg_general_skill_combat_daypassed_variable]§!£time£\n$tt$§G直接击杀一支敌对陆军的概率增加:§!§Y1%§!\n当前概率为:§R[owner.rg_general_skill_combat_killed_variable]%§!"
|
||||
RG_leader_trait_admiral_nanorebuild_gray:0 "§Y灰质重塑§!"
|
||||
RG_leader_trait_admiral_nanorebuild_gray_desc:0 "分解与重组,纳米机器席卷之处我们无所不能。"
|
||||
RG_leader_trait_admiral_nanorebuild_effect:0 "\n$t$§Y每击杀一个敌军单位§!:\n$tt$§G 重组计数器 +1§!\n当前计数器层数:§G[owner.rg_nanorebuild_counter]§!\n$tt$§Y该特质领袖所在舰队损失舰船时:消耗1计数器层数立即重塑舰船。灰风母舰无法被该技能重组。§!"
|
||||
|
||||
SMALL_GRAY_MIX_ARMOR:0 "§Y纳米能量装甲§!"
|
||||
MEDIUM_GRAY_MIX_ARMOR:0 "§Y纳米能量装甲§!"
|
||||
|
|
Loading…
Reference in New Issue