Template:BattlePhase

From Granblue Fantasy Wiki
Jump to navigation Jump to search

This template is a utility template used to group together {{BattleEnemy}} templates for other templates.

Example usage[edit source]

{{BattlePhase
|phase=Wave 1
|{{BattleEnemy|name=Raga|lvl=10|element=earth|hp=20,000|ct=2}}
|{{BattleEnemy|name=Dvesha|lvl=10|element=earth|hp=33,000|ct=3}}
}}

{{BattlePhase
|phase=Boss
|{{BattleEnemy
|name=Joya
|lvl=30
|element=earth
|ct=2
|od=yes
|ca_desc=* '''Bonggg...'''
: [[Glossary#P|Plain damage]] to all allies and inflict {{Status|Attack DOWN|AttackDown}} for 2 turns. (1st form only?)
* '''Decemvir''' {{N}}
: Damage to one ally and inflict {{Status|Counting Down|Death}} for 5 turns.
* '''Let Go''' {{OD}}
: Damage to all allies and inflict {{Status|Intoxicated|Confused}} for 1 turn.
* '''Purify Mind''' {{TR}}
: 108-hit damage to random allies. (2nd form only)
|notes=* Does not attack in bell form except for charge attacks.
* '''If ally has {{Status|Sleep}}'''
: Casts ''Purify Mind''.
* '''75% HP Trigger'''
: Transforms
* '''25% HP Trigger'''
: True Power
: Base diamonds reduced to ◇.
* '''{{Status|Intoxicated|Confused}}'''
: Ally randomly attacks an ally or enemy with [[Glossary#P|plain damage]]. If Intoxicated is not removed after 1 turn, ally gains {{Status|Sleep}} for 2 to 4 turns. If an Intoxicated ally is hit, debuff is removed.
* '''{{Status|Counting Down|Death}}'''
: Take 100% of max HP in plain damage when count reaches 0.
}}}}

Parameters[edit source]

phase[edit source]

Required. Wave name.

unnamed parameters[edit source]

{{BattleEnemy}} templates.

named parameters[edit source]

Instead of using {{BattleEnemy}} templates you can also specify the parameters directly if you use "enemyX_" as prefix (where X is the enemy number).

Small sample:

{{BattlePhase
|phase=Boss
|enemy1_name=Joya
|enemy1_lvl=30
|enemy1_element=earth
...
}}

Test[edit source]

{{BattlePhase
|phase=Wave 1
|{{BattleEnemy|name=Raga|lvl=10|element=earth|hp=20,000|ct=2}}
|{{BattleEnemy|name=Dvesha|lvl=10|element=earth|hp=33,000|ct=3}}
}}
{"phase":"Wave 1","enemies":[[{"notes":"","hp":"20,000","element":"earth","ca_desc":"","od":false,"name":"Raga","lvl":"10","ct":2,"icon_s":"","row":1,"icon":""}],[{"notes":"","hp":"33,000","element":"earth","ca_desc":"","od":false,"name":"Dvesha","lvl":"10","ct":3,"icon_s":"","row":2,"icon":""}]]}
{{BattlePhase|phase=Wave 1A|label1=1 of|label2=1 of
| {{BattleEnemy|row=1|name=Light Warrior|lvl=32|element=light|hp=120,000|ct=2}}
| {{BattleEnemy|row=1|name=Prism Fly|lvl=32|element=light|hp=75,000|ct=1}}
| {{BattleEnemy|row=1|name=Sabrewolf|lvl=32|element=light|hp=80,000|ct=2}}
| {{BattleEnemy|row=2|name=Goblin Knight|lvl=32|element=light|hp=120,000|ct=2}}
| {{BattleEnemy|row=2|name=Mid Golem|lvl=32|element=light|hp=100,000|ct=3}}
}}
{"label2":"1 of","label":"1 of","phase":"Wave 1A","label1":"1 of","enemies":[[{"notes":"","hp":"120,000","element":"light","ca_desc":"","od":false,"name":"Light Warrior","lvl":"32","ct":2,"icon_s":"","row":1,"icon":""},{"notes":"","hp":"75,000","element":"light","ca_desc":"","od":false,"name":"Prism Fly","lvl":"32","ct":1,"icon_s":"","row":1,"icon":""},{"notes":"","hp":"80,000","element":"light","ca_desc":"","od":false,"name":"Sabrewolf","lvl":"32","ct":2,"icon_s":"","row":1,"icon":""}],[{"notes":"","hp":"120,000","element":"light","ca_desc":"","od":false,"name":"Goblin Knight","lvl":"32","ct":2,"icon_s":"","row":2,"icon":""},{"notes":"","hp":"100,000","element":"light","ca_desc":"","od":false,"name":"Mid Golem","lvl":"32","ct":3,"icon_s":"","row":2,"icon":""}]]}
{{BattlePhase
|phase=Boss
|{{BattleEnemy
|name=Joya
|lvl=30
|element=earth
|ct=2
|od=yes
|ca_desc=* '''Bonggg...'''
: [[Glossary#P|Plain damage]] to all allies and inflict {{Status|Attack DOWN|AttackDown}} for 2 turns. (1st form only?)
* '''Decemvir''' {{N}}
: Damage to one ally and inflict {{Status|Counting Down|Death}} for 5 turns.
* '''Let Go''' {{OD}}
: Damage to all allies and inflict {{Status|Intoxicated|Confused}} for 1 turn.
* '''Purify Mind''' {{TR}}
: 108-hit damage to random allies. (2nd form only)
|notes=* Does not attack in bell form except for charge attacks.
* '''If ally has {{Status|Sleep}}'''
: Casts ''Purify Mind''.
* '''75% HP Trigger'''
: Transforms
* '''25% HP Trigger'''
: True Power
: Base diamonds reduced to ◇.
* '''{{Status|Intoxicated|Confused}}'''
: Ally randomly attacks an ally or enemy with [[Glossary#P|plain damage]]. If Intoxicated is not removed after 1 turn, ally gains {{Status|Sleep}} for 2 to 4 turns. If an Intoxicated ally is hit, debuff is removed.
* '''{{Status|Counting Down|Death}}'''
: Take 100% of max HP in plain damage when count reaches 0.
}}}}
{"phase":"Boss","enemies":[[{"notes":"* Does not attack in bell form except for charge attacks.\n* If ally has Status Sleep.pngSleepCan't attack and takes big DMG (Ends upon taking DMG)
Takes 25% more damage
\n: Casts Purify Mind.\n* 75% HP Trigger\n: Transforms\n* 25% HP Trigger\n: True Power\n: Base diamonds reduced to ◇.\n* Status Confused.pngIntoxicated\n: Ally randomly attacks an ally or enemy with plain damage. If Intoxicated is not removed after 1 turn, ally gains Status Sleep.pngSleepCan't attack and takes big DMG (Ends upon taking DMG)
Takes 25% more damage
for 2 to 4 turns. If an Intoxicated ally is hit, debuff is removed.\n* Status Death.pngCounting DownReceives DMG after
\n: Take 100% of max HP in plain damage when count reaches 0.","hp":"???","element":"earth","ca_desc":"* Bonggg...\n: Plain damage to all allies and inflict Status AttackDown.png ATK DownATK is lowered
for 2 turns. (1st form only?)\n* Decemvir N\n: Damage to one ally and inflict Status Death.pngCounting DownReceives DMG after
for 5 turns.\n* Let Go OD\n: Damage to all allies and inflict Status Confused.pngIntoxicated for 1 turn.\n* Purify Mind TR \n: 108-hit damage to random allies. (2nd form only)","od":true,"name":"Joya","lvl":"30","ct":2,"icon_s":"","row":1,"icon":""}]]}