Template:Skill bundle

Revision as of 06:11, 24 September 2020 by SurtrFan8511 (talk | contribs)
Template documentation[view] [edit] [history] [purge]

Description

This template combines skill effects with their trigger timing and proc rates. It also bundles multiple skill effects based on their trigger timing, proc rates and skill range. Finally, it also combines repetitive skill effects into one collapsible box.

Usage

All arguments exactly match the variables in the game files. It is recommended not to directly invoke this template and instead use
{{#masterdata:SkillDescription|<id>}}

Where <id> is ID of the skill.

In case anyone wants to try to understand the code behind the template, here are detailed examples of this template's usage.

Examples

Example 1 code
{{Skill bundle
|skill_id1=767|effect_serial_id1=1|timing1=5|target_self1=1|rate_2_use1=30|mult1=100|mult_max1=100|add_status_id1=26|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=767|effect_serial_id2=2|timing2=5|target_self2=1|rate_2_use2=30|mult2=100|mult_max2=100|add_status_id2=55|turn_interval2=1|turn_interval_is_total_turn2=1
}}



Example 2 code
{{Skill bundle
|skill_id1=1873|effect_serial_id1=1|timing1=2|target_my_team1=1|range_h1=2|range_v1=2|range_d1=1|rate_2_use1=50|mult1=100|mult_max1=100|add_cp1=8|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=1873|effect_serial_id2=2|timing2=4|target_enemy2=2|distance2=1|rate_2_use2=10|mult2=100|mult_max2=100|add_status_id2=70|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=1873|effect_serial_id3=3|timing3=4|target_enemy3=2|distance3=2|range_h3=1|rate_2_use3=10|mult3=100|mult_max3=100|add_status_id3=70|turn_interval3=1|turn_interval_is_total_turn3=1
|skill_id4=1873|effect_serial_id4=4|timing4=4|target_enemy4=2|distance4=3|range_h4=2|rate_2_use4=10|mult4=100|mult_max4=100|add_status_id4=70|turn_interval4=1|turn_interval_is_total_turn4=1
|skill_id5=1873|effect_serial_id5=5|timing5=4|target_enemy5=2|distance5=1|rate_2_use5=10|mult5=100|mult_max5=100|add_status_id5=1|turn_interval5=1|turn_interval_is_total_turn5=1
|skill_id6=1873|effect_serial_id6=6|timing6=4|target_enemy6=2|distance6=2|range_h6=1|rate_2_use6=10|mult6=100|mult_max6=100|add_status_id6=1|turn_interval6=1|turn_interval_is_total_turn6=1
|skill_id7=1873|effect_serial_id7=7|timing7=4|target_enemy7=2|distance7=3|range_h7=2|rate_2_use7=10|mult7=100|mult_max7=100|add_status_id7=1|turn_interval7=1|turn_interval_is_total_turn7=1
|skill_id8=1873|effect_serial_id8=8|timing8=4|target_enemy8=2|distance8=1|rate_2_use8=45|mult8=100|mult_max8=100|add_status_id8=11|turn_interval8=1|turn_interval_is_total_turn8=1
|skill_id9=1873|effect_serial_id9=9|timing9=4|target_enemy9=2|distance9=2|range_h9=1|rate_2_use9=45|mult9=100|mult_max9=100|add_status_id9=11|turn_interval9=1|turn_interval_is_total_turn9=1
|skill_id10=1873|effect_serial_id10=10|timing10=4|target_enemy10=2|distance10=3|range_h10=2|rate_2_use10=45|mult10=100|mult_max10=100|add_status_id10=11|turn_interval10=1|turn_interval_is_total_turn10=1
|skill_id11=1873|effect_serial_id11=11|timing11=6|target_enemy11=1|rate_2_use11=100|mult11=160|mult_max11=160|anti_status_id11=11|turn_interval11=1|turn_interval_is_total_turn11=1
}}

[Phase StartTriggers on their player's first turn of each phase, before [Turn Start] effects. Effects of the same timing from same unit are all triggered together before they are applied.] +8~16 CP to allies in a 2-square diamond radius around self / 50~100%
[Attack ModifierAll modifiers stack with each other. Piercing modifiers do not stack with other piercing modifiers of the same status.] Deal 1.6x damage to OppressionCannot move at will for 2 turns (Debuff)-affected enemies / 100%


Example 3 code
{{Skill bundle
|skill_id1=137|effect_serial_id1=1|timing1=8|target_enemy1=1||rate_2_use1=100|mult1=160|mult_max1=160|anti_skill_id1=318|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=137|effect_serial_id2=2|timing2=8|target_enemy2=1|rate_2_use2=100|mult2=10000|mult_max2=10000|anti_status_id2=37|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=137|effect_serial_id3=3|timing3=8|target_enemy3=1|rate_2_use3=100|mult3=230|mult_max3=230|anti_status_id3=29|turn_interval3=1|turn_interval_is_total_turn3=1}}

[Before Hitting (CS)For each unit with >0HP hit. Triggered and applied before damage calculation, before attack damage is applied, after [Before Being Attacked] effects, before [When Hit] effects from the target. Effects of the same timing from same unit are all triggered together before they are applied.] Deal 1.6x damage to Immortal enemies
    Deal 100x damage to EvasionDEF Up by 0.01x ~ 0.005x for 1 turn (Buff)-affected enemies
    Deal 2.3x damage to ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff)-affected enemies / 100%


Example 4 code
{{Skill bundle
|skill_id1=849|effect_serial_id1=1|timing1=5|target_enemy1=1|rate_2_use1=30|mult1=100|mult_max1=100|add_status_id1=10|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=849|effect_serial_id2=2|timing2=6|target_enemy2=1|rate_2_use2=100|mult2=150|mult_max2=150|anti_status_id2=10|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=849|effect_serial_id3=3|timing3=6|target_self3=1|rate_2_use3=100|mult3=150|mult_max3=150|anti_status_id3=141|turn_interval3=1|turn_interval_is_total_turn3=1
|skill_id4=849|effect_serial_id4=4|timing4=6|target_self4=1|rate_2_use4=100|mult4=150|mult_max4=150|anti_status_id4=142|turn_interval4=1|turn_interval_is_total_turn4=1
|skill_id5=849|effect_serial_id5=5|timing5=6|target_self5=1|rate_2_use5=100|mult5=150|mult_max5=150|anti_status_id5=143|turn_interval5=1|turn_interval_is_total_turn5=1
|skill_id6=849|effect_serial_id6=6|timing6=6|target_self6=1|rate_2_use6=100|mult6=150|mult_max6=150|anti_status_id6=144|turn_interval6=1|turn_interval_is_total_turn6=1
|skill_id7=849|effect_serial_id7=7|timing7=6|target_self7=1|rate_2_use7=100|mult7=150|mult_max7=150|anti_status_id7=145|turn_interval7=1|turn_interval_is_total_turn7=1}}

[Attack ModifierAll modifiers stack with each other. Piercing modifiers do not stack with other piercing modifiers of the same status.] Deal extra damage against 6 statuses / 100%

Example 5 code
{{Skill bundle
|skill_id1=1363|effect_serial_id1=1|timing1=5|target_enemy1=5|range_h1=1|rate_2_use1=25|mult1=100|mult_max1=100|add_status_id1=70|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=1363|effect_serial_id2=2|timing2=5|target_enemy2=5|range_h2=1|rate_2_use2=25|mult2=100|mult_max2=100|add_status_id2=1|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=1363|effect_serial_id3=3|timing3=11|target_self3=1|rate_2_use3=50|mult3=100|mult_max3=100|remove_status_id3=81|turn_interval3=1|turn_interval_is_total_turn3=1
|skill_id4=1363|effect_serial_id4=4|timing4=11|target_self4=1|rate_2_use4=50|mult4=100|mult_max4=100|remove_status_id4=82|turn_interval4=1|turn_interval_is_total_turn4=1
|skill_id5=1363|effect_serial_id55==5|timing5=11|target_self5=1|rate_2_use5=50|mult5=100|mult_max5=100|remove_status_id5=83|turn_interval5=1|turn_interval_is_total_turn5=1
|skill_id6=1363|effect_serial_id6=6|timing6=11|target_self6=1|rate_2_use6=50|mult6=100|mult_max6=100|remove_status_id6=91|turn_interval6=1|turn_interval_is_total_turn6=1
|skill_id7=1363|effect_serial_id7=7|timing7=11|target_self7=1|rate_2_use7=50|mult7=100|mult_max7=100|remove_status_id7=92|turn_interval7=1|turn_interval_is_total_turn7=1
|skill_id8=1363|effect_serial_id8=8|timing8=11|target_self8=1|rate_2_use8=50|mult8=100|mult_max8=100|remove_status_id8=94|turn_interval8=1|turn_interval_is_total_turn8=1
|skill_id9=1363|effect_serial_id9=9|timing9=11|target_self9=1|rate_2_use9=50|mult9=100|mult_max9=100|remove_status_id9=96|turn_interval9=1|turn_interval_is_total_turn9=1
|skill_id10=1363|effect_serial_id10=10|timing10=11|target_self10=1|rate_2_use10=50|mult10=100|mult_max10=100|remove_status_id10=97|turn_interval10=1|turn_interval_is_total_turn10=1
|skill_id11=1363|effect_serial_id11=11|timing11=11|target_self11=1|rate_2_use11=50|mult11=100|mult_max11=100|remove_status_id11=98|turn_interval11=1|turn_interval_is_total_turn11=1
|skill_id12=1363|effect_serial_id12=12|timing12=11|target_self12=1|rate_2_use12=50|mult12=100|mult_max12=100|remove_status_id12=99|turn_interval12=1|turn_interval_is_total_turn12=1
|skill_id13=1363|effect_serial_id13=13|timing13=11|target_self13=1|rate_2_use13=50|mult13=100|mult_max13=100|remove_status_id13=101|turn_interval13=1|turn_interval_is_total_turn13=1
|skill_id14=1363|effect_serial_id14=14|timing14=5|target_enemy14=1|rate_2_use14=45|mult14=100|mult_max14=100|add_status_id14=66|turn_interval14=1|turn_interval_is_total_turn14=1
|skill_id15=1363|effect_serial_id15=15|timing15=11|target_self15=1|rate_2_use15=50|mult15=100|mult_max15=100|remove_status_id15=121|turn_interval15=1|turn_interval_is_total_turn15=1
|skill_id16=1363|effect_serial_id16=16|timing16=11|target_self16=1|rate_2_use16=50|mult16=100|mult_max16=100|remove_status_id16=124|turn_interval16=1|turn_interval_is_total_turn16=1
|skill_id17=1363|effect_serial_id17=17|timing17=11|target_self17=1|rate_2_use17=50|mult17=100|mult_max17=100|remove_status_id17=125|turn_interval17=1|turn_interval_is_total_turn17=1
}}

[Status ResistanceTriggers directly before receiving any status, including those that would normally not be accepted due to pre-existing acquisition of the same status. Prevents target statuses from being applied at all and removes them if already present. The application of the any status that confers Status Resistance will trigger its own Status Resistance skill effects.] Resist 14 statuses / 50~100%

Example 6 code
{{Skill bundle
|skill_id1=1745|effect_serial_id1=1|timing1=4|target_my_team1=1|range_h1=1|range_v1=1|range_d1=1|rate_2_use1=45|mult1=100|mult_max1=100|add_status_id1=33|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=1745|effect_serial_id2=2|timing2=2|target_self2=1|rate_2_use2=50|mult2=100|mult_max2=100|add_status_id2=77|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=1745|effect_serial_id3=3|timing3=4|target_enemy=2|distance3=3|rate_2_use3=45|mult3=100|mult_max3=100|add_hp3=-4000|max_add_hp3=-8000|turn_interval3=2|turn_interval_is_total_turn3=1
|skill_id4=1745|effect_serial_id4=4|timing4=4|target_enemy4=2|distance4=2|range_h4=1|rate_2_use4=45|mult4=100|mult_max4=100|add_hp4=-4000|max_add_hp4=-8000|turn_interval4=2|turn_interval_is_total_turn4=1
|skill_id5=1745|effect_serial_id5=5|timing5=4|target_enemy5=2|distance5=1|range_h5=2|rate_2_use5=45|mult5=100|mult_max5=100|add_hp5=-4000|max_add_hp5=-8000|turn_interval5=2|turn_interval_is_total_turn5=1
|skill_id6=1745|effect_serial_id6=6|timing6=4|target_my_team6=1|distance6=3|rate_2_use6=45|mult6=100|mult_max6=100|add_hp6=500|max_add_hp6=1000|turn_interval6=2|turn_interval_surplus6=1|turn_interval_is_total_turn6=1
|skill_id7=1745|effect_serial_id7=7|timing7=4|target_my_team7=1|distance7=2|range_h7=1|rate_2_use=45|mult7=100|mult_max7=100|add_hp7=500|max_add_hp7=1000|turn_interval7=2|turn_interval_surplus7=1|turn_interval_is_total_turn7=1
|skill_id8=1745|effect_serial_id8=8|timing8=4|target_my_team8=1|distance8=1|range_h8=2|rate_2_use8=45|mult8=100|mult_max8=100|add_hp8=500|max_add_hp8=1000|turn_interval8=2|turn_interval_surplus8=1|turn_interval_is_total_turn8=1
|skill_id9=1745|effect_serial_id9=9|timing9=4|target_my_team9=1|range_h9=3|rate_2_use9=45|mult9=100|mult_max9=100|add_hp9=500|max_add_hp9=1000|turn_interval9=2|turn_interval_surplus9=1|turn_interval_is_total_turn9=1
|skill_id10=1745|effect_serial_id10=10|timing10=4|target_my_team10=1|distance10=-1|range_h10=2|rate_2_use10=45|mult10=100|mult_max10=100|add_hp10=500|max_add_hp10=1000|turn_interval10=2|turn_interval_surplus10=1|turn_interval_is_total_turn10=1
|skill_id11=1745|effect_serial_id11=11|timing11=4|target_my_team11=1|distance11=-2|range_h11=1|rate_2_use11=45|mult11=100|mult_max11=100|add_hp11=500|max_add_hp11=1000|turn_interval11=2|turn_interval_surplus11=1|turn_interval_is_total_turn11=1
|skill_id12=1745|effect_serial_id12=12|timing12=4|target_my_team12=1|distance12=-3|rate_2_use12=45|mult12=100|mult_max12=100|add_hp12=500|max_add_hp12=1000|turn_interval12=2|turn_interval_surplus12=1|turn_interval_is_total_turn12=1
}}

[After MovingAfter this unit is held and released by their player. Triggered and applied before [After Not Moving] effects. Effects of the same timing from same unit are all triggered together before they are applied.] (Total turns 1, 3, 5...) -4000~-8000 HP to enemies at the 3rd square in front of self
    (Total turns 1, 3, 5...) -4000~-8000 HP to enemies in a 3-square horizontal line around the 2nd square in front of self
    (Total turns 1, 3, 5...) -4000~-8000 HP to enemies in Long Slash range
    (Total turns 2, 4, 6...) +500~1000 HP to allies at the 3rd square in front of self
    (Total turns 2, 4, 6...) +500~1000 HP to allies in a 3-square horizontal line around the 2nd square in front of self
    (Total turns 2, 4, 6...) +500~1000 HP to allies in Long Slash range
    (Total turns 2, 4, 6...) +500~1000 HP to allies 3 squares to the left and right of self
    (Total turns 2, 4, 6...) +500~1000 HP to allies in reverse Long Slash range
    (Total turns 2, 4, 6...) +500~1000 HP to allies in a 3-square horizontal line around the 2nd square behind self
    (Total turns 2, 4, 6...) +500~1000 HP to allies at the 3rd square behind self / 45~90%


Example 7 code
{{Skill bundle
|skill_id1=2320|effect_serial_id1=1|timing1=5|target_enemy1=1|rate_2_use1=45|mult1=100|mult_max1=100|add_hp1=-1000|max_add_hp1=-2000|turn_interval1=1|turn_interval_is_total_turn1=1|item_id1=69|prob_value1=1|prob_value_max1=2
|skill_id2=2320|effect_serial_id2=2|timing2=5|target_my_team2=1|range_h2=1|range_v2=1|rate_2_use2=45|mult2=100|mult_max2=100|add_hp2=-1000|max_add_hp2=-1000|turn_interval2=1|turn_interval_is_total_turn2=1|item_id2=70|prob_value2=1|prob_value_max2=2
|skill_id3=2320|effect_serial_id3=3|timing3=7|target_enemy3=2|distance3=3|rate_2_use3=45|mult3=100|mult_max3=100|knockback3=1|turn_interval3=1|turn_interval_is_total_turn3=1|item_id3=71|prob_value3=1|prob_value_max3=2
|skill_id4=2320|effect_serial_id4=4|timing4=7|target_enemy4=2|distance4=2|range_h4=1|rate_2_use4=45|mult4=100|mult_max4=100|knockback4=1|turn_interval4=1|turn_interval_is_total_turn4=1
|skill_id5=2320|effect_serial_id5=5|timing5=7|target_enemy5=2|distance5=1|range_h5=2|rate_2_use5=45|mult5=100|mult_max5=100|knockback5=1|turn_interval5=1|turn_interval_is_total_turn5=1
|skill_id6=2320|effect_serial_id6=6|timing6=7|target_my_team6=1|distance6=3|rate_2_use6=45|mult6=100|mult_max6=100|knockback6=1|turn_interval6=1|turn_interval_is_total_turn6=1
|skill_id7=2320|effect_serial_id7=7|timing7=7|target_my_team7=1|distance7=2|range_h7=1|rate_2_use7=45|mult7=100|mult_max7=100|knockback7=1|turn_interval7=1|turn_interval_is_total_turn7=1
|skill_id8=2320|effect_serial_id8=8|timing8=7|target_my_team8=1|distance8=1|range_h8=2|rate_2_use8=45|mult8=100|mult_max8=100|knockback8=1|turn_interval8=1|turn_interval_is_total_turn8=1
|skill_id9=2320|effect_serial_id9=9|timing9=7|target_my_team9=1|range_h9=3|rate_2_use9=45|mult9=100|mult_max9=100|knockback9=1|turn_interval9=1|turn_interval_is_total_turn9=1
|skill_id10=2320|effect_serial_id10=10|timing10=7|target_my_team10=1|distance10=-3|rate_2_use10=45|mult10=100|mult_max10=100|knockback10=1|turn_interval10=1|turn_interval_is_total_turn10=1
|skill_id11=2320|effect_serial_id11=11|timing11=7|target_my_team11=1|distance11=-2|range_h11=1|rate_2_use11=45|mult11=100|mult_max11=100|knockback11=1|turn_interval11=1|turn_interval_is_total_turn11=1
|skill_id12=2320|effect_serial_id12=12|timing12=7|target_my_team12=1|distance12=-1|range_h12=2|rate_2_use12=45|mult12=100|mult_max12=100|knockback12=1|turn_interval12=1|turn_interval_is_total_turn12=1
|skill_id13=2320|effect_serial_id13=13|timing13=11|target_self13=1|rate_2_use13=50|max_rate_2_use13=100|mult13=100|mult_max13=100|remove_status_id13=178|turn_interval13=1|turn_interval_is_total_turn13=1
}}

[Before HittingFor each unit with >0HP hit. Triggered and applied before damage calculation, before attack damage is applied, after [Before Being Attacked] effects, before [When Hit] effects from the target. Effects of the same timing from same unit are all triggered together before they are applied.] -1000~-2000 HP to hit units
    -1000 HP to allies directly adjacent to self / 45~90%
[After HittingFor each unit with >0HP hit. Triggered and applied after damage calculation, after attack damage is applied, after the target's [When Hit] effects. Effects of the same timing from same unit are all triggered together before they are applied.] Push away enemies at the 3rd square in front of self by 1 square
    Push away enemies in a 3-square horizontal line around the 2nd square in front of self by 1 square
    Push away enemies in Long Slash range by 1 square
    Push away allies at the 3rd square in front of self by 1 square
    Push away allies in a 3-square horizontal line around the 2nd square in front of self by 1 square
    Push away allies in Long Slash range by 1 square
    Push away allies 3 squares to the left and right of self by 1 square
    Push away allies at the 3rd square behind self by 1 square
    Push away allies in a 3-square horizontal line around the 2nd square behind self by 1 square
    Push away allies in reverse Long Slash range by 1 square / 45~90%
[Status ResistanceTriggers directly before receiving any status, including those that would normally not be accepted due to pre-existing acquisition of the same status. Prevents target statuses from being applied at all and removes them if already present. The application of the any status that confers Status Resistance will trigger its own Status Resistance skill effects.] Remove MadnessDecreases vertical movement by 1, enemies deal 400~800 extra damage for 3 turns (Debuff) / 50~100%


Example 8 code
{{Skill bundle
|skill_id1=2466|effect_serial_id1=1|timing1=4|target_enemy1=2|distance1=2|range_v1=1|rate_2_use1=50|mult1=100|mult_max1=100|add_status_id1=10|turn_interval1=1|turn_interval_is_total_turn1=1
|skill_id2=2466|effect_serial_id2=2|timing2=4|target_enemy2=2|distance2=2|distance_h2=1|range_v2=1|rate_2_use2=45|mult2=100|mult_max2=100|add_status_id2=10|turn_interval2=1|turn_interval_is_total_turn2=1
|skill_id3=2466|effect_serial_id3=3|timing3=4|target_enemy3=2|distance3=2|distance_h3=-1|range_v3=1|rate_2_use3=45|mult3=100|mult_max3=100|add_status_id3=10|turn_interval3=1|turn_interval_is_total_turn3=1}}