Template:AuraDamageSSB4: Difference between revisions

did some testing myself, seems legit
(New Page: <span class="explain" title="base aura damage, exact math currently unconfirmed {{#if:{{{2|}}}|({{#expr:{{{1|0}}}*1.4}}% fully charged)}}">{{{1|0}}}%</span><noinclude> ==Usage== Simply...)
 
(did some testing myself, seems legit)
Line 1: Line 1:
<span class="explain" title="base aura damage, exact math currently unconfirmed {{#if:{{{2|}}}|({{#expr:{{{1|0}}}*1.4}}% fully charged)}}">{{{1|0}}}%</span><noinclude>
<span class="explain" title="{{#expr:{{{1|0}}}*0.66}}% at 0% damage, {{#expr:{{{1|0}}}*1.7}}% at 190% damage {{#if:{{{2|}}}|({{#expr:{{{1|0}}}*0.924}}%/{{#expr:{{{1|0}}}*2.38}}% fully charged)}}">{{{1|0}}}%</span><noinclude>


==Usage==
==Usage==
Simply type in the following:
Simply type in the following:


<code><nowiki>{{AuraDamageSSB4|15}}</nowiki></code>
<code><nowiki>{{AuraDamage|15}}</nowiki></code>


This template will then say "this is the base damage, and we don't know exactly what it would be at different percentages yet". Once that's precision-nailed down, it'll be added just like in {{t|AuraDamageSSBB}}.
Whatever number you put in, the template will spit out something like this:


To include the fully-charged smash attack numbers, type <code><nowiki>{{AuraDamage|15|c}}</nowiki></code>.
<span class="explain" title="9.9% at 0% damage, 25.5% at 190% damage">15%</span>
 
By hovering the cursor over the number, rollover text appears that displays the damage that would be done if an [[aura]] attack that did such damage were used at both 0% and 190%. The base damage is dealt at 70% damage. This template ignores any stock modifier there may be.
 
To include the numbers if it were a smash attack that's fully charged, type <code><nowiki>{{AuraDamage|15|c}}</nowiki></code>.
[[Category:Damage templates]]
[[Category:Damage templates]]
</noinclude>
</noinclude>