群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
Modifiers
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== Modifier Effects === There are three types of modifiers. * ''add'' modifiers add/substracts a set amount of a resource or attribute to a scope * ''mult'' modifiers increase or decrease the amount of a resource or attribute by a percentage * ''reduction'' modifiers divide an amount of a resource or attribute by a set amount These affect the resource or attribute amounts in different ways. For example, if the cost, production, or upkeep of a certain resource is ''x'', then the actual amount of that resource will be: ''((x + (Sum of all '''''add''''' modifiers)) * (1 + (Sum of all '''''mult''''' modifiers))) * (1 - '''''reduction''''')'' Example: ''planet_buildings_minerals_cost_mult = 1'' would make all the buildings cost twice as much minerals. So a '''Research Lab''' that normally costs 400 minerals would cost ''400 * (1 + '''1''') = 400 * 2 = 800'' minerals. ''planet_buildings_minerals_cost_add = 1'' would make all the buildings cost one mineral more. So a '''Research Lab''' that normally costs 400 minerals would cost ''400 + '''1''' = 401'' minerals ''pop_growth_speed_reduction = 0.5'' would make a species grow half as fast. If a species on planet has a base growth speed of 4, their final growth speed would be: 4 * (-1 * 0.5) = 4 * -0.5 = 2 There can be multiple modifiers effecting a single resource cost, production, or upkeep. For instance, if the empire has a civic that applies ''planet_buildings_minerals_cost_mult = -0.1'', but the planet has a modifer that applies ''planet_buildings_minerals_cost_mult = 0.20'', then the buildings on that planet will cost 10% more: ''(400 * (1 + '''0.20''' + '''-0.1''') = 400 * (1.1) = 440'' minerals. ''Reduction'' modifiers have a larger effect than ''mult'' modifiers. Let's say a species has a base growth speed of 3. They have a trait with ''pop_growth_speed = 0.25'' increasing growth speed by 25%. Their habitability on the planet gives them ''pop_growth_speed = -0.10'' The empire has a temporary modifier giving them ''pop_growth_speed_reduction = 0.25'' There final growth speed is: ''(3 * (1 + 0.25 + -0.1)) * (1 - 0.25) = (3 * 1.15) * 0.75 = 3.45 * 0.75 = 2.5875 A ''Reduction'' modifier of 1 will always result in 0, no matter what ''add'' or ''mult'' modifers are applied as well. There could also be other modifiers in the hierarchy. For instance, if the modifer on the planet was ''planet_structures_minerals_cost_mult = 0.20'', then districts on that planet would cost 20% more ''(500 * (1 + '''0.20''') = 500 * 1.2 = 600'' minerals, while the buildings would only be 10% more. Since ''planet_structures'' is the parent of ''planet_buildings'', the buildings would be effected by both modifiers, but ''planet_districts'' would only be effected by the ''planet_structures_xxxx'' modifier on the planet. Which modifiers gets applied to a resource depends on where it is in the Economic Category hierarchy, as well as where it is being applied.
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录