Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <CARD_V2 ExportVersion="1">
- <FILENAME text="WILD_MAMMOTH_CW_21376" />
- <CARDNAME text="WILD_MAMMOTH" />
- <TITLE>
- <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Wild Mammoth]]></LOCALISED_TEXT>
- </TITLE>
- <MULTIVERSEID value="21376" />
- <ARTID value="WILD_MAMMOTH" />
- <ARTIST name="Bradley Williams" />
- <CASTING_COST cost="{2}{G}" />
- <FLAVOURTEXT>
- <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[“Sit. Heel Down HELP”]]></LOCALISED_TEXT>
- </FLAVOURTEXT>
- <TYPE metaname="Creature" />
- <SUB_TYPE metaname="Elephant" />
- <EXPANSION value="NE" />
- <RARITY metaname="U" />
- <POWER value="3" />
- <TOUGHNESS value="4" />
- <TRIGGERED_ABILITY>
- <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[At the beginning of your upkeep, if a player controls more creatures than each other player, the player who controls the most creatures gains control of Wild Mammoth.]]></LOCALISED_TEXT>
- <TRIGGER value="BEGINNING_OF_PLAYERS_STEP" >
- return MTG():GetStep() == STEP_UPKEEP and TriggerPlayer() == Object():GetOwner()
- </TRIGGER>
- <RESOLUTION_TIME_ACTION>
- local creature_countA = 0
- local creature_countB = 0
- local creature_countC = 0
- local creature_countD = 0
- for i=0,MTG():GetNumberOfPlayers()-1 do
- local nthPlayer = MTG():GetNthPlayer(i)
- if i == 0 and nthPlayer ~= nil then
- filter:Clear()
- filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
- filter:Add(FE_CONTROLLER, OP_IS, nthPlayer)
- creature_countA = filter:Count()
- elseif i == 1 and nthPlayer ~= nil then
- filter:Clear()
- filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
- filter:Add(FE_CONTROLLER, OP_IS, nthPlayer)
- creature_countB = filter:Count()
- elseif i == 2 and nthPlayer ~= nil then
- filter:Clear()
- filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
- filter:Add(FE_CONTROLLER, OP_IS, nthPlayer)
- creature_countC = filter:Count()
- elseif i == 3 and nthPlayer ~= nil then
- filter:Clear()
- filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
- filter:Add(FE_CONTROLLER, OP_IS, nthPlayer)
- creature_countD = filter:Count()
- end
- end
- if (creature_countA > creature_countB) and (creature_countA > creature_countC) and (creature_countA > creature_countD) then
- local nthPlayer = MTG():GetNthPlayer(0)
- if nthPlayer ~= nil then
- Object():SetBaseController(nthPlayer)
- end
- elseif (creature_countB > creature_countA) and (creature_countB > creature_countC) and (creature_countB > creature_countD) then
- local nthPlayer = MTG():GetNthPlayer(1)
- if nthPlayer ~= nil then
- Object():SetBaseController(nthPlayer)
- end
- elseif (creature_countC > creature_countA) and (creature_countC > creature_countB) and (creature_countC > creature_countD) then
- local nthPlayer = MTG():GetNthPlayer(2)
- if nthPlayer ~= nil then
- Object():SetBaseController(nthPlayer)
- end
- elseif (creature_countD > creature_countA) and (creature_countD > creature_countC) and (creature_countD > creature_countB) then
- local nthPlayer = MTG():GetNthPlayer(3)
- if nthPlayer ~= nil then
- Object():SetBaseController(nthPlayer)
- end
- end
- </RESOLUTION_TIME_ACTION>
- </TRIGGERED_ABILITY>
- <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
- <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
- <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
- <EDITORS><![CDATA[Splinterverse]]></EDITORS>
- <DATE><![CDATA[2016-09-18]]></DATE>
- </CARD_V2>
Add Comment
Please, Sign In to add comment