数码资源网·下载

展开

大将军罗马自建血脉遗传事件代码与效果

作者:网友整理
十字军之王2血脉代码v1.12.7

十字军之王2血脉代码v1.12.7 55.68M /

点击下载
罗马教堂逃脱v1.4.3

罗马教堂逃脱v1.4.3 62.71M /

点击下载
希望ol代码v1.10.5

希望ol代码v1.10.5 89.38M /

点击下载

大将军罗马中玩家可以通过修改代码来调整一些系统方面的内容,包括遗传事件也可以自己写,今天为各位带来了大将军罗马自建血脉遗传事件代码与效果,感情去的朋友们快来看看吧。如果你想要轻松一些的玩游戏,那么使用大将军罗马十六项修改器是一个不错的选择哦!

大将军罗马自建血脉遗传事件代码与效果截图

大将军罗马自建血脉遗传事件代码与效果

效果

效果是母亲触发一个窗口事件,给新生儿添加一个幸运儿的特质。

要求父亲或者母亲之一有幸运儿特质。

如图所示:

大将军罗马自建血脉遗传事件代码与效果

代码

blood_trait_test.100 = {

type = character_event

title = "blood_trait_test.100.t"

desc = "blood_trait_test.100.desc"

picture = greek_court

left_portrait = scope:the_mother_for_child

left_portrait = scope:the_target_child

right_portrait = scope:the_father_for_child

trigger = {

is_alive = yes

exists = employer

}

immediate = {

hidden_effect = {

root = {

save_scope_as = the_mother_for_child

}

scope:newborn = {

save_scope_as = the_target_child

}

employer = {

if = {

limit = {

any_character = {

is_spouse_of = root

is_alive = yes

}

}

random_character = {

limit = {

is_spouse_of = root

is_alive = yes

}

save_scope_as = the_father_for_child

}

}

}

}

}

option = {

name = "blood_trait_test.100.a"

custom_tooltip = "blood_trait_test.100.a.custom"

if = {

limit = {

OR = {

AND = {

exists = scope:the_father_for_child

scope:the_father_for_child = {

has_trait = luckyone

}

}

scope:the_mother_for_child = {

has_trait = luckyone

}

}

scope:the_target_child = {

is_alive = yes

NOT = { has_trait = luckyone }

}

}

scope:the_target_child = {

add_trait = luckyone

}

}

}

}

大将军罗马下载专题还有很多的游戏攻略哦!

加载全部内容

相关文章
相关专题