Module:AbilityTable/Lists/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
write documentation for Module:AbilityTable/Lists (with help from vergir-bot LLM) |
m better doc |
||
| Line 13: | Line 13: | ||
=== Example: adding a missing ability to the healreduce list === | === Example: adding a missing ability to the healreduce list === | ||
Say {{AbilityIcon|Affliction}} is missing from the | Say {{AbilityIcon|Affliction}} is missing from the heal reduction table. First, check the comment above <code>["healreduce"]</code> in the module — it says "Abilities that reduce healing on their targets", so Affliction belongs there. | ||
Open [[Data:AbilityData.json]] and search for <code> | Open [[Data:AbilityData.json]] and search for <code>affliction</code>. Looking through its properties, you find <code>"DisableHealing": 1</code> — that looks like exactly what we need. | ||
Check if <code>DisableHealing</code> is already in the <code>["healreduce"]</code> list. It isn't, so add it | Check if <code>DisableHealing</code> is already in the <code>["healreduce"]</code> list. It isn't, so add it: | ||
<pre> | <pre> | ||