模板:PZ Item Infobox/Weapon:修订间差异
外观
BluElephant(留言 | 贡献) 创建页面,内容为“<noinclude> 这是武器专属的数据存储与渲染子模块。 {{#cargo_declare:_table=PZ_Weapons |Item_ID = String |MaxDamage = Float |MinDamage = Float |CriticalChance = Float |ConditionMax = Integer |ConditionLowerChanceOneIn = Integer |EnduranceMod = Float |DoorDamage = Integer |TreeDamage = Integer }} </noinclude><includeonly>{{#cargo_store:_table=PZ_Weapons |Item_ID = {{{Item_ID|}}} |MaxDamage = {{{MaxDamage|}}} |MinDamage = {{{MinDamage|}}} |Critical…” |
BluElephant(留言 | 贡献) 无编辑摘要 |
||
| (未显示同一用户的6个中间版本) | |||
| 第1行: | 第1行: | ||
<noinclude> | <noinclude> | ||
这是武器专属的数据存储与渲染子模块。 | 这是武器专属的数据存储与渲染子模块。 | ||
== 数据库建表图纸 == | |||
{{#cargo_declare:_table=PZ_Weapons | {{#cargo_declare:_table=PZ_Weapons | ||
|Item_ID = String | |Item_ID=String | ||
|MaxDamage = Float | |MaxDamage=Float | ||
|MinDamage = Float | |MinDamage=Float | ||
|CriticalChance = Float | |CriticalChance=Float | ||
|ConditionMax = Integer | |ConditionMax=Integer | ||
|ConditionLowerChanceOneIn = Integer | |ConditionLowerChanceOneIn=Integer | ||
|EnduranceMod = Float | |EnduranceMod=Float | ||
|DoorDamage = Integer | |DoorDamage=Integer | ||
|TreeDamage = Integer | |TreeDamage=Integer | ||
|ExpectedUses=Integer | |||
}} | }} | ||
</noinclude><includeonly>{{#cargo_store:_table=PZ_Weapons | </noinclude><includeonly>{{#cargo_store:_table=PZ_Weapons | ||
|Item_ID = {{{Item_ID|}}} | |Item_ID={{{Item_ID|}}} | ||
|MaxDamage = {{{MaxDamage|}}} | |MaxDamage={{{MaxDamage|}}} | ||
|MinDamage = {{{MinDamage|}}} | |MinDamage={{{MinDamage|}}} | ||
|CriticalChance = {{{CriticalChance|}}} | |CriticalChance={{{CriticalChance|}}} | ||
|ConditionMax = {{{ConditionMax|}}} | |ConditionMax={{{ConditionMax|}}} | ||
|ConditionLowerChanceOneIn = {{{ConditionLowerChanceOneIn|}}} | |ConditionLowerChanceOneIn={{{ConditionLowerChanceOneIn|}}} | ||
|EnduranceMod = {{{EnduranceMod|}}} | |EnduranceMod={{{EnduranceMod|}}} | ||
|DoorDamage = {{{DoorDamage|}}} | |DoorDamage={{{DoorDamage|}}} | ||
|TreeDamage = {{{TreeDamage|}}} | |TreeDamage={{{TreeDamage|}}} | ||
|ExpectedUses={{#expr: {{{ConditionMax|0}}} * {{{ConditionLowerChanceOneIn|1}}} }} | |||
}}{{#if:{{{MaxDamage|}}}| | }}{{#if:{{{MaxDamage|}}}| | ||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | <tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | ||