Destiny of Spirits Wiki
(Updated with documentation framework.)
m (Protected "Template:Counter": To avoid vandalism on an already complete wiki for a now defunct game. (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
<br />Crit chance accepts any number between 1 and 100
 
<br />Crit chance accepts any number between 1 and 100
 
<br />Crit level accepts the following:
 
<br />Crit level accepts the following:
*Weak - 1, w, weak
+
*Weak - w, weak
*Normal - 2, n, normal
+
*Normal - n, normal
*Powerful - 3, p, powerful
+
*Powerful - p, powerful
*Super-Powerful - 4, sp, super-powerful
+
*Super-Powerful - sp, super, super-powerful
 
<br />Target accepts the following and defaults to "All Allies":
 
<br />Target accepts the following and defaults to "All Allies":
*One Ally - 1, one, ally
+
*One Ally - one, ally
*All Allies - 2, all, allies
+
*All Allies - all, allies
*Self Only - 3, self
+
*Self Only - self
 
<br />Use count accepts all positive numbers.
 
<br />Use count accepts all positive numbers.
   
   
 
Further documentation is on the way, but the template is functional. The source can be found at [[Module:Counter]].
 
Further documentation is on the way, but the template is functional. The source can be found at [[Module:Counter]].
  +
  +
Examples:
  +
''<br /><nowiki>{{Counter}}</nowiki>''
  +
<br />{{Counter}}
  +
  +
''<nowiki>{{Counter|30}}</nowiki>''
  +
<br />{{Counter|30}}
  +
  +
''<nowiki>{{Counter|10|sp|self|5}}</nowiki>''
  +
<br />{{Counter|10|sp|self|5}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:22, 9 August 2019

This template is invoked via {{Counter|crit chance|crit level|target(s)|use count}}
Crit chance accepts any number between 1 and 100
Crit level accepts the following:

  • Weak - w, weak
  • Normal - n, normal
  • Powerful - p, powerful
  • Super-Powerful - sp, super, super-powerful


Target accepts the following and defaults to "All Allies":

  • One Ally - one, ally
  • All Allies - all, allies
  • Self Only - self


Use count accepts all positive numbers.


Further documentation is on the way, but the template is functional. The source can be found at Module:Counter.

Examples:
{{Counter}}

Counter.png Counterattack chance


{{Counter|30}}
Counter.png 30% Counterattack chance (all allies).


{{Counter|10|sp|self|5}}
Counter.png 10% Counterattack chance for 100% damage (self only) up to 5 times.