Module:Abilities/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
Updated doc |
||
| Line 23: | Line 23: | ||
Returns: | Returns: | ||
<code>{{#invoke:Abilities|get_ability_prop|Afterburn|BurnDuration}}</code> | <code>{{#invoke:Abilities|get_ability_prop|Afterburn|BurnDuration}}</code> | ||
You can also retrieve nested properties by using dot notation to drill down into the data structure. For example, to get a value nested inside a <code>Scale</code> table: | |||
<pre>{{#invoke:Abilities|get_ability_prop|Lycan Curse|MaxRage.Scale.Value}}</pre> | |||
Returns: | |||
<code>{{#invoke:Abilities|get_ability_prop|Lycan Curse|MaxRage.Scale.Value}}</code> | |||
=== get_ability_upgrade_prop === | === get_ability_upgrade_prop === | ||