Difference between revisions of "Template:Combatencounter"
Hoyifung04 (talk | contribs) m (→Template) |
Hoyifung04 (talk | contribs) (Allowing up to six hit/miss messages, but leaving undocumented as it's not common to have more than three) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
{{#if:{{{hit2|}}}|*{{{hit2}}}}} | {{#if:{{{hit2|}}}|*{{{hit2}}}}} | ||
{{#if:{{{hit3|}}}|*{{{hit3}}}}} | {{#if:{{{hit3|}}}|*{{{hit3}}}}} | ||
+ | {{#if:{{{hit4|}}}|*{{{hit4}}}}} | ||
+ | {{#if:{{{hit5|}}}|*{{{hit5}}}}} | ||
+ | {{#if:{{{hit6|}}}|*{{{hit6}}}}} | ||
<br> | <br> | ||
{{#if:{{{pronoun|}}}|{{{pronoun}}}|???[[Category:Incomplete]]}} {{#ifeq:{{{pronoun|}}}|They|hit|hits}} you for {{element|physical|X}}.<br> | {{#if:{{{pronoun|}}}|{{{pronoun}}}|???[[Category:Incomplete]]}} {{#ifeq:{{{pronoun|}}}|They|hit|hits}} you for {{element|physical|X}}.<br> | ||
Line 26: | Line 29: | ||
{{#if:{{{miss2|}}}|*{{{miss2}}}}} | {{#if:{{{miss2|}}}|*{{{miss2}}}}} | ||
{{#if:{{{miss3|}}}|*{{{miss3}}}}} | {{#if:{{{miss3|}}}|*{{{miss3}}}}} | ||
+ | {{#if:{{{miss4|}}}|*{{{miss4}}}}} | ||
+ | {{#if:{{{miss5|}}}|*{{{miss5}}}}} | ||
+ | {{#if:{{{miss6|}}}|*{{{miss6}}}}} | ||
<br> | <br> | ||
Line 58: | Line 64: | ||
{{#if:{{{loc1|}}}|*[[{{{loc1}}}]]<br>|''Unspecified Locations''[[Category:Incomplete]]}} | {{#if:{{{loc1|}}}|*[[{{{loc1}}}]]<br>|''Unspecified Locations''[[Category:Incomplete]]}} | ||
{{#if:{{{loc2|}}}|*[[{{{loc2}}}]]<br>}} | {{#if:{{{loc2|}}}|*[[{{{loc2}}}]]<br>}} | ||
− | {{#if:{{{loc3|}}}|*[[{{{loc3}}}]]}} | + | {{#if:{{{loc3|}}}|*[[{{{loc3}}}]]<br>}} |
+ | {{#if:{{{loc4|}}}|*[[{{{loc4}}}]]}} | ||
[[Category:Enemies|{{PAGENAME}}]] | [[Category:Enemies|{{PAGENAME}}]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 93: | Line 100: | ||
|drop5=</nowiki>'''''optional'' (use with item5)'''<br><nowiki> | |drop5=</nowiki>'''''optional'' (use with item5)'''<br><nowiki> | ||
|item6=</nowiki>'''''optional'''''<br><nowiki> | |item6=</nowiki>'''''optional'''''<br><nowiki> | ||
− | |image6=</nowiki>'''''optional'' (use with | + | |image6=</nowiki>'''''optional'' (use with item6)'''<br><nowiki> |
− | |drop6=</nowiki>'''''optional'' (use with | + | |drop6=</nowiki>'''''optional'' (use with item6)'''<br><nowiki> |
|postfight=</nowiki>'''''optional'''''<br><nowiki> | |postfight=</nowiki>'''''optional'''''<br><nowiki> | ||
|newres=</nowiki>'''''(all resistances and weaknesses discovered)'''''<br><nowiki> | |newres=</nowiki>'''''(all resistances and weaknesses discovered)'''''<br><nowiki> | ||
Line 101: | Line 108: | ||
|loc2=</nowiki>'''''optional'''''<br><nowiki> | |loc2=</nowiki>'''''optional'''''<br><nowiki> | ||
|loc3=</nowiki>'''''optional'''''<br><nowiki> | |loc3=</nowiki>'''''optional'''''<br><nowiki> | ||
+ | |loc4=</nowiki>'''''optional'''''<br><nowiki> | ||
}}</nowiki><br> | }}</nowiki><br> | ||
Latest revision as of 21:23, 6 September 2015
Template
{{combatencounter
|indef=(the indefinite article. a, an, or ! if none)
|pronoun=
|name=
|desc=
|image=
|hit1=(set to ! if no specific hit messages)
|hit2=optional
|hit3=optional
|effect=optional
|miss1=(set to ! if no specific miss messages)
|miss2=optional
|miss3=optional
|chips=(set to 0 if no chips drop)
|xp=
|item1=optional
|image1=optional (use with item1)
|drop1=optional (use with item1)
|item2=optional
|image2=optional (use with item2)
|drop2=optional (use with item2)
|item3=optional
|image3=optional (use with item3)
|drop3=optional (use with item3)
|item4=optional
|image4=optional (use with item4)
|drop4=optional (use with item4)
|item5=optional
|image5=optional (use with item5)
|drop5=optional (use with item5)
|item6=optional
|image6=optional (use with item6)
|drop6=optional (use with item6)
|postfight=optional
|newres=(all resistances and weaknesses discovered)
|res=(old resistances before the May 2011 update; remove once new resistances are determined)
|loc1=
|loc2=optional
|loc3=optional
|loc4=optional
}}
Usage
Adding...
{{combatencounter
|pronoun=It
|indef=!
|name=Rosencrantz and Guildenstern
|desc=The erstwhile companions and spies for the evil king Claudius seem to have lost their Danish prince, Hamlet. So now they're looking for anyone else they can drag off with them to England for execution.
|image=Rosencrantz-guildenstern.jpg
|hit1=Guildenstern flips a coin. It's heads, which means he gets to hit you. You wonder if the coin is rigged, and he hits you while you're distracted. {{hitnote|{{element|fire|X}}}}
|hit2="Would you like to play a game of Questions?" Rosencrantz asks.
You say, "Sure, that sounds like fun!"
You lose, and they punch you in the shoulder, really hard.
|miss1=They guilden your rosen and then stern your crantz. It sounds unpleasant, but it's not so bad. Sort of like when the chiropractor pops every joint in your neck at once. After the initial horror fades, you actually feel better.
|miss2=Rosencrantz flips a coin. It's heads, which means he gets to hit you. You're ready, though, and dodge successfully.
|miss3="Would you like to play a game of Questions?" Guildenstern asks.
"How does it work?" you ask in return.
"Well," says Guildenstern, "the first one to not ask a question loses." You cock one eyebrow and smile. Guildenstern looks at you for a second and then hangs his head in shame.
|chips=83-134
|xp=101
|item1=decorated jerkin
|image1=Jerkin.gif
|drop1=10
|item2=deterministic coin
|image2=Coin.jpg
|drop2=20
|item3=prabble crossbow
|image3=Crossbow.gif
|loc1=Cube Theater
}}
Results in...
You are fighting Rosencrantz and Guildenstern.
The erstwhile companions and spies for the evil king Claudius seem to have lost their Danish prince, Hamlet. So now they're looking for anyone else they can drag off with them to England for execution.
Your opponent attacks ...
Hit messages:
- Guildenstern flips a coin. It's heads, which means he gets to hit you. You wonder if the coin is rigged, and he hits you while you're distracted. (fire) damage
- "Would you like to play a game of Questions?" Rosencrantz asks.
You say, "Sure, that sounds like fun!"
You lose, and they punch you in the shoulder, really hard.
It hits you for X damage.
Hit notes:
The first message does fire damage. The second does physical damage.
Critical hit message:
Your opponent has a critical hit! It hits you for damage.
Miss messages:
- They guilden your rosen and then stern your crantz. It sounds unpleasant, but it's not so bad. Sort of like when the chiropractor pops every joint in your neck at once. After the initial horror fades, you actually feel better.
- Rosencrantz flips a coin. It's heads, which means he gets to hit you. You're ready, though, and dodge successfully.
- "Would you like to play a game of Questions?" Guildenstern asks.
"How does it work?" you ask in return.
"Well," says Guildenstern, "the first one to not ask a question loses." You cock one eyebrow and smile. Guildenstern looks at you for a second and then hangs his head in shame.
Fumble messages:
Your foe fumbles! It takes X damage.
Victory! You beat up your foe and win the combat!
You gain 101 experience.
You got an item: decorated jerkin (10%)
You got an item: deterministic coin (20%)
You got an item: prabble crossbow (Unspecified Drop Rate)
Known resistances/weaknesses
Unspecified
Locations
Notes
- This template autocategorizes the page into Category:Enemies.