Difference between revisions of "Template:CaveCreature"
(add price parameter) |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__ | <includeonly>__NOTOC__ | ||
− | {{WarningboxSmall | + | {{WarningboxSmall|Text=This is a special creature that is found only in the [[scavenging]] caves.}} |
− | |Text=This is a special creature that is found only in the [[scavenging]] caves. | + | |
{|cellpadding="5" width="100%" | {|cellpadding="5" width="100%" | ||
|valign="top" align="left"| | |valign="top" align="left"| | ||
<div style="border:1px solid #000;width:200px;">{{{image|''This page is missing an image.''[[Category:Needs Improved]]}}}</div> | <div style="border:1px solid #000;width:200px;">{{{image|''This page is missing an image.''[[Category:Needs Improved]]}}}</div> | ||
− | |width=" | + | === Description === |
+ | {{{description|''This page is missing a description.''[[Category:Needs Improved]]}}} | ||
+ | |width="25%" valign="top" align="left"| | ||
== Information == | == Information == | ||
'''Name:''' {{{name|{{PAGENAME}}}}}<br> | '''Name:''' {{{name|{{PAGENAME}}}}}<br> | ||
Line 27: | Line 28: | ||
| reptile = [[:Category:Reptile Class|Reptile]] | | reptile = [[:Category:Reptile Class|Reptile]] | ||
| undead = [[:Category:Undead Class|Undead]] | | undead = [[:Category:Undead Class|Undead]] | ||
− | | vermin = [[:Category:Vermin Class|Vermin]] | + | | vermin = [[:Category:Vermin Class|Vermin]]}} |
− | | | + | {{#ifeq: {{{rarity|}}} || <br> | <br>'''•''' '''[[Rarity]]:''' {{#switch: {{lc:{{{rarity}}}}} |
− | }}<br> | + | | champion = [[:Category:Champion Beasts|Champion]] |
− | '''•''' '''[[ | + | | elite = [[:Category:Elite Beasts|Elite]] |
− | '''•''' ''' | + | | legendary = [[:Category:Legendary Beasts|Legendary]] |
− | + | | super elite = [[:Category:Super Elite Beasts|Super Elite]] | |
+ | | titan = [[:Category:Titan Beasts|Titan]]}}<br>}} | ||
+ | '''•''' '''[[Level]]:''' {{{level|}}} | ||
===Statistics=== | ===Statistics=== | ||
{| width="100%" cellspacing="0" cellpadding="0" | {| width="100%" cellspacing="0" cellpadding="0" | ||
− | |- | + | |- bgcolor="#eeeeff" |
| '''• [[Attack]]:''' | | '''• [[Attack]]:''' | ||
| align="right" | <span style="color:#063"><tt>{{formatnum:{{{attack-min|0}}}}}</tt></span> | | align="right" | <span style="color:#063"><tt>{{formatnum:{{{attack-min|0}}}}}</tt></span> | ||
| align="center" | <tt>–</tt> | | align="center" | <tt>–</tt> | ||
| align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{attack-max|0}}}}}</tt></span>''' | | align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{attack-max|0}}}}}</tt></span>''' | ||
− | |- | + | |- |
| '''• [[Defense]]:''' | | '''• [[Defense]]:''' | ||
| align="right" | <span style="color:#063"><tt>{{formatnum:{{{defense-min|0}}}}}</tt></span> | | align="right" | <span style="color:#063"><tt>{{formatnum:{{{defense-min|0}}}}}</tt></span> | ||
| align="center" | <tt>–</tt> | | align="center" | <tt>–</tt> | ||
| align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{defense-max|0}}}}}</tt></span>''' | | align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{defense-max|0}}}}}</tt></span>''' | ||
− | |- | + | |- bgcolor="#eeeeff" |
| '''• [[Armor]]:''' | | '''• [[Armor]]:''' | ||
| align="right" | <span style="color:#063"><tt>{{formatnum:{{{armor-min|0}}}}}</tt></span> | | align="right" | <span style="color:#063"><tt>{{formatnum:{{{armor-min|0}}}}}</tt></span> | ||
| align="center" | <tt>–</tt> | | align="center" | <tt>–</tt> | ||
| align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{armor-max|0}}}}}</tt></span>''' | | align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{armor-max|0}}}}}</tt></span>''' | ||
− | |- | + | |- |
| '''• [[Damage]]:''' | | '''• [[Damage]]:''' | ||
| align="right" | <span style="color:#063"><tt>{{formatnum:{{{damage-min|0}}}}}</tt></span> | | align="right" | <span style="color:#063"><tt>{{formatnum:{{{damage-min|0}}}}}</tt></span> | ||
| align="center" | <tt>–</tt> | | align="center" | <tt>–</tt> | ||
| align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{damage-max|0}}}}}</tt></span>''' | | align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{damage-max|0}}}}}</tt></span>''' | ||
− | |- | + | |- bgcolor="#eeeeff" |
| '''• [[HP]]:''' | | '''• [[HP]]:''' | ||
| align="right" | <span style="color:#063"><tt>{{formatnum:{{{hp-min|0}}}}}</tt></span> | | align="right" | <span style="color:#063"><tt>{{formatnum:{{{hp-min|0}}}}}</tt></span> | ||
Line 61: | Line 64: | ||
| align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{hp-max|0}}}}}</tt></span>''' | | align="left" | '''<span style="color:#800"><tt>{{formatnum:{{{hp-max|0}}}}}</tt></span>''' | ||
|} | |} | ||
− | + | ====Enhancements==== | |
− | |width=" | + | {| width="100%" cellspacing="0" cellpadding="0" |
+ | {{#ifeq: {{{enhancement-1|0}}} | 0 |{{!}}'''•''' <nowiki>[none]</nowiki> | ||
+ | {{!end}} | {{CEnh|col=eeeeff|enh={{{enhancement-1|}}}|min={{{enhancement-1-min|0}}}|max={{{enhancement-1-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-2|0}}} | 0 | {{#ifeq: {{{enhancement-1|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-2|}}}|min={{{enhancement-2-min|0}}}|max={{{enhancement-2-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-3|0}}} | 0 | {{#ifeq: {{{enhancement-2|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-3|}}}|min={{{enhancement-3-min|0}}}|max={{{enhancement-3-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-4|0}}} | 0 | {{#ifeq: {{{enhancement-3|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-4|}}}|min={{{enhancement-4-min|0}}}|max={{{enhancement-4-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-5|0}}} | 0 | {{#ifeq: {{{enhancement-4|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-5|}}}|min={{{enhancement-5-min|0}}}|max={{{enhancement-5-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-6|0}}} | 0 | {{#ifeq: {{{enhancement-5|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-6|}}}|min={{{enhancement-6-min|0}}}|max={{{enhancement-6-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-7|0}}} | 0 | {{#ifeq: {{{enhancement-6|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-7|}}}|min={{{enhancement-7-min|0}}}|max={{{enhancement-7-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-8|0}}} | 0 | {{#ifeq: {{{enhancement-7|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-8|}}}|min={{{enhancement-8-min|0}}}|max={{{enhancement-8-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-9|0}}} | 0 | {{#ifeq: {{{enhancement-8|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-9|}}}|min={{{enhancement-9-min|0}}}|max={{{enhancement-9-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-10|0}}} | 0 | {{#ifeq: {{{enhancement-9|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-10|}}}|min={{{enhancement-10-min|0}}}|max={{{enhancement-10-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-11|0}}} | 0 | {{#ifeq: {{{enhancement-10|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-11|}}}|min={{{enhancement-11-min|0}}}|max={{{enhancement-11-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-12|0}}} | 0 | {{#ifeq: {{{enhancement-11|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-12|}}}|min={{{enhancement-12-min|0}}}|max={{{enhancement-12-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-13|0}}} | 0 | {{#ifeq: {{{enhancement-12|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-13|}}}|min={{{enhancement-13-min|0}}}|max={{{enhancement-13-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-14|0}}} | 0 | {{#ifeq: {{{enhancement-13|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-14|}}}|min={{{enhancement-14-min|0}}}|max={{{enhancement-14-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-15|0}}} | 0 | {{#ifeq: {{{enhancement-14|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-15|}}}|min={{{enhancement-15-min|0}}}|max={{{enhancement-15-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-16|0}}} | 0 | {{#ifeq: {{{enhancement-15|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-16|}}}|min={{{enhancement-16-min|0}}}|max={{{enhancement-16-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-17|0}}} | 0 | {{#ifeq: {{{enhancement-16|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-17|}}}|min={{{enhancement-17-min|0}}}|max={{{enhancement-17-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-18|0}}} | 0 | {{#ifeq: {{{enhancement-17|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-18|}}}|min={{{enhancement-18-min|0}}}|max={{{enhancement-18-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-19|0}}} | 0 | {{#ifeq: {{{enhancement-18|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-19|}}}|min={{{enhancement-19-min|0}}}|max={{{enhancement-19-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-20|0}}} | 0 | {{#ifeq: {{{enhancement-19|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-20|}}}|min={{{enhancement-20-min|0}}}|max={{{enhancement-20-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-21|0}}} | 0 | {{#ifeq: {{{enhancement-20|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-21|}}}|min={{{enhancement-21-min|0}}}|max={{{enhancement-21-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-22|0}}} | 0 | {{#ifeq: {{{enhancement-21|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-22|}}}|min={{{enhancement-22-min|0}}}|max={{{enhancement-22-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-23|0}}} | 0 | {{#ifeq: {{{enhancement-22|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-23|}}}|min={{{enhancement-23-min|0}}}|max={{{enhancement-23-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-24|0}}} | 0 | {{#ifeq: {{{enhancement-23|0}}} | 0 ||{{!end}}}} | {{CEnh|enh={{{enhancement-24|}}}|min={{{enhancement-24-min|0}}}|max={{{enhancement-24-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-25|0}}} | 0 | {{#ifeq: {{{enhancement-24|0}}} | 0 ||{{!end}}}} | {{CEnh|col=eeeeff|enh={{{enhancement-25|}}}|min={{{enhancement-25-min|0}}}|max={{{enhancement-25-max|0}}}}} | ||
+ | {{#ifeq: {{{enhancement-25|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
+ | |width="25%" valign="top" align="left"| | ||
== Drops == | == Drops == | ||
{{#ifeq: {{{drop|No}}} | No || '''•''' [[{{{drop|}}}]]<br>}}{{#ifeq: {{{drop-2|No}}} | No || '''•''' [[{{{drop-2|}}}]]<br>}}{{#ifeq: {{{drop-3|No}}} | No || '''•''' [[{{{drop-3|}}}]]<br>}}{{#ifeq: {{{drop-4|No}}} | No || '''•''' [[{{{drop-4|}}}]]<br>}}{{#ifeq: {{{drop-5|No}}} | No || '''•''' [[{{{drop-5|}}}]]<br>}}{{#ifeq: {{{drop-6|No}}} | No || '''•''' [[{{{drop-6|}}}]]<br>}}{{#ifeq: {{{drop-7|No}}} | No || '''•''' [[{{{drop-7|}}}]]<br>}}{{#ifeq: {{{drop-8|No}}} | No || '''•''' [[{{{drop-8|}}}]]<br>}}{{#ifeq: {{{drop-9|No}}} | No || '''•''' [[{{{drop-9|}}}]]<br>}}{{#ifeq: {{{drop-10|No}}} | No || '''•''' [[{{{drop-10|}}}]]<br>}}{{#ifeq: {{{drop-11|No}}} | No || '''•''' [[{{{drop-11|}}}]]<br>}}{{#ifeq: {{{drop-12|No}}} | No || '''•''' [[{{{drop-12|}}}]]<br>}}{{#ifeq: {{{drop-13|No}}} | No || '''•''' [[{{{drop-13|}}}]]<br>}}{{#ifeq: {{{drop-14|No}}} | No || '''•''' [[{{{drop-14|}}}]]<br>}}{{#ifeq: {{{drop-15|No}}} | No || '''•''' [[{{{drop-15|}}}]]<br>}}{{#ifeq: {{{drop-16|No}}} | No || '''•''' [[{{{drop-16|}}}]]<br>}}{{#ifeq: {{{drop-17|No}}} | No || '''•''' [[{{{drop-17|}}}]]<br>}}{{#ifeq: {{{drop-18|No}}} | No || '''•''' [[{{{drop-18|}}}]]<br>}}{{#ifeq: {{{drop-19|No}}} | No || '''•''' [[{{{drop-19|}}}]]<br>}}{{#ifeq: {{{drop-20|No}}} | No || '''•''' [[{{{drop-20|}}}]]<br>}} | {{#ifeq: {{{drop|No}}} | No || '''•''' [[{{{drop|}}}]]<br>}}{{#ifeq: {{{drop-2|No}}} | No || '''•''' [[{{{drop-2|}}}]]<br>}}{{#ifeq: {{{drop-3|No}}} | No || '''•''' [[{{{drop-3|}}}]]<br>}}{{#ifeq: {{{drop-4|No}}} | No || '''•''' [[{{{drop-4|}}}]]<br>}}{{#ifeq: {{{drop-5|No}}} | No || '''•''' [[{{{drop-5|}}}]]<br>}}{{#ifeq: {{{drop-6|No}}} | No || '''•''' [[{{{drop-6|}}}]]<br>}}{{#ifeq: {{{drop-7|No}}} | No || '''•''' [[{{{drop-7|}}}]]<br>}}{{#ifeq: {{{drop-8|No}}} | No || '''•''' [[{{{drop-8|}}}]]<br>}}{{#ifeq: {{{drop-9|No}}} | No || '''•''' [[{{{drop-9|}}}]]<br>}}{{#ifeq: {{{drop-10|No}}} | No || '''•''' [[{{{drop-10|}}}]]<br>}}{{#ifeq: {{{drop-11|No}}} | No || '''•''' [[{{{drop-11|}}}]]<br>}}{{#ifeq: {{{drop-12|No}}} | No || '''•''' [[{{{drop-12|}}}]]<br>}}{{#ifeq: {{{drop-13|No}}} | No || '''•''' [[{{{drop-13|}}}]]<br>}}{{#ifeq: {{{drop-14|No}}} | No || '''•''' [[{{{drop-14|}}}]]<br>}}{{#ifeq: {{{drop-15|No}}} | No || '''•''' [[{{{drop-15|}}}]]<br>}}{{#ifeq: {{{drop-16|No}}} | No || '''•''' [[{{{drop-16|}}}]]<br>}}{{#ifeq: {{{drop-17|No}}} | No || '''•''' [[{{{drop-17|}}}]]<br>}}{{#ifeq: {{{drop-18|No}}} | No || '''•''' [[{{{drop-18|}}}]]<br>}}{{#ifeq: {{{drop-19|No}}} | No || '''•''' [[{{{drop-19|}}}]]<br>}}{{#ifeq: {{{drop-20|No}}} | No || '''•''' [[{{{drop-20|}}}]]<br>}} | ||
+ | |width="25%" valign="top" align="left"| | ||
+ | == Scavenging Info == | ||
+ | '''•''' '''Cave:''' {{{cave|}}}<br /> | ||
+ | '''•''' '''Price:''' {{formatnum:{{{cave-price|?}}}}} {{gold}}<br /> | ||
|} | |} | ||
== Hunting Information == | == Hunting Information == | ||
Line 141: | Line 176: | ||
|name= | |name= | ||
|class= | |class= | ||
+ | |description= | ||
|rarity= | |rarity= | ||
|level= | |level= | ||
Line 153: | Line 189: | ||
|hp-min= | |hp-min= | ||
|hp-max= | |hp-max= | ||
+ | |enhancement-1= | ||
+ | |enhancement-1-min= | ||
+ | |enhancement-1-max= | ||
+ | |enhancement-2= | ||
+ | |enhancement-2-min= | ||
+ | |enhancement-2-max= | ||
+ | |enhancement-3= | ||
+ | |enhancement-3-min= | ||
+ | |enhancement-3-max= | ||
+ | |enhancement-4= | ||
+ | |enhancement-4-min= | ||
+ | |enhancement-4-max= | ||
+ | |enhancement-5= | ||
+ | |enhancement-5-min= | ||
+ | |enhancement-5-max= | ||
|drop= | |drop= | ||
|drop-2= | |drop-2= | ||
Line 169: | Line 220: | ||
The cave-price parameter is the recommended (min) amount of gold to pay to find the creature. | The cave-price parameter is the recommended (min) amount of gold to pay to find the creature. | ||
+ | == Decomposing Combat Stats == | ||
+ | Since scavenging creatures doesn't show its stats, we can only approximate them by decomposing the combat results. To do so, you will have to find and engage one through scavenging and follow the guidelines below. Note: it is easiest to do this if no buffs are active, but it's still possible to do with buffs on. You just have to subtract any effects of buffs (if applicable) when you do the calculations. | ||
+ | * '''HP:''' This is the simplest one. It is written in plain text below the creature image. Just copy it to the wiki page. | ||
+ | * '''Armor:''' This is pretty easy. If you hit it, record how much damage you caused. Then look at your profile to see how much damage you have. Take your characters damage and then subtract the damage you caused. The result is what the creature has in armor. (example: you're player has 1000 damage, you hit the creature causing 900 damage. This means the creature has an armor of 100) | ||
+ | * '''Attack:''' This is hard: In order to figure out the creature's attack, you will need to be hit by it. If you do get hit, you know that the creature's attack is more than your current defense. (to get accurate numbers here, you would need to get hit multiple times with different setting for defense which may be unfeasible) | ||
+ | * '''Defense:''' This is hard: You will need to miss the creature. Whatever attack you have when you miss, you know the creature has a higher defense. Try to find the breaking point, where your attack is just enough to hit the creature. | ||
+ | |||
+ | ''Note:'' If your hit was a [[Critical Hit]] you have caused ''double damage''. Take this into account when calculating creature's armor by multiplying your own damage by 2 before subtracting. Same with [[Piercing Strike]], but instead of multiplying, you calculate as normal but then multiply the ''result'' by 2 to get actual creature armor. (this is because piercing strike halves the creature's armor). | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:34, 19 February 2011
Editing this template may cause all pages using it to stop working. | |
This is a template that is being used by many pages on the wiki. Changes made to this page is instantly applied to all these pages, and any editing mistake can break them. Do not edit the template unless you know what you are doing. If you would like to make a customized version of this template for your own use, copy it to a new template and edit from there. |
This template is a variant of Template:Creature that should be used for cave creatures - i.e. creatures that only exist in scavenging caves. If a cave creature cannot be completely represented by this template, please use the talk page to request a change.
{{CaveCreature |image= |name= |class= |description= |rarity= |level= |attack-min= |attack-max= |defense-min= |defense-max= |armor-min= |armor-max= |damage-min= |damage-max= |hp-min= |hp-max= |enhancement-1= |enhancement-1-min= |enhancement-1-max= |enhancement-2= |enhancement-2-min= |enhancement-2-max= |enhancement-3= |enhancement-3-min= |enhancement-3-max= |enhancement-4= |enhancement-4-min= |enhancement-4-max= |enhancement-5= |enhancement-5-min= |enhancement-5-max= |drop= |drop-2= |drop-3= |drop-4= |drop-5= |cave= |cave-price= }}
The rarity parameter is for champion, elites, etc., so those creatures are added to the appropriate categories. The parameter can be removed for all other creatures.
The cave parameter should be either Ancient or Mystic or (if a creature exists in both caves) Both.
The cave-price parameter is the recommended (min) amount of gold to pay to find the creature.
Decomposing Combat Stats
Since scavenging creatures doesn't show its stats, we can only approximate them by decomposing the combat results. To do so, you will have to find and engage one through scavenging and follow the guidelines below. Note: it is easiest to do this if no buffs are active, but it's still possible to do with buffs on. You just have to subtract any effects of buffs (if applicable) when you do the calculations.
- HP: This is the simplest one. It is written in plain text below the creature image. Just copy it to the wiki page.
- Armor: This is pretty easy. If you hit it, record how much damage you caused. Then look at your profile to see how much damage you have. Take your characters damage and then subtract the damage you caused. The result is what the creature has in armor. (example: you're player has 1000 damage, you hit the creature causing 900 damage. This means the creature has an armor of 100)
- Attack: This is hard: In order to figure out the creature's attack, you will need to be hit by it. If you do get hit, you know that the creature's attack is more than your current defense. (to get accurate numbers here, you would need to get hit multiple times with different setting for defense which may be unfeasible)
- Defense: This is hard: You will need to miss the creature. Whatever attack you have when you miss, you know the creature has a higher defense. Try to find the breaking point, where your attack is just enough to hit the creature.
Note: If your hit was a Critical Hit you have caused double damage. Take this into account when calculating creature's armor by multiplying your own damage by 2 before subtracting. Same with Piercing Strike, but instead of multiplying, you calculate as normal but then multiply the result by 2 to get actual creature armor. (this is because piercing strike halves the creature's armor).