User:Crashaholic/Sandbox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "= Sandbox =")
 
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Sandbox =
<includeonly>{{trim|
{{#if: {{{damage|}}} |
{{#vardefine: amt|}}
{{#vardefine: typ|}}
{{#vardefine: mod|}}
{{#vardefine: per|}}
{{#vardefine: sav|}}
{{#vardefine: sfx|}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}|| <!--doesnt exist--> | {{#vardefine: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|| <!--doesnt exist--> |{{#vardefine: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|mod:}}|| <!--doesnt exist--> |{{#vardefine: mod|{{#rmatch: {{{damage|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|per:}}|| <!--doesnt exist--> |{{#vardefine: dot|{{#rmatch: {{{damage|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save:}}|| <!--doesnt exist--> |{{#vardefine: sav|{{#rmatch: {{{damage|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save effect:}}|| <!--doesnt exist--> |{{#vardefine: sfx|{{#rmatch: {{{damage|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{DamageInfo|{{#var: amt}}|{{#var: typ}}|modifier = {{#var:mod}}|per = {{#var: dot}}|save = {{#var: sav}}|save effect = {{#var: sfx}}}}
}}|{{blank}}}}</includeonly><noinclude>
{| class="wikitable" style="width: 100%"
|-
! outcome
! input
|-
| {{User:Crashaholic/Sandbox|damage=}}
| ''there is an empty entry first''
|-
| {{User:Crashaholic/Sandbox|damage=amount:1d4,type:Fire}}
| <pre>damage=amount:1d4,type:Fire</pre>
|-
| {{User:Crashaholic/Sandbox|damage = amount:4d4+4, type:Acid, mod:finesse, per:turn, save:DEX, save effect:half}}
| <pre>damage = amount:4d4+4, type:Acid, mod:finesse, per:turn, save:DEX, save effect:half</pre>
|-
| {{User:Crashaholic/Sandbox|damage = amount:4d4+4, type:Fire, mod:melee}}
| <pre>damage = amount:4d4+4, type:Fire, mod:finesse, per:turn, save:DEX, save effect:half</pre>
|-
 
</noinclude>

Latest revision as of 07:49, 25 August 2023

outcome input
there is an empty entry first
D4 Fire.png 1d4 (1~4) Damage TypesFire
damage=amount:1d4,type:Fire
D4 Acid.png 4d4 + 4 (8~20) + Strength or Dexterity modifier Damage TypesAcid per turn (DEX save to halve)
damage = amount:4d4+4, type:Acid, mod:finesse, per:turn, save:DEX, save effect:half
D4 Fire.png 4d4 + 4 (8~20) + Strength modifier Damage TypesFire per turn
damage = amount:4d4+4, type:Fire, mod:finesse, per:turn, save:DEX, save effect:half