Editing Template:BAM ability
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
before we start, normalize the input a bit: | before we start, normalize the input a bit: | ||
− | * strip | + | * strip "Necro" |
* "Monsters" and "Spells" to "Monster" and "Spell", respectively | * "Monsters" and "Spells" to "Monster" and "Spell", respectively | ||
+ | * "Sea Serpent" and "Winged Beast" to "Sea_Serpent" and "Winged_Beast", respectively | ||
− | -->{{ #vardefine: $input | | + | -->{{ #vardefine: $input | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{{1}}} | Necro }} | Spells | Spell }} | Monsters | Monster }} | Sea Serpent | Sea_Serpent }} | Winged Beast | Winged_Beast }} }}(Input 1: {{ #var: $input }})<!-- |
− | -->{{ #vardefine: $necro | {{ #if: {{ #pos: {{{1}}} | Necro }} | Necro }} }}<!-- | + | -->{{ #vardefine: $necro | {{ #if: {{ #pos: {{{1}}} | Necro }} | Necro }} }}(Necro 1: {{ #var: $necro }})<!-- |
− | -->{{ #vardefine: $ | + | -->{{ #vardefine: $all | {{ #if: {{ #pos: +{{ urlencode: {{{1}}} }}+ | +All+ }} | true }} }}<!-- |
− | -->{{ # | + | -->{{ #arraydefine: $actions | Acid, Annihilate, Backfire, Big, Bloodlust, Boost, Break, Courage, Cripple, Destroy, Drain, Empathy, Explosion, Farewell, Feeble, First, Fragile, Growth, Heal, Hurt, Immune, Last, Mirror, Osmosis, Parting, Power, Promo, Rage, Requiem, Resurrect, Sacrifice, Self-Destruct, Shared, Shock, Shockwave, Sneak, Soothe, Sorrow, Special, Spirit, Timidity }}<!-- |
− | -->{{ | + | -->{{ #arraydefine: $ability | {{{1}}} | /\s/ }}<!-- |
− | -->{{ # | + | -->{{ #arrayintersect: $A | $ability | $actions }}(Ability 1: {{ #arrayprint: $A }})<!-- |
− | -->{{ #vardefine: $ | + | -->{{ #vardefine: $action |
− | | {{ # | + | | {{ #switch: {{ #arrayprint: $A }} |
− | | | + | | Acid = Acid Jet |
− | | | + | | Big = Big Explosion |
− | + | | Break = Break Immunity | |
− | + | | First = First Strike | |
− | + | | Last = Last Stand | |
− | + | | Parting = Parting Gift | |
+ | | Power = Power Redistribution | ||
+ | | Shared = Shared Fate | ||
+ | | Spirit = Spirit Protection | ||
+ | | #default = {{ #arrayprint: $A }} | ||
}} | }} | ||
− | }}<!-- | + | }}(Action 1: {{ #var: $action }})<!-- |
− | -->{{ #vardefine: $target | {{ #replace: {{ #replace: {{ #var: $ | + | -->{{ #vardefine: $target |
+ | | {{ #replace: {{ #replace: {{ #var: $input }} | All }} | {{ #var: $action }} }} | ||
+ | }}(Target 1: {{ #var: $target }})<!-- | ||
-->{{ #vardefine: $target | -->{{ #vardefine: $target | ||
− | | {{ #var: $ | + | | {{ #switch: {{ #var: $target }} |
+ | | Light Monster | Dark Monster | Earth Monster | ||
+ | | Wind Monster | Fire Monster | Water Monster | ||
+ | | Divine Monster = [[{{ uc: {{ #explode: {{ #var: $target }} }} }}]] [[Monster Card|Monster]] | ||
+ | |||
+ | | Light | Dark | Earth | Wind | Fire | Water | ||
+ | | Divine = [[{{ uc: {{ #var: $target }} }}]] [[Monster Card|Monster]] | ||
+ | |||
+ | | Sea_Serpent | Sea_Serpents = [[Sea Serpent]] | ||
+ | | Winged_Beast | Winged_Beasts = [[Winged Beast]] | ||
+ | | Fairy | Fairies = [[Fairy]] [[Monster Card|Monster]] | ||
− | | | + | | Aqua Monster | Pyro Monster | Psychic Monster |
− | | | + | | Rock Monster | Thunder Monster = [[{{ #explode: {{ #var: $target }} }}]] [[Monster Card|Monster]] |
− | | | + | | Aqua | Fish | Pyro | Psychic |
+ | | Rock | Thunder = [[{{ #var: $target}}]] [[Monster Card|Monster]] | ||
− | | | + | | Psychics = [[Psychic]] [[Monster Card|Monster]] |
− | |||
− | |||
− | |||
− | | | + | | Beast | Beast-Warrior | Dinosaur | Divine-Beast | Dragon | Fiend |
− | | | + | | Insect | Machine | Plant | Reptile | Spellcaster | Warrior |
− | + | | Zombie = [[{{ #var: $target }}]] | |
− | | | ||
− | | | + | | Beasts | Beast-Warriors | Dinosaurs | Divine-Beasts | Dragons | Fiends |
+ | | Insects | Machines | Plants | Reptiles | Spellcasters | Warriors | ||
+ | | Zombies = [[{{ #sub: {{ #var: $target }} | | -1 }}]] | ||
− | | | + | | #default = {{ #replace: {{ #replace: {{ #var: $target }} | LV | [[Level]] }} | Less | less }} |
+ | }} | ||
+ | }}(Target 2: {{ #var: $target }})<!-- | ||
− | + | -->{{ #ifeq: {{ #var: $target }} | {{ #var: $action }} | {{ #vardefine: $target | }} }}<!-- | |
− | |||
− | }}<!-- | ||
-->{{ #switch: {{ #var: $action }} | -->{{ #switch: {{ #var: $action }} | ||
− | | Acid Jet = Once per Round, when this [[Monster Card|Monster]] loses [[ | + | | Acid Jet = Once per Round, when this [[Monster Card|Monster]] loses [[Power]], your Opponent loses [[Life Points]] |
− | | Annihilate = [[Destroy]] your | + | | Annihilate = [[Destroy]] your opponent's {{ #var: $target }}s |
− | | Backfire = You | + | | Backfire = You Lose [[Life Points]] |
| Big Explosion = When [[destroy]]ed, all [[Monster Card|Monsters]] on the [[Playing Field|Field]] are destroyed. Both players lose [[Life Points|LP]] | | Big Explosion = When [[destroy]]ed, all [[Monster Card|Monsters]] on the [[Playing Field|Field]] are destroyed. Both players lose [[Life Points|LP]] | ||
| Bloodlust = Once per Round, your Opponent loses [[Life Points]] after losing Life Points | | Bloodlust = Once per Round, your Opponent loses [[Life Points]] after losing Life Points | ||
Line 65: | Line 81: | ||
| All your {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} gain | | All your {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} gain | ||
| Your {{ #if: {{ #var: $target }} | {{ #var: $target }} | [[Monster Card|Monster]] }} gains | | Your {{ #if: {{ #var: $target }} | {{ #var: $target }} | [[Monster Card|Monster]] }} gains | ||
− | }} [[ | + | }} [[Power]] |
| Break Immunity = {{ #if: {{ #var: $all }} | | Break Immunity = {{ #if: {{ #var: $all }} | ||
| All your Opponent's {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose their | | All your Opponent's {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose their | ||
| Your Opponent's [[Monster Card|Monster]] loses its | | Your Opponent's [[Monster Card|Monster]] loses its | ||
}} Immunity | }} Immunity | ||
− | | Courage = Gains [[ | + | | Courage = Gains [[Power]] if it is the only [[Monster Card|Monster]] of your side |
| Cripple = {{ #if: {{ #var: $all }} | | Cripple = {{ #if: {{ #var: $all }} | ||
| All your Opponent's {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose | | All your Opponent's {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose | ||
| Your Opponent's [[Monster Card|Monster]] loses | | Your Opponent's [[Monster Card|Monster]] loses | ||
− | }} [[ | + | }} [[Power]] |
| Destroy = [[Destroy]] your Opponent's {{ #var: $target }} | | Destroy = [[Destroy]] your Opponent's {{ #var: $target }} | ||
− | | Drain = Gains [[ | + | | Drain = Gains [[Power]] when your opponent loses [[Life Points]] |
− | | Empathy = Loses/ | + | | Empathy = Loses/gains [[Power]] as you lose/gain [[Life Points]] |
| Explosion = When [[destroy]]ed, facing [[Monster Card|Monster]] is also destroyed. Both Players lose [[Life Points]] | | Explosion = When [[destroy]]ed, facing [[Monster Card|Monster]] is also destroyed. Both Players lose [[Life Points]] | ||
| Farewell = You gain [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | | Farewell = You gain [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | ||
Line 83: | Line 99: | ||
| All your {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose | | All your {{ #if: {{ #var: $target }} | {{ #var: $target }}s | [[Monster Card|Monsters]] }} lose | ||
| Loses | | Loses | ||
− | }} [[ | + | }} [[Power]] every Round |
− | | First Strike = At Round start, if your [[Graveyard]] is empty, your | + | | First Strike = At Round start, if your [[Graveyard]] is empty, your opponent loses [[Life Points]] |
| Fragile = [[Destroy]]ed after battling another [[Monster Card|Monster]] | | Fragile = [[Destroy]]ed after battling another [[Monster Card|Monster]] | ||
− | | Growth = At Round End, your [[Monster Card|Monster]]'s [[ | + | | Growth = At Round End, your [[Monster Card|Monster]]'s [[Power]] doubles |
− | | Heal | Soothe = | + | | Heal | Soothe = You gain [[Life Points]] |
− | + | | Heal Opponent = Your Opponent gains [[Life Points]]<!-- Hackish --> | |
− | + | | Hurt | Hurt Opponent = Opponent loses [[Life Points]]<!-- Hackish --> | |
− | + | | Immune = Your {{ #if: {{ #var: $target }} | {{ #var: $target }} | [[Monster Card|Monster]] }}{{ #if: {{ #var: $all }} |s }} cannot lose [[Power]] or be [[destroy]]ed | |
− | | Hurt | + | | Last Stand = Doubles its [[Power]] if there are no cards in your [[Main Deck|Deck]] at Round Start |
− | | Immune = | ||
− | |||
− | |||
− | |||
− | | Last Stand = Doubles its [[ | ||
| Mirror = Every Round, the first time you lose [[Life Points]], your Opponent loses Life Points | | Mirror = Every Round, the first time you lose [[Life Points]], your Opponent loses Life Points | ||
− | | Osmosis = Drain [[ | + | | Osmosis = Drain [[Power]] from your Opponent's [[Monster Card|Monster]] to yours |
| Parting Gift = Your Opponent loses [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | | Parting Gift = Your Opponent loses [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | ||
− | | Power Redistribution = When this [[Monster Card|Monster]] is [[destroy]]ed, all your Monsters on the field gain [[ | + | | Power Redistribution = When this [[Monster Card|Monster]] is [[destroy]]ed, all your Monsters on the field gain [[Power]] |
− | | Rage = Gains [[ | + | | Rage = Gains [[Power]] when you lose [[Life Points]] |
− | | Requiem = Your Opponent's [[Monster Card|Monsters]] lose [[ | + | | Requiem = Your Opponent's [[Monster Card|Monsters]] lose [[Power]] when this Monster is [[destroy]]ed |
− | + | | Resurrect = One random {{ #var: $target }} is shuffled from your [[Graveyard]] into your [[Main Deck|Deck]] | |
− | | Resurrect = One random {{ #var: $target }} from your [[Graveyard]] | + | | Sacrifice = [[Destroy]] {{ #if: {{ #var: $all }} |
− | | Sacrifice = [[Destroy]] {{ #if: {{ #var: $all | ||
| all your {{ #var: $target }}s | | all your {{ #var: $target }}s | ||
| your {{ #var: $target }} | | your {{ #var: $target }} | ||
Line 111: | Line 121: | ||
| Self-Destruct = [[Destroy]] at Round End | | Self-Destruct = [[Destroy]] at Round End | ||
| Shared Fate = {{ #if: {{ #var: $all }} | | Shared Fate = {{ #if: {{ #var: $all }} | ||
− | | When this card is [[destroy]]ed, all | + | | When this card is [[destroy]]ed, all Opponent's [[Monster Card|Monsters]] are destroyed |
− | | When | + | | When destroyed, your Opponent's [[Monster Card|Monster]] is also destroyed |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | | Shock = Your Opponent loses [[Life Points]] when your [[Monster Card|Monster]] attacks | ||
+ | | Shockwave = Once per Round, when this card gains [[Power]], your opponent loses [[Life Points]] | ||
| Sneak = [[Destroy]] your Opponent's [[Monster Card|Monster]] before it [[attack]]s | | Sneak = [[Destroy]] your Opponent's [[Monster Card|Monster]] before it [[attack]]s | ||
| Sorrow = You lose [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | | Sorrow = You lose [[Life Points]] when this [[Monster Card|Monster]] is [[destroy]]ed | ||
| Spirit Protection = When your [[Monster Card|Monster]] is [[destroy]]ed, all your other Monsters gain Immunity | | Spirit Protection = When your [[Monster Card|Monster]] is [[destroy]]ed, all your other Monsters gain Immunity | ||
− | | Timidity = Loses [[ | + | | Timidity = Loses [[Power]] if your Opponent has two or more [[Monster Card|Monsters]] in play |
− | + | | Promo | Special = | |
− | |||
}}. {{ #if: {{ #var: $necro }} | }}. {{ #if: {{ #var: $necro }} | ||
− | | This effect increases with each | + | | This effect increases with each card in your [[Graveyard]]. |
}} | }} |