Template:Damage/doc: Difference between revisions
From Elwiki
(→Extra) |
No edit summary |
||
Line 9: | Line 9: | ||
*'''awk_dmg''' - in [[Awakening Mode]] | *'''awk_dmg''' - in [[Awakening Mode]] | ||
*'''hits''' - specifies maximum hit counts. If not provided, defaults to 1 for all damage effects. | *'''hits''' - specifies maximum hit counts. If not provided, defaults to 1 for all damage effects. | ||
*'''awk_hits''' - in [[Awakening Mode]] | *'''awk_hits''' - in [[Awakening Mode]] | ||
*'''avg_hits''' - specifies average hit counts | *'''avg_hits''' - specifies average hit counts | ||
Line 95: | Line 93: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Generate Table", | "label": "Generate Table", | ||
"description": "If true, attemps to generate a table out of the variables automatically.", | "description": "If true, attemps to generate a table out of the variables automatically.", | ||
Line 145: | Line 140: | ||
}, | }, | ||
"hits": { | "hits": { | ||
"label": "Hits", | "label": "Hits (PvE)", | ||
"description": "Hit counts for each damage effect, separated by commas. | "description": "Hit counts for each damage effect, separated by commas. If not provided, it will equal to 1 for all values provided with 'dmg'.", | ||
"example": "13, 23", | "example": "13, 23", | ||
"type": "string", | "type": "string", | ||
"default": "1 | "default": "1", | ||
"autovalue": "0", | "autovalue": "0", | ||
"suggested": true | "suggested": true | ||
Line 198: | Line 193: | ||
"description": "Provided as a fraction lower than 1.", | "description": "Provided as a fraction lower than 1.", | ||
"example": "0.75", | "example": "0.75", | ||
"type": "number" | "type": "number", | ||
"aliases": [ | |||
"useful" | |||
] | |||
}, | }, | ||
"heavy": { | "heavy": { | ||
Line 221: | Line 219: | ||
"passive1": { | "passive1": { | ||
"label": "Passive 1", | "label": "Passive 1", | ||
"description": "Generates additional variables with passive values imbued into them. Uses arrays included in passive skill pages. Exact page name required.", | "description": "Generates additional variables with passive values imbued into them. Uses arrays included in passive skill pages. Exact page name required. The documentation only mentions 3 passives, but more also works.", | ||
"example": "Hawkeye", | "example": "Hawkeye", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
Line 227: | Line 225: | ||
"passive2": { | "passive2": { | ||
"label": "Passive 2", | "label": "Passive 2", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 241: | Line 232: | ||
"example": "true", | "example": "true", | ||
"type": "boolean", | "type": "boolean", | ||
"default": " | "default": "true" | ||
}, | }, | ||
"dump": { | "dump": { | ||
"label": "Print all variables", | "label": "Print all variables", | ||
"description": "Dumps all | "description": "Dumps a <pre> with all damage numbers.", | ||
"example": "true", | "example": "true", | ||
"type": "boolean", | "type": "boolean", | ||
Line 277: | Line 268: | ||
"description": "If this parameter is used, it will multiply itself by range_max. Intended for mechanics like Sentimental Points with even stages of damage increase.", | "description": "If this parameter is used, it will multiply itself by range_max. Intended for mechanics like Sentimental Points with even stages of damage increase.", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"count_name": { | "count_name": { | ||
Line 304: | Line 278: | ||
"append": { | "append": { | ||
"label": "System Effect", | "label": "System Effect", | ||
"description": "When generating a table, specify a passive/system effect that will consider everything in two cases - no effect and effect present. The first part is the passive's number provided with 'passive[ | "description": "When generating a table, specify a passive/system effect that will consider everything in two cases - no effect and effect present. The first part is the passive's number provided with 'passive[number]' beforehand. The second part is optional, and is used to give it an alternate name.", | ||
"example": "1, Over Strike", | "example": "1, Over Strike", | ||
"type": "string" | "type": "string" | ||
Line 310: | Line 284: | ||
"combine": { | "combine": { | ||
"label": "Combined Passives", | "label": "Combined Passives", | ||
"description": "A comma-separated list of passives defined via 'passive[ | "description": "A comma-separated list of passives defined via 'passive[number]' to merge when generating a table. For example, providing 'Key of Proof' as passive 1, 'Musket Master' as passive2 and 'combine' as '1, 2' will output 'Key of Proof/Musket Master' to the header, and correctly mix-match the damage values.", | ||
"example": "2, 3", | "example": "2, 3", | ||
"type": "string" | "type": "string" | ||
Line 328: | Line 302: | ||
"use_avg": { | "use_avg": { | ||
"label": "Use Average For Instances", | "label": "Use Average For Instances", | ||
"description": "When generating a table, ignores 'each_damage' fields, and instead generates the regular 'avg_damage' fields.", | "description": "When generating a table, ignores 'each_damage' fields, and instead generates the regular 'avg_damage' fields. The 'total_damage' fields are still calculated using the 'count' argument.", | ||
"example": "true", | "example": "true", | ||
"type": "boolean" | "type": "boolean" | ||
Line 358: | Line 332: | ||
"perm_buff": { | "perm_buff": { | ||
"label": "Permanent Effect", | "label": "Permanent Effect", | ||
"description": " | "description": "A buff effect for the whole skill.", | ||
"example": "1.5" | "example": "1.5" | ||
}, | }, | ||
"pvp_perm_buff": { | "pvp_perm_buff": { | ||
"label": "Permanent Effect (PvP)", | "label": "Permanent Effect (PvP)", | ||
"description": " | "description": "A buff effect for the whole skill.", | ||
"example": "1.25" | "example": "1.25" | ||
}, | |||
"pvp_hits": { | |||
"label": "Hits (PvP)" | |||
}, | |||
"pvp_awk_hits": { | |||
"label": "Hits in Awakening (PvP)" | |||
}, | |||
"pvp_avg_hits": { | |||
"label": "Average Hits (PvP)" | |||
}, | |||
"pvp_avg_awk_hits": { | |||
"label": "Average Hits in Awakening (PvP)" | |||
}, | |||
"pvp_hits_useful": { | |||
"label": "Hits (Useful trait, PvP)" | |||
}, | |||
"pvp_awk_hits_useful": { | |||
"label": "Hits in Awakening (Useful trait, PvP)" | |||
}, | |||
"pvp_avg_awk_hits_useful": { | |||
"label": "Average Hits in Awakening (Useful trait, PvP)" | |||
}, | |||
"passive3": { | |||
"label": "Passive 3", | |||
"type": "wiki-page-name" | |||
}, | |||
"dump_names": { | |||
"label": "Dump Names", | |||
"description": "Replace numbers with variable names on the generated table for debugging purposes.", | |||
"example": "true", | |||
"type": "boolean" | |||
}, | |||
"dmp": { | |||
"label": "Dynamo Configuration Mode", | |||
"description": "If 'true', displays 'Dynamo Configuration (3 DMP)' instead of 'Awakening Mode' on the generated table. Provide a number if you want to modify the default amount of DMP. 'false' disables DMP notice.", | |||
"example": "4", | |||
"type": "unknown" | |||
}, | |||
"awk_alias": { | |||
"label": "Awakening Text Alias", | |||
"description": "Replace the phrase \"Awakening Mode\" with something else. After a comma, one can insert the display text. If not provided, it will fallback to the first part.", | |||
"example": "Moonlight System, Blood Moon", | |||
"type": "string" | |||
}, | |||
"bug": { | |||
"label": "Free Training Hit Count Bug", | |||
"description": "Generates a short notice above the table that this skill may report wrong on damage in Free Training areas.", | |||
"example": "true", | |||
"type": "boolean" | |||
}, | |||
"dump_table_data": { | |||
"label": "Dump Table Data", | |||
"description": "(Advanced) Dumps the generated table structure contained in a LUA table. Useful for debugging the structure.", | |||
"example": "true", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
Line 376: | Line 405: | ||
"pvp_awk_dmg", | "pvp_awk_dmg", | ||
"hits", | "hits", | ||
"pvp_hits", | |||
"count", | "count", | ||
"awk_hits", | "awk_hits", | ||
Line 390: | Line 420: | ||
"passive1", | "passive1", | ||
"passive2", | "passive2", | ||
" | "passive3", | ||
"format", | "format", | ||
"dump", | "dump", | ||
Line 398: | Line 428: | ||
"range_min_count", | "range_min_count", | ||
"range_max_count", | "range_max_count", | ||
"count_name", | "count_name", | ||
"append", | "append", | ||
Line 414: | Line 441: | ||
"suffix3", | "suffix3", | ||
"perm_buff", | "perm_buff", | ||
"pvp_perm_buff" | "pvp_perm_buff", | ||
"pvp_awk_hits", | |||
"pvp_avg_hits", | |||
"pvp_avg_awk_hits", | |||
"pvp_hits_useful", | |||
"pvp_awk_hits_useful", | |||
"pvp_avg_awk_hits_useful", | |||
"dump_names", | |||
"dmp", | |||
"awk_alias", | |||
"bug", | |||
"dump_table_data" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> |