Jump to content

Template:Monster: Difference between revisions

From PAD Wiki
No edit summary
No edit summary
 
(55 intermediate revisions by the same user not shown)
Line 19: Line 19:
   | ATK_120    = Integer
   | ATK_120    = Integer
   | RCV_120    = Integer
   | RCV_120    = Integer
   | Types      = String
   | Types      = List (,) of String
   | Awakenings  = String
   | Awakenings  = List (,) of String
  | SuperAwakening = List (,) of String
  | SyncAwakening = List (,) of String
   | LeaderSkillID = Integer
   | LeaderSkillID = Integer
   | ActiveSkillID = Integer
   | ActiveSkillID = Integer
   | Image      = File
   | Image      = File
   | Obtain      = String
   | Obtain      = String
  | BaseEvo    = String
   | EvolvesFrom = String
   | EvolvesFrom = String
   | EvolvesTo  = String
   | EvolvesTo  = List (;) of String
   | EvoMaterials = String
   | EvoMaterials = String
   | EvoMaterialCosts = String  
   | EvoMaterialCosts = List (,) of String
  | Assist = Boolean
}}
}}
</noinclude>
</noinclude>
Line 51: Line 55:
   | ATK_120  = {{{atk_120|}}}
   | ATK_120  = {{{atk_120|}}}
   | RCV_120  = {{{rcv_120|}}}
   | RCV_120  = {{{rcv_120|}}}
   | Types    = {{{types|}}}        <!-- separate with semicolons ; -->
   | Types    = {{{types|}}}        <!-- separate with commas , -->
   | Awakenings= {{{awakenings|}}}  <!-- separate with semicolons ; -->
   | Awakenings= {{{awakenings|}}}  <!-- separate with commas , -->
  | SuperAwakening = {{{super_awakening|}}}
  | SyncAwakening = {{{sync_awakening|}}}
   | LeaderSkillID = {{{leaderskillid}}}
   | LeaderSkillID = {{{leaderskillid}}}
   | ActiveSkillID = {{{activeskillid}}}
   | ActiveSkillID = {{{activeskillid}}}
   | Image    = {{{image|}}}
   | Image    = {{{image|}}}
   | Obtain    = {{{obtain|}}}
   | Obtain    = {{{obtain|}}}
  | BaseEvo  = {{{base_evo|}}}
   | EvolvesFrom = {{{evolvesfrom|}}}
   | EvolvesFrom = {{{evolvesfrom|}}}
   | EvolvesTo = {{{evolvesto|}}}
   | EvolvesTo = {{{evolvesto|}}}
   | EvoMaterials = {{{evomaterials|}}}
   | EvoMaterials = {{{evomaterials|}}}
   | EvoMaterialCosts = {{{evomaterialcosts|}}}
   | EvoMaterialCosts = {{{evomaterialcosts|}}}
  | Assist = {{#if:{{{assist|}}}|1|0}}
}}
}}
{| class="wikitable"
{| class="wikitable"
! colspan="2" | {{{name|{{PAGENAME}}}}}
! colspan="2" | {{{name|{{PAGENAME}}}}}
|-
|-
| Primary Attribute   || {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|none|None|{{Orbs|{{{attribute}}}}}}}|None}}
| Attribute (Pri / Sec / Ter)  || {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|none|-|{{Orbs|{{{attribute}}}}}}}|None}} / {{#if:{{{subattribute|}}}|{{#ifeq:{{lc:{{{subattribute}}}}}|none|-|{{Orbs|{{{subattribute}}}}}}}|None}} / {{#if:{{{thirdattribute|}}}|{{#ifeq:{{lc:{{{thirdattribute}}}}}|none|-|{{Orbs|{{{thirdattribute}}}}}}}|None}}
|-
| Rarity || {{{rarity|}}}
|-
|-
| Secondary Attribute || {{#if:{{{subattribute|}}}|{{#ifeq:{{lc:{{{subattribute}}}}}|none|None|{{Orbs|{{{subattribute}}}}}}}|None}}
| Cost || {{{cost|}}}
|-
|-
| Tertiary Attribute  || {{#if:{{{thirdattribute|}}}|{{#ifeq:{{lc:{{{thirdattribute}}}}}|none|None|{{Orbs|{{{thirdattribute}}}}}}}|None}}
| Types
| {{#if:{{{types|}}}|{{#arraymap:{{{types|}}}|,|x|x|<br />}}|None}}
|-
|-
| Rarity || {{{rarity|}}}
| Awakenings
| {{#if:{{{awakenings|}}}
  | {{#arraymap:{{{awakenings|}}}|,|x|x|<br />}}
  | None
}}
|-
|-
| Cost || {{{cost|}}}
| Super Awakening
| {{#if:{{{super_awakening|}}}|{{#arraymap:{{{super_awakening|}}}|,|x|x|<br />}}|None}}
|-
|-
| Types || {{{types|}}}
| Sync Awakening
| {{#if:{{{sync_awakening|}}}|{{#arraymap:{{{sync_awakening|}}}|,|x|x|<br />}}|None}}
|-
|-
| Awakenings || {{{awakenings|}}}
| Can Assist
| {{#ifeq:{{{assist|0}}}|1|Yes|No}}
|}
|}


Line 90: Line 109:
|}
|}


== Leader Skill ==
{{#if:{{{leaderskillid|}}}|
{{#if:{{{leaderskillid|}}}|
== Leader Skill ==
  {{#ifeq:{{{leaderskillid}}}|0|
{{#cargo_query:
    None
tables=leaderskills
    |{{#cargo_query:
|fields=SkillName,Description
      tables=leaderskills
|where=SkillID={{{leaderskillid|}}}
      |fields=SkillID=id,SkillName=name,Description=description,Category=category
|format=template
      |where=SkillID={{{leaderskillid|}}}
|template=LeaderSkill
      |limit=1
|named args=no
      |format=template
}}
      |template=LeaderSkill_Display
}}
      |named args=yes
      |more results text=
    }}
  }}
|None}}
== Active Skill ==
{{#if:{{{activeskillid|}}}|
  {{#ifeq:{{{activeskillid}}}|0|
    None
    |{{#cargo_query:
      tables=activeskills
      |fields=SkillID=id,SkillName=name,Description=description,MaxCooldown=maxcooldown,MinCooldown=mincooldown
      |where=SkillID={{{activeskillid|}}}
      |limit=1
      |format=template
      |template=ActiveSkill_Display
      |named args=yes
      |more results text=
    }}
  }}
|None}}


}}
== How to Obtain ==
== How to Obtain ==
{{{obtain|Unknown}}}
{{#invoke:PadUtils|dropLocationsGrouped|item={{{name|{{PAGENAME}}}}}}}


{{#if:{{{evolvesfrom|}}}{{{evolvesto|}}}|
{{#if:{{{evolvesfrom|}}}{{{evolvesto|}}}|
Line 141: Line 179:
| types = Devil; Attacker
| types = Devil; Attacker
| awakenings = +HP; Skill Boost
| awakenings = +HP; Skill Boost
| base_evo = Red Ogre
| evolvesto = Red Dragon
| evolvesto = Red Dragon
| evomaterials = Dragon Fruit x5; Red Dragon Fruit x3
| evomaterials = Dragon Fruit x5; Red Dragon Fruit x3

Latest revision as of 05:01, 27 August 2025

This template defines the table "monsters". View table.


Usage

{{Monster | id = 1001 | name = Red Ogre | attribute = Fire | subattribute = Dark | rarity = 3 | cost = 7 | maxlevel = 99 | hp_max = 1400 | atk_max = 750 | rcv_max = 0 | hp_110 = 1540 | atk_110 = 825 | rcv_110 = 0 | hp_120 = 1680 | atk_120 = 900 | rcv_120 = 0 | types = Devil; Attacker | awakenings = +HP; Skill Boost | base_evo = Red Ogre | evolvesto = Red Dragon | evomaterials = Dragon Fruit x5; Red Dragon Fruit x3 | evomaterialcosts = 500000 | image = Red_Ogre.png }}

  • Use semicolons (;) to separate lists.