(建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] <!-- EDIT TEMPLATE…”的新页面) |
(→参数) |
||
(未显示同一用户的9个中间版本) | |||
第9行: | 第9行: | ||
:* high | :* high | ||
:* very high | :* very high | ||
:* custom | |||
;2 | ;2 | ||
:第 | : 如果 第 一 个参数 是custom,则此参数输入自定义增益数值。 | ||
:如果第一个参数不是custom,则此参数输入 建筑等级。 目前,仅支持1至8的数值。 | |||
: 没有默认值,总是必须输入。 | |||
;3 | ;3 | ||
第18行: | 第20行: | ||
;4 | ;4 | ||
:第 | :第 四 个参数是兵士的类型。默认值 为maa 。 | ||
目前支持 : | |||
{|class="wikitable" | |||
! 参数 | |||
! 兵士类型 | |||
|- | |||
| maa | |||
| 兵士 | |||
|- | |||
| skirmishers | |||
| 散兵 | |||
|- | |||
| archers | |||
| 弓箭手 | |||
|- | |||
| light cavalry | |||
| 轻骑兵 | |||
|- | |||
| heavy cavalry | |||
| 重骑兵 | |||
|- | |||
| pikemen | |||
| 枪兵 | |||
|- | |||
| heavy infantry | |||
| 重步兵 | |||
|- | |||
| archer cavalry | |||
| 弓骑兵 | |||
|- | |||
| camel cavalry | |||
| 骆驼骑兵 | |||
|- | |||
| elephant cavalry | |||
| 象骑兵 | |||
|- | |||
| siege weapon | |||
| 攻城武器 | |||
|} | |||
;5 | |||
:第五个参数控制数值类型。默认为百分比,可添加参数<code>add</code>变更为数值。主要用于游戏建筑文件中的<code>stationed_maa_screen_add</code>。 | |||
;6 | |||
:第六个参数控制兵士的描述类型。默认为“驻扎”。可添加参数<code>none</code>,此时无“驻扎”描述。 | |||
== 用法 == | == 用法 == | ||
第35行: | 第80行: | ||
;举例: | ;举例: | ||
:<code><nowiki>{{building maa bonuses|normal|4|siege weapon|siege}}</nowiki></code> | :<code><nowiki>{{building maa bonuses|normal|4|damage}}</nowiki></code> | ||
将生成 | |||
{{building maa bonuses|normal|4|damage}} | |||
;举例: | |||
:<code><nowiki>{{building maa bonuses|normal|4|siege|siege weapon}}</nowiki></code> | |||
将生成 | |||
{{building maa bonuses|normal|4|siege|siege weapon}} | |||
;举例: | |||
:<code><nowiki>{{building maa bonuses|normal|4|screen||add}}</nowiki></code> | |||
将生成 | |||
{{building maa bonuses|normal|4|screen||add}} | |||
;举例: | |||
:<code><nowiki>{{building maa bonuses|custom|4|screen||add}}</nowiki></code> | |||
将生成 | 将生成 | ||
{{building maa bonuses| | {{building maa bonuses|custom|4|screen||add}} | ||
== 驻扎兵士增益列表 == | == 驻扎兵士增益列表 == | ||
以攻城武器为例。 | |||
{|class="wikitable" | {|class="wikitable" | ||
! 等级 | ! 等级 | ||
! | ! low | ||
! normal | ! normal | ||
! | ! high | ||
! | ! very high | ||
|- | |- | ||
| 1 | | 1 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|1|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|1|toughness|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|1|screen|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|1|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|1|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|1|damage|siege weapon}} | |||
* {{building maa bonuses|normal|1|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|1|screen|siege weapon}} | |||
* {{building maa bonuses|normal|1|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|1|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|1|damage|siege weapon}} | |||
* {{building maa bonuses|high|1|toughness|siege weapon}} | |||
* {{building maa bonuses|high|1|screen|siege weapon}} | |||
* {{building maa bonuses|high|1|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|1|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|1|damage|siege weapon}} | |||
* {{building maa bonuses|very high|1|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|1|screen|siege weapon}} | |||
* {{building maa bonuses|very high|1|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|1|siege|siege weapon}} | |||
|- | |- | ||
| 2 | | 2 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|2|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|2|toughness|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|2|screen|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|2|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|2|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|2|damage|siege weapon}} | |||
* {{building maa bonuses|normal|2|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|2|screen|siege weapon}} | |||
* {{building maa bonuses|normal|2|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|2|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|2|damage|siege weapon}} | |||
* {{building maa bonuses|high|2|toughness|siege weapon}} | |||
* {{building maa bonuses|high|2|screen|siege weapon}} | |||
* {{building maa bonuses|high|2|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|2|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|2|damage|siege weapon}} | |||
* {{building maa bonuses|very high|2|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|2|screen|siege weapon}} | |||
* {{building maa bonuses|very high|2|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|2|siege|siege weapon}} | |||
|- | |- | ||
| 3 | | 3 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|3|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|3|toughness|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|3|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|3|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|3|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|3|damage|siege weapon}} | |||
* {{building maa bonuses|normal|3|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|3|screen|siege weapon}} | |||
* {{building maa bonuses|normal|3|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|3|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|3|damage|siege weapon}} | |||
* {{building maa bonuses|high|3|toughness|siege weapon}} | |||
* {{building maa bonuses|high|3|screen|siege weapon}} | |||
* {{building maa bonuses|high|3|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|3|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|3|damage|siege weapon}} | |||
* {{building maa bonuses|very high|3|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|3|screen|siege weapon}} | |||
* {{building maa bonuses|very high|3|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|3|siege|siege weapon}} | |||
|- | |- | ||
| 4 | | 4 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|4|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|4|toughness|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|4|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|4|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|4|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|4|damage|siege weapon}} | |||
* {{building maa bonuses|normal|4|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|4|screen|siege weapon}} | |||
* {{building maa bonuses|normal|4|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|4|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|4|damage|siege weapon}} | |||
* {{building maa bonuses|high|4|toughness|siege weapon}} | |||
* {{building maa bonuses|high|4|screen|siege weapon}} | |||
* {{building maa bonuses|high|4|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|4|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|4|damage|siege weapon}} | |||
* {{building maa bonuses|very high|4|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|4|screen|siege weapon}} | |||
* {{building maa bonuses|very high|4|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|4|siege|siege weapon}} | |||
|- | |- | ||
| 5 | | 5 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|5|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|5|toughness|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|5|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|5|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|5|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|5|damage|siege weapon}} | |||
* {{building maa bonuses|normal|5|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|5|screen|siege weapon}} | |||
* {{building maa bonuses|normal|5|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|5|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|5|damage|siege weapon}} | |||
* {{building maa bonuses|high|5|toughness|siege weapon}} | |||
* {{building maa bonuses|high|5|screen|siege weapon}} | |||
* {{building maa bonuses|high|5|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|5|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|5|damage|siege weapon}} | |||
* {{building maa bonuses|very high|5|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|5|screen|siege weapon}} | |||
* {{building maa bonuses|very high|5|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|5|siege|siege weapon}} | |||
|- | |- | ||
| 6 | | 6 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|6|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|6|toughness|siege weapon}} | ||
| | * {{building maa bonuses|low|6|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|6|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|6|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|6|damage|siege weapon}} | |||
* {{building maa bonuses|normal|6|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|6|screen|siege weapon}} | |||
* {{building maa bonuses|normal|6|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|6|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|6|damage|siege weapon}} | |||
* {{building maa bonuses|high|6|toughness|siege weapon}} | |||
* {{building maa bonuses|high|6|screen|siege weapon}} | |||
* {{building maa bonuses|high|6|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|6|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|6|damage|siege weapon}} | |||
* {{building maa bonuses|very high|6|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|6|screen|siege weapon}} | |||
* {{building maa bonuses|very high|6|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|6|siege|siege weapon}} | |||
|- | |- | ||
| 7 | | 7 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|7|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|7|toughness|siege weapon}} | ||
| | * {{building maa bonuses|low|7|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|7|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|7|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|7|damage|siege weapon}} | |||
* {{building maa bonuses|normal|7|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|7|screen|siege weapon}} | |||
* {{building maa bonuses|normal|7|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|7|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|7|damage|siege weapon}} | |||
* {{building maa bonuses|high|7|toughness|siege weapon}} | |||
* {{building maa bonuses|high|7|screen|siege weapon}} | |||
* {{building maa bonuses|high|7|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|7|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|7|damage|siege weapon}} | |||
* {{building maa bonuses|very high|7|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|7|screen|siege weapon}} | |||
* {{building maa bonuses|very high|7|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|7|siege|siege weapon}} | |||
|- | |- | ||
| 8 | | 8 | ||
| {{ | | | ||
| {{ | * {{building maa bonuses|low|8|damage|siege weapon}} | ||
| {{ | * {{building maa bonuses|low|8|toughness|siege weapon}} | ||
| | * {{building maa bonuses|low|8|screen|siege weapon}} | ||
| | * {{building maa bonuses|low|8|pursuit|siege weapon}} | ||
* {{building maa bonuses|low|8|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|normal|8|damage|siege weapon}} | |||
* {{building maa bonuses|normal|8|toughness|siege weapon}} | |||
* {{building maa bonuses|normal|8|screen|siege weapon}} | |||
* {{building maa bonuses|normal|8|pursuit|siege weapon}} | |||
* {{building maa bonuses|normal|8|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|high|8|damage|siege weapon}} | |||
* {{building maa bonuses|high|8|toughness|siege weapon}} | |||
* {{building maa bonuses|high|8|screen|siege weapon}} | |||
* {{building maa bonuses|high|8|pursuit|siege weapon}} | |||
* {{building maa bonuses|high|8|siege|siege weapon}} | |||
| | |||
* {{building maa bonuses|very high|8|damage|siege weapon}} | |||
* {{building maa bonuses|very high|8|toughness|siege weapon}} | |||
* {{building maa bonuses|very high|8|screen|siege weapon}} | |||
* {{building maa bonuses|very high|8|pursuit|siege weapon}} | |||
* {{building maa bonuses|very high|8|siege|siege weapon}} | |||
|} | |} | ||
2023年6月2日 (五) 23:14的最新版本
此模板用于在CK3维基中规范化生成建筑的驻扎兵士增益,从而更容易在游戏更新时编辑它们的格式和数值[1]。
参数[编辑源代码]
- 1
- 第一个参数是建筑驻扎兵士增益的分类。没有默认值,总是必须输入。目前支持以下数值:
- low
- normal
- high
- very high
- custom
- 2
- 如果第一个参数是custom,则此参数输入自定义增益数值。
- 如果第一个参数不是custom,则此参数输入建筑等级。目前,仅支持1至8的数值。
- 没有默认值,总是必须输入。
- 3
- 第三个参数是增益的类型(伤害、坚韧、掩护、追击、攻城武器的效率)。没有默认值,总是必须输入。目前支持:damage,toughness,screen,pursuit,siege。
- 4
- 第四个参数是兵士的类型。默认值为maa。
目前支持:
参数 | 兵士类型 |
---|---|
maa | 兵士 |
skirmishers | 散兵 |
archers | 弓箭手 |
light cavalry | 轻骑兵 |
heavy cavalry | 重骑兵 |
pikemen | 枪兵 |
heavy infantry | 重步兵 |
archer cavalry | 弓骑兵 |
camel cavalry | 骆驼骑兵 |
elephant cavalry | 象骑兵 |
siege weapon | 攻城武器 |
- 5
- 第五个参数控制数值类型。默认为百分比,可添加参数
add
变更为数值。主要用于游戏建筑文件中的stationed_maa_screen_add
。
- 6
- 第六个参数控制兵士的描述类型。默认为“驻扎”。可添加参数
none
,此时无“驻扎”描述。
用法[编辑源代码]
- 语法:
{{building maa bonuses|normal|4|damage|maa}}
替换上面的语法中的相应修正参数。
- 举例:
{{building maa bonuses|normal|4|damage|maa}}
将生成
驻扎兵士伤害:+30%
- 举例:
{{building maa bonuses|normal|4|damage}}
将生成
驻扎兵士伤害:+30%
- 举例:
{{building maa bonuses|normal|4|siege|siege weapon}}
将生成
驻扎攻城武器效率:+25%
- 举例:
{{building maa bonuses|normal|4|screen||add}}
将生成
驻扎兵士掩护:+30
- 举例:
{{building maa bonuses|custom|4|screen||add}}
将生成
驻扎兵士掩护:+4
驻扎兵士增益列表[编辑源代码]
以攻城武器为例。
等级 | low | normal | high | very high |
---|---|---|---|---|
1 |
|
|
|
|
2 |
|
|
|
|
3 |
|
|
|
|
4 |
|
|
|
|
5 |
|
|
|
|
6 |
|
|
|
|
7 |
|
|
|
|
8 |
|
|
|
|
其他建筑模板[编辑源代码]
参考资料[编辑源代码]
- ↑ 基础数值与每级的增长数值见
Crusader Kings III\game\common\script_values\00_building_values.txt
中的MaA Bonuses部分