Template:DamageBlob

From bg3.wiki
Revision as of 10:16, 23 October 2023 by HiddenDragon (talk | contribs) (Created page with "<includeonly>{{trim| {{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{1}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{1}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{1}}}|type:\s?([^...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template abstracts out the parsing of damage and damage2 fields from Template:ActionPage

{{DamageBlob|amount: 1d6, type: Fire, mod: Strength}}:


{{DamageBlob|amounttext: 4d6+3, type: Cold}}:

4d6 + 3 Damage TypesCold