模板:PZ Item Infobox/Weapon:修订间差异
外观
BluElephant(留言 | 贡献) 无编辑摘要 |
BluElephant(留言 | 贡献) 无编辑摘要 |
||
| (未显示同一用户的5个中间版本) | |||
| 第3行: | 第3行: | ||
== 数据库建表图纸 == | == 数据库建表图纸 == | ||
{{#cargo_declare: | {{#cargo_declare:_table=PZ_Weapons | ||
_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: | </noinclude><includeonly>{{#cargo_store:_table=PZ_Weapons | ||
_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);"> | ||