User:Crashaholic/Sandbox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(hmm)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{trim|
<includeonly>{{trim|
{{#if: {{{save|}}}
{{#if: {{{damage|}}} |
| {{SmallIcon|Saving Throw Icons.png}} {{#switch: {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|0}} | {{{save|}}}}}
{{#vardefine: amt|}}
| strength | Strength | str | STR = [[Saving Throw|STR Save]]
{{#vardefine: typ|}}
| dexterity | Dexterity | dex | DEX = [[Saving Throw|DEX Save]]
{{#vardefine: mod|}}
| constitution | Constitution | con | CON = [[Saving Throw|CON Save]]
{{#vardefine: per|}}
| intelligence | Intelligence | int | INT = [[Saving Throw|INT Save]]
{{#vardefine: sav|}}
| wisdom | Wisdom | wis | WIS = [[Saving Throw|WIS Save]]
{{#vardefine: sfx|}}
| charisma | Charisma | cha | CHA = [[Saving Throw|CHA Save]]
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}|| <!--doesnt exist--> | {{#vardefine: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
| #default = [[Saving Throw]]
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|| <!--doesnt exist--> |{{#vardefine: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
}}{{#if: {{#pos:{{{save|}}}|,}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|mod:}}|| <!--doesnt exist--> |{{#vardefine: mod|{{#rmatch: {{{damage|}}}|mod:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
| (On Save: {{#explode:{{{save|}}}|,|1}})
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|per:}}|| <!--doesnt exist--> |{{#vardefine: dot|{{#rmatch: {{{damage|}}}|per:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
}}| {{blank}}
{{#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}}}}}}
}}</includeonly><noinclude>
{{DamageInfo|{{#var: amt}}|{{#var: typ}}|modifier = {{#var:mod}}|per = {{#var: dot}}|save = {{#var: sav}}|save effect = {{#var: sfx}}}}
*{{User:Crashaholic/Sandbox|save=}}
}}|{{blank}}}}</includeonly><noinclude>
*{{User:Crashaholic/Sandbox|save=DEX}}
{| class="wikitable" style="width: 100%"
*{{User:Crashaholic/Sandbox|save=Dexterity}}
|-
*{{User:Crashaholic/Sandbox|save=dexterity}}
! outcome
*{{User:Crashaholic/Sandbox|save=dex, Target still takes half damage, 10}}
! input
*{{User:Crashaholic/Sandbox|save=str, Live!}}
|-
*{{SavingThrow|dex|dc=12}}
| {{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>
</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