It is currently 17 Nov 2018, 15:27
   
Text Size

DotP 2014 Functions

Moderators: Xander9009, CCGHQ Admins

DotP 2014 Functions

Postby RiiakShiNal » 27 Jun 2013, 13:19

I've started a wiki page with functions from the executable. I did it as a wiki page this time so that everyone can update it as we get new information.

DotP 2014: Functions
DotP 2014: XML Tags

Edit: XML Tags page started thanks to sumomole's information.
Last edited by RiiakShiNal on 29 Jun 2013, 12:32, edited 1 time in total.
Problems with base game cards: DotP 2014 Core Fixes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
RiiakShiNal
Programmer
 
Posts: 2100
Joined: 16 May 2011, 21:37
Has thanked: 73 times
Been thanked: 464 times

Re: DotP 2014 Functions

Postby thefiremind » 27 Jun 2013, 13:42

I identified 2 groups belonging respectively to card types and card sub-types (to be used with the usual "GetWritable" when changing types/sub-types), and another group to be used with the new interrogation object.

The group where you wrote "SubFilter?" is probably for a kind of filter we don't get to use, I remember there was a RevealFilter in the previous games that no card ever used, maybe it's for something like that.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3514
Joined: 07 Nov 2011, 10:55
Has thanked: 117 times
Been thanked: 716 times

Re: DotP 2014 Functions

Postby RiiakShiNal » 27 Jun 2013, 14:11

Thanks, I'm still digging through information (there is mountains of information to look through). I found functions for other objects, but I imagine they are for objects that are only used in menus or other parts of the game which we probably don't have control over (I stopped adding function blocks to the page after a while).

And you are probably right on that filter type in that it's probably an object we'll never get to use. There are dozens of objects like that.
Problems with base game cards: DotP 2014 Core Fixes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
RiiakShiNal
Programmer
 
Posts: 2100
Joined: 16 May 2011, 21:37
Has thanked: 73 times
Been thanked: 464 times

Re: DotP 2014 Functions

Postby sumomole » 29 Jun 2013, 04:57

RiiakShiNal wrote:I've started a wiki page with functions from the executable. I did it as a wiki page this time so that everyone can update it as we get new information.

DotP 2014: Functions
I don't know how to edit wiki, please help me to paste it. :mrgreen: :mrgreen: :mrgreen:
Unknown | Open
Code: Select all
CAST
DEFAULT
_ACTIVATED_ABILITY
_TRIGGERED_ABILITY
NULL
TOKEN
AI_DONT_DUPLICATE
COLLECTORNUMBER
value
FLAVOURTEXT
text
TITLE
text
TYPELINE
text
FILENAME
text
CARDNAME
text
ARTID
value
ARTUV
value
MULTIVERSEID
value
ARTIST
name
FRAMECOLOUR
name
RARITY
metaname
TYPE
metaname
SUPERTYPE
metaname
CASTING_COST
cost
POWER
value
TOUGHNESS
value
COLOUR
value
LAND_GROUP
value
FRAME_TYPE
type
ANIMATEDARTFILENAME
primary_animation
secondary_animation
last_animation_loops
AI_AVAILABILITY
type
window_step
window_turn
window_in_combat
response_source
response_target
restriction_type
restriction_check_parent
restriction_characteristic
LOCALISED_TEXT
LanguageCode
SUB_TYPE
metaname
SFX
text
targetting_arrow
power_boundary_min
power_boundary_max
STATIC_ABILITY
commaspace
resource_id
active_zone
linked_ability_group
hint_name
SPELL_ABILITY
commaspace
resource_id
active_zone
linked_ability_group
attach_definition
TRIGGERED_ABILITY
commaspace
resource_id
active_zone
linked_ability_group
replacement_effect
replacement_query
forced_skip
priority
badge
hint_name
replacement_effect_type
ACTIVATED_ABILITY
commaspace
resource_id
active_zone
linked_ability_group
forced_skip
firebreathing
hint_name
UTILITY_ABILITY
commaspace
resource_id
active_zone
origin_controller_can_use
ignore_timing
qualifier
tag
secondary_tag
MANA_ABILITY
commaspace
resource_id
AVAILABILITY
sorcery_time
during_your_turn
during_opponents_turn
upkeep
combat
non_combat
per_turn_limit
any_player
KEYWORD
tag
help_title
help_body
PRODUCES
amount
COST
type
definition
compartment
query_tag
mana_cost
counter_type
item_count
item_count_up_to
item_count_any_number_of
amount
LKI_shield
TOKEN_REGISTRATION
type
reservation
AI_BASE_SCORE
zone
score
type
AI_COUNTER_SCORE
type
score
max_counters
AI_SCORE_MULTIPLIER
zone
value
AI_PLANAR_DIE_BEHAVIOUR
behaviour
value
AI_CUSTOM_SCORE
zone
HELP
title
body
zone
zone_reverse
HINT
hint_number
trigger
trigger_value
local_trigger
two_headed_giant_only
AI_MODIFIERS
hold_priority
always_use
combat_immunity
worthless
TRIGGER
value
simple_qualifier
from_zone
to_zone
pre_trigger
damage_type
TARGET
definition
compartment
mode
tag
count
dependency
up_to
any_number_of
at_random
damage_assignment
counter_assignment
depends_on_X
not_targeted
TARGET_TAG
tag
MODE_SELECT
tag
min
max
MODE
index
tag
filter_id
reevaluates
ignore_resolution_check
always_prompt
tag
characteristic
name
proliferate
repeating
conditional
layer
filter_id
mode
tag
secondary_tag
compartment
hint
id
SEALED_HEURISTICS
activation_cost
score_modifier
is_removal
is_combat_trick
is_fixing
SEALED_SYNERGY_TAG
synergy_tag
SEALED_SYNERGY_BONUS
score_bonus
density_cap
synergy_tag
type
subtype
colour
never_batch
keyword
always
no_effect_source
no_trigger_object
no_secondary_object
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 230 times

Re: DotP 2014 Functions

Postby RiiakShiNal » 29 Jun 2013, 12:31

Those are XML Tags and attributes rather than functions so I created a new page for them (with some basic formatting):
DotP 2014: XML Tags
Problems with base game cards: DotP 2014 Core Fixes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
RiiakShiNal
Programmer
 
Posts: 2100
Joined: 16 May 2011, 21:37
Has thanked: 73 times
Been thanked: 464 times

Re: DotP 2014 Functions

Postby Zambooo » 19 Feb 2015, 16:32

Am I the only one getting this error when accessing those pages?
Code: Select all
Trailing paths and PATH_INFO is not supported by phpBB 3.0
Zambooo
 
Posts: 194
Joined: 01 Jul 2012, 21:33
Has thanked: 18 times
Been thanked: 4 times

Re: DotP 2014 Functions

Postby Xander9009 » 19 Feb 2015, 19:54

Nope, the wiki is down right now. What were you wanting to look up (if it was something specific)? Maybe someone can will remember it off hand.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: DotP 2014 Functions

Postby Zambooo » 21 Feb 2015, 14:50

well I just keep Functions and Constants pages opened while coding. Does anyone of you have them saved for this kind of "emergency"?
Zambooo
 
Posts: 194
Joined: 01 Jul 2012, 21:33
Has thanked: 18 times
Been thanked: 4 times

Re: DotP 2014 Functions

Postby Xander9009 » 21 Feb 2015, 17:56

Actually, I happen to still have the pages open, yeah.

COMPARTMENTIDS.LOL | Open
Code: Select all
COMPARTMENT_ID_DEFAULT_TARGET = 0
COMPARTMENT_ID_PARAM_TRIGGER_OBJECT = -1000
COMPARTMENT_ID_PARAM_TRIGGER_PLAYER = -1001
COMPARTMENT_ID_PARAM_SECONDARY_CARD = -1002
COMPARTMENT_ID_PARAM_SECONDARY_PLAYER = -1003
COMPARTMENT_ID_PARAM_AMOUNT = -1004
COMPARTMENT_ID_PARAM_FROM_ZONE = -1005
COMPARTMENT_ID_PARAM_TO_ZONE = -1006
COMPARTMENT_ID_COUNTER_TYPE = -1007
COMPARTMENT_ID_FILTERED_CARD = -1008
COMPARTMENT_ID_FILTERED_PLAYER = -1009
COMPARTMENT_ID_DAMAGE = -1010
COMPARTMENT_ID_EFFECT_SOURCE = -1011
COMPARTMENT_ID_STACK_OBJECT = -1012
COMPARTMENT_ID_LINKED_DATACHEST = -1013
COMPARTMENT_ID_EFFECT_SOURCE_LKI = -1014
COMPARTMENT_ID_TRIGGER_OBJECT_LKI = -1015
COMPARTMENT_ID_SECONDARY_OBJECT_LKI = -1016
COMPARTMENT_ID_COLOUR_ANSWER = -1101
COMPARTMENT_ID_X = -1102
COMPARTMENT_ID_MODE_PATTERN = -1103
COMPARTMENT_ID_COIN_FLIP = -1104
COMPARTMENT_ID_NUM_MULTICHOICE_ANSWERS = -1200
COMPARTMENT_ID_MULTICHOICE_ANSWER = -1201
PLAYER_UTILITY_COMPARTMENT_ID_DISCARD_TARGET = 0
PLAYER_UTILITY_COMPARTMENT_ID_CHEAT_TUTOR_TARGET = -2000
COMPARTMENT_ID_INT_REGISTER_0 = 1000
COMPARTMENT_ID_INT_REGISTER_1 = 1001
COMPARTMENT_ID_INT_REGISTER_2 = 1002
COMPARTMENT_ID_INT_REGISTER_3 = 1003
COMPARTMENT_ID_OBJ_REGISTER_0 = 2000
COMPARTMENT_ID_OBJ_REGISTER_1 = 2001
COMPARTMENT_ID_OBJ_REGISTER_2 = 2002
COMPARTMENT_ID_OBJ_REGISTER_3 = 2003
COMPARTMENT_ID_PLR_REGISTER_0 = 3000
COMPARTMENT_ID_PLR_REGISTER_1 = 3001
CONSTANTS.LOL | Open
Code: Select all
ZONE_NOWHERE_YET = 0
ZONE_ANYWHERE = 0
ZONE_BATTLEFIELD = 1
ZONE_EXILE = 2
ZONE_LIBRARY = 3
ZONE_GRAVEYARD = 4
ZONE_HAND = 5
ZONE_STACK = 6
ZONE_CEASED_TO_EXIST = 7
ZONE_COMMAND_SCHEME_DECK = 8
ZONE_COMMAND_SCHEME_ACTIVE = 9
ZONE_COMMAND_PLANE_DECK = 10
ZONE_COMMAND_PLANE_ACTIVE = 11
ZONE_COMMAND_GENERAL = 12
_ZONE_COUNT = 13
PHASE_BEGINNING = 0
PHASE_MAIN_1 = 1
PHASE_COMBAT = 2
PHASE_MAIN_2 = 3
PHASE_END = 4
_PHASE_COUNT = 5
STEP_UNTAP = 0
STEP_UPKEEP = 1
STEP_DRAW = 2
STEP_MAIN_1 = 3
STEP_BEGIN_COMBAT = 4
STEP_DECLARE_ATTACKERS = 5
STEP_DECLARE_BLOCKERS = 6
STEP_COMBAT_DAMAGE = 7
STEP_END_OF_COMBAT = 8
STEP_MAIN_2 = 9
STEP_END_OF_TURN = 10
STEP_CLEANUP = 11
_STEP_COUNT = 12
CHARACTERISTIC_DEATHTOUCH = 0
CHARACTERISTIC_DEFENDER = 1
CHARACTERISTIC_DOUBLE_STRIKE = 2
CHARACTERISTIC_FIRST_STRIKE = 3
CHARACTERISTIC_FLASH = 4
CHARACTERISTIC_FLYING = 5
CHARACTERISTIC_HASTE = 6
CHARACTERISTIC_HEXPROOF = 7
CHARACTERISTIC_INTIMIDATE = 8
CHARACTERISTIC_PLAINSWALK = 9
CHARACTERISTIC_ISLANDWALK = 10
CHARACTERISTIC_SWAMPWALK = 11
CHARACTERISTIC_MOUNTAINWALK = 12
CHARACTERISTIC_FORESTWALK = 13
CHARACTERISTIC_LIFELINK = 14
CHARACTERISTIC_REACH = 15
CHARACTERISTIC_SHROUD = 16
CHARACTERISTIC_TRAMPLE = 17
CHARACTERISTIC_VIGILANCE = 18
CHARACTERISTIC_FLANKING = 19
CHARACTERISTIC_PHASING = 20
CHARACTERISTIC_CHANGELING = 21
CHARACTERISTIC_SHADOW = 22
CHARACTERISTIC_FEAR = 23
CHARACTERISTIC_ANNIHILATOR = 24
CHARACTERISTIC_BATTLE_CRY = 25
CHARACTERISTIC_FADING = 26
CHARACTERISTIC_TOTEM_ARMOUR = 27
CHARACTERISTIC_INFECT = 28
CHARACTERISTIC_WITHER = 29
CHARACTERISTIC_INDESTRUCTIBLE = 30
CHARACTERISTIC_UNBLOCKABLE = 31
CHARACTERISTIC_MUST_ATTACK = 32
CHARACTERISTIC_MUST_ATTACK_EACH_TURN = 33
CHARACTERISTIC_MUST_BLOCK = 34
CHARACTERISTIC_CANT_ATTACK = 35
CHARACTERISTIC_CANT_BLOCK = 36
CHARACTERISTIC_CAN_BLOCK_IF_TAPPED = 37
CHARACTERISTIC_CANNOT_ATTACK_ALONE = 38
CHARACTERISTIC_CANNOT_BLOCK_ALONE = 39
CHARACTERISTIC_MUST_BE_BLOCKED_IF_ABLE = 40
CHARACTERISTIC_ALL_CREATURES_MUST_BLOCK_THIS_IF_ABLE = 41
CHARACTERISTIC_CANT_BE_BLOCKED_EXCEPT_BY_TWO_OR_MORE_CREATURES = 42
CHARACTERISTIC_CANT_BE_BLOCKED_EXCEPT_BY_THREE_OR_MORE_CREATURES = 43
CHARACTERISTIC_CAN_BLOCK_ONLY_CREATURES_WITH_FLYING = 44
CHARACTERISTIC_CANT_BE_BLOCKED_EXCEPT_BY_CREATURES_WITH_FLYING = 45
CHARACTERISTIC_CANT_BE_BLOCKED_EXCEPT_BY_CREATURES_WITH_FLYING_OR_REACH = 46
CHARACTERISTIC_CANT_BE_PLAYED = 47
CHARACTERISTIC_CANT_USE_ACTIVATED_ABILITIES = 48
CHARACTERISTIC_CANT_BE_COUNTERED = 49
CHARACTERISTIC_CANT_BE_REGENERATED = 50
CHARACTERISTIC_EXILE_IF_DIES = 51
CHARACTERISTIC_CANT_HAVE_COUNTERS = 52
CHARACTERISTIC_DOESNT_UNTAP = 53
CHARACTERISTIC_COMES_INTO_PLAY_TAPPED = 54
CHARACTERISTIC_DOESNT_DEAL_DAMAGE = 55
CHARACTERISTIC_DOESNT_RECEIVE_DAMAGE = 56
CHARACTERISTIC_DOESNT_DEAL_COMBAT_DAMAGE = 57
CHARACTERISTIC_DOESNT_RECEIVE_COMBAT_DAMAGE = 58
CHARACTERISTIC_USE_TOUGHNESS_FOR_COMBAT_DAMAGE = 59
CHARACTERISTIC_CAN_BLOCK_ANY_NUMBER_OF_CREATURES = 60
CHARACTERISTIC_CAN_ATTACK_AS_THOUGH_HAS_HASTE = 61
_CHARACTERISTIC_COUNT = 62
INT_CHARACTERISTIC_BUSHIDO = 0
_INT_CHARACTERISTIC_COUNT = 1
PLAYER_CHARACTERISTIC_DOESNT_DIE_ON_ZERO_LIFE = 0
PLAYER_CHARACTERISTIC_CANT_LOSE = 1
PLAYER_CHARACTERISTIC_CANT_WIN = 2
PLAYER_CHARACTERISTIC_CANT_BE_TARGETTED = 3
PLAYER_CHARACTERISTIC_NO_HAND_LIMIT = 4
PLAYER_CHARACTERISTIC_PLAY_WITH_TOP_CARD_OF_LIBRARY_REVEALED = 5
PLAYER_CHARACTERISTIC_CANT_CAST_SPELLS = 6
PLAYER_CHARACTERISTIC_CANT_ACTIVATE_NONMANA_ABILITIES = 7
PLAYER_CHARACTERISTIC_CANT_ACTIVATE_ARTIFACT_CREATURE_ENCHANTMENT_ABILITIES = 8
PLAYER_CHARACTERISTIC_CANT_ATTACK = 9
PLAYER_CHARACTERISTIC_CANT_TAKE_COMBAT_DAMAGE = 10
PLAYER_CHARACTERISTIC_CANT_TAKE_NONCOMBAT_DAMAGE = 11
PLAYER_CHARACTERISTIC_CREATURES_CANT_TAKE_COMBAT_DAMAGE = 12
PLAYER_CHARACTERISTIC_CREATURES_CANT_TAKE_NONCOMBAT_DAMAGE = 13
PLAYER_CHARACTERISTIC_CREATURES_CANT_DEAL_COMBAT_DAMAGE = 14
PLAYER_CHARACTERISTIC_CREATURES_CANT_DEAL_NONCOMBAT_DAMAGE = 15
PLAYER_CHARACTERISTIC_CREATURES_CANT_BE_SACRIFICED = 16
PLAYER_CHARACTERISTIC_CAN_PLAY_TOP_CARD_OF_LIBRARY = 17
PLAYER_CHARACTERISTIC_PLAY_WITH_TOP_CARD_OF_LIBRARY_REVEALED_TO_ME = 18
PLAYER_CHARACTERISTIC_HAS_HEXPROOF = 19
PLAYER_CHARACTERISTIC_HAS_SHROUD = 20
PLAYER_CHARACTERISTIC_CANT_BE_ATTACKED = 21
PLAYER_CHARACTERISTIC_AI_WORSHIP_HACK = 22
PLAYER_CHARACTERISTIC_AI_PARIAH_HACK = 23
_PLAYER_CHARACTERISTIC_COUNT = 24
PLAYER_INTCHARACTERISTIC_EXTRA_LAND_DROPS = 0
PLAYER_INTCHARACTERISTIC_HAND_SIZE_MODIFIER = 1
_PLAYER_INTCHARACTERISTIC_COUNT = 2
PLAYER_BADGE_ICON_FOG = 0
PLAYER_BADGE_ICON_PREVENTION = 1
PLAYER_BADGE_ICON_REPLACEMENT_REDIRECTION = 2
PLAYER_BADGE_ICON_EXTRA_TURN = 3
_PLAYER_BADGE_ICON_COUNT = 4
DUEL_CHARACTERISTIC_MAX_ONE_ATTACKER = 0
DUEL_CHARACTERISTIC_MAX_ONE_BLOCKER = 1
DUEL_CHARACTERISTIC_MAX_TWO_ATTACKERS = 2
_DUEL_CHARACTERISTIC_COUNT = 3
PARENT_CHILD_NONE = 0
PARENT_CHILD_ATTACHED = 1
PARENT_CHILD_OTHER = 2
COLOUR_COLOURLESS = 0
COLOUR_WHITE = 1
COLOUR_BLUE = 2
COLOUR_BLACK = 3
COLOUR_RED = 4
COLOUR_GREEN = 5
COLOUR_X = 6
COLOUR_SNOW = 7
_COLOUR_COUNT = 8
CARD_TYPE_ARTIFACT = 0
CARD_TYPE_CREATURE = 1
CARD_TYPE_ENCHANTMENT = 2
CARD_TYPE_INSTANT = 3
CARD_TYPE_LAND = 4
CARD_TYPE_PLANESWALKER = 5
CARD_TYPE_SORCERY = 6
CARD_TYPE_TRIBAL = 7
CARD_TYPE_SCHEME = 8
CARD_TYPE_PLANE = 9
CARD_TYPE_PHENOMENON = 10
SUPERTYPE_BASIC = 0
SUPERTYPE_LEGENDARY = 1
SUPERTYPE_WORLD = 2
SUPERTYPE_SNOW = 3
SUPERTYPE_ONGOING = 4
SIZE_OF_TYPE_BAND = 1000
SUBTYPE_NONE = -1
ARTIFACT_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_ARTIFACT
ARTIFACT_TYPE_CONTRAPTION = ARTIFACT_TYPES
ARTIFACT_TYPE_EQUIPMENT = ARTIFACT_TYPE_CONTRAPTION + 1
ARTIFACT_TYPE_FORTIFICATION = ARTIFACT_TYPE_EQUIPMENT + 1
ENCHANTMENT_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_ENCHANTMENT
ENCHANTMENT_TYPE_AURA = ENCHANTMENT_TYPES
ENCHANTMENT_TYPE_SHRINE = ENCHANTMENT_TYPE_AURA + 1
ENCHANTMENT_TYPE_CURSE = ENCHANTMENT_TYPE_SHRINE + 1
SPELL_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_INSTANT
LAND_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_LAND
LAND_TYPE_DESERT = LAND_TYPES
LAND_TYPE_FOREST = LAND_TYPE_DESERT + 1
LAND_TYPE_ISLAND = LAND_TYPE_FOREST + 1
LAND_TYPE_LAIR = LAND_TYPE_ISLAND + 1
LAND_TYPE_LOCUS = LAND_TYPE_LAIR + 1
LAND_TYPE_MINE = LAND_TYPE_LOCUS + 1
LAND_TYPE_MOUNTAIN = LAND_TYPE_MINE + 1
LAND_TYPE_PLAINS = LAND_TYPE_MOUNTAIN + 1
LAND_TYPE_POWER_PLANT = LAND_TYPE_PLAINS + 1
LAND_TYPE_SWAMP = LAND_TYPE_POWER_PLANT + 1
LAND_TYPE_TOWER = LAND_TYPE_SWAMP + 1
LAND_TYPE_URZAS = LAND_TYPE_TOWER + 1
PLANESWALKER_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_PLANESWALKER
CREATURE_TYPES = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE
EVASION_INDEX_COLOURLESS = 1
EVASION_INDEX_WHITE = 2
EVASION_INDEX_BLUE = 4
EVASION_INDEX_BLACK = 8
EVASION_INDEX_RED = 16
EVASION_INDEX_GREEN = 32
EVASION_INDEX_MULTICOLOURED = 256
EVASION_INDEX_ARTIFACT = 512
EVASION_INDEX_LEGEND = 1024
EVASION_INDEX_UNBLOCKABLE = 2048
EVASION_INDEX_FLYING = 16777216
EVASION_INDEX_SHADOW = 33554432
EVASION_INDEX_REACH = 67108864
EVASION_INDEX_DEFENDER = 134217728
SPECIAL_EFFECT_FLYING = 0
FILTER_TYPE_CARDS = 1
FILTER_TYPE_PLAYERS = 16
FILTER_TYPE_ALL = 4294967295
FE_SUBFILTER = 0
FE_ZONE = 1
FE_CHARACTERISTIC = 2
FE_TYPE = 3
FE_SUBTYPE = 4
FE_SUPERTYPE = 5
FE_COLOUR = 6
FE_POWER = 7
FE_TOUGHNESS = 8
FE_CMC = 9
FE_NUM_COLOURS = 10
FE_NUM_TARGETS = 11
FE_IS_TAPPED = 12
FE_IS_TOKEN = 13
FE_IS_ATTACKING = 14
FE_IS_BLOCKING = 15
FE_IS_BLOCKED = 16
FE_IS_ENCHANTED = 17
FE_IS_PERMANENT = 18
FE_CARD_NAME = 19
FE_CARD_INSTANCE = 20
FE_PARENT_CARD = 21
FE_CONTROLLER = 22
FE_OWNER = 23
FE_PARENT_PLAYER = 24
FE_PLAYER_ATTACKED = 25
FE_PLAYER_INSTANCE = 26
FE_TEAM = 27
FE_LUA_CONDITION = 28
FILTER_COMPOSITION_AND = 0
FILTER_COMPOSITION_OR = 1
FILTER_COMPOSITION_NAND = 2
FILTER_COMPOSITION_NOR = 3
FILTER_COMPOSITION_XOR = 4
OP_IS = 0
OP_HAS = 0
OP_EQUALS = 0
OP_NOT = 1
OP_INTERSECTS = 2
OP_DISJOINT = 3
OP_LESS_THAN = 4
OP_GREATER_THAN = 5
OP_LESS_THAN_OR_EQUAL_TO = 6
OP_GREATER_THAN_OR_EQUAL_TO = 7
CREATURE_TYPE_HUMAN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 0
CREATURE_TYPE_ADVISOR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 1
CREATURE_TYPE_ANEMONE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 2
CREATURE_TYPE_ANGEL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 3
CREATURE_TYPE_ANTEATER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 4
CREATURE_TYPE_ANTELOPE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 5
CREATURE_TYPE_APE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 6
CREATURE_TYPE_ARCHER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 7
CREATURE_TYPE_ARCHON = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 8
CREATURE_TYPE_ARTIFICER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 9
CREATURE_TYPE_ASSASSIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 10
CREATURE_TYPE_ASSEMBLY_WORKER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 11
CREATURE_TYPE_ATOG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 12
CREATURE_TYPE_AUROCHS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 13
CREATURE_TYPE_AVATAR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 14
CREATURE_TYPE_BADGER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 15
CREATURE_TYPE_BARBARIAN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 16
CREATURE_TYPE_BASILISK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 17
CREATURE_TYPE_BAT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 18
CREATURE_TYPE_BEAR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 19
CREATURE_TYPE_BEAST = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 20
CREATURE_TYPE_BEEBLE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 21
CREATURE_TYPE_BERSERKER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 22
CREATURE_TYPE_BIRD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 23
CREATURE_TYPE_BLINKMOTH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 24
CREATURE_TYPE_BOAR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 25
CREATURE_TYPE_BRINGER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 26
CREATURE_TYPE_BRUSHWAGG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 27
CREATURE_TYPE_CAMARID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 28
CREATURE_TYPE_CAMEL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 29
CREATURE_TYPE_CARIBOU = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 30
CREATURE_TYPE_CARRIER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 31
CREATURE_TYPE_CAT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 32
CREATURE_TYPE_CENTAUR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 33
CREATURE_TYPE_CEPHALID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 34
CREATURE_TYPE_CHIMERA = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 35
CREATURE_TYPE_CITIZEN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 36
CREATURE_TYPE_CLERIC = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 37
CREATURE_TYPE_COCKATRICE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 38
CREATURE_TYPE_CONSTRUCT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 39
CREATURE_TYPE_COWARD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 40
CREATURE_TYPE_CRAB = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 41
CREATURE_TYPE_CROCODILE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 42
CREATURE_TYPE_CYCLOPS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 43
CREATURE_TYPE_DAUTHI = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 44
CREATURE_TYPE_DEMON = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 45
CREATURE_TYPE_DESERTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 46
CREATURE_TYPE_DEVIL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 47
CREATURE_TYPE_DJINN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 48
CREATURE_TYPE_DRAGON = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 49
CREATURE_TYPE_DRAKE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 50
CREATURE_TYPE_DREADNOUGHT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 51
CREATURE_TYPE_DRONE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 52
CREATURE_TYPE_DRUID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 53
CREATURE_TYPE_DRYAD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 54
CREATURE_TYPE_DWARF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 55
CREATURE_TYPE_EFREET = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 56
CREATURE_TYPE_EGG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 57
CREATURE_TYPE_ELDER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 58
CREATURE_TYPE_ELEMENTAL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 59
CREATURE_TYPE_ELEPHANT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 60
CREATURE_TYPE_ELF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 61
CREATURE_TYPE_ELK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 62
CREATURE_TYPE_EYE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 63
CREATURE_TYPE_FAERIE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 64
CREATURE_TYPE_FERRET = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 65
CREATURE_TYPE_FISH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 66
CREATURE_TYPE_FLAGBEARER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 67
CREATURE_TYPE_FOX = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 68
CREATURE_TYPE_FROG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 69
CREATURE_TYPE_FUNGUS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 70
CREATURE_TYPE_GARGOYLE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 71
CREATURE_TYPE_GIANT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 72
CREATURE_TYPE_GNOME = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 73
CREATURE_TYPE_GOAT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 74
CREATURE_TYPE_GOBLIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 75
CREATURE_TYPE_GOLEM = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 76
CREATURE_TYPE_GORGON = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 77
CREATURE_TYPE_GRAVEBORN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 78
CREATURE_TYPE_GREMLIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 79
CREATURE_TYPE_GRIFFIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 80
CREATURE_TYPE_HAG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 81
CREATURE_TYPE_HARPY = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 82
CREATURE_TYPE_HELLION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 83
CREATURE_TYPE_HIPPO = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 84
CREATURE_TYPE_HOMARID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 85
CREATURE_TYPE_HOMUNCULUS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 86
CREATURE_TYPE_HORROR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 87
CREATURE_TYPE_HORSE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 88
CREATURE_TYPE_HOUND = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 89
CREATURE_TYPE_HYDRA = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 90
CREATURE_TYPE_ILLUSION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 91
CREATURE_TYPE_IMP = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 92
CREATURE_TYPE_INCARNATION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 93
CREATURE_TYPE_INSECT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 94
CREATURE_TYPE_JELLYFISH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 95
CREATURE_TYPE_JUGGERNAUT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 96
CREATURE_TYPE_KAVU = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 97
CREATURE_TYPE_KIRIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 98
CREATURE_TYPE_KITHKIN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 99
CREATURE_TYPE_KNIGHT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 100
CREATURE_TYPE_KOBOLD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 101
CREATURE_TYPE_KOR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 102
CREATURE_TYPE_KRAKEN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 103
CREATURE_TYPE_LAMMASU = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 104
CREATURE_TYPE_LEECH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 105
CREATURE_TYPE_LEVIATHAN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 106
CREATURE_TYPE_LHURGOYF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 107
CREATURE_TYPE_LICID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 108
CREATURE_TYPE_LIZARD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 109
CREATURE_TYPE_MANTICORE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 110
CREATURE_TYPE_MASTICORE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 111
CREATURE_TYPE_MERCENARY = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 112
CREATURE_TYPE_MERFOLK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 113
CREATURE_TYPE_METATHRAN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 114
CREATURE_TYPE_MINION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 115
CREATURE_TYPE_MINOTAUR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 116
CREATURE_TYPE_MONGER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 117
CREATURE_TYPE_MONGOOSE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 118
CREATURE_TYPE_MONK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 119
CREATURE_TYPE_MOONFOLK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 120
CREATURE_TYPE_MUTANT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 121
CREATURE_TYPE_MYR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 122
CREATURE_TYPE_MYSTIC = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 123
CREATURE_TYPE_NAUTILUS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 124
CREATURE_TYPE_NEPHILIM = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 125
CREATURE_TYPE_NIGHTMARE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 126
CREATURE_TYPE_NIGHTSTALKER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 127
CREATURE_TYPE_NINJA = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 128
CREATURE_TYPE_NOMAD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 129
CREATURE_TYPE_OCTOPUS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 130
CREATURE_TYPE_OGRE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 131
CREATURE_TYPE_OOZE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 132
CREATURE_TYPE_ORB = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 133
CREATURE_TYPE_ORC = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 134
CREATURE_TYPE_ORGG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 135
CREATURE_TYPE_OUPHE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 136
CREATURE_TYPE_OX = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 137
CREATURE_TYPE_OYSTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 138
CREATURE_TYPE_PEGASUS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 139
CREATURE_TYPE_PENTAVITE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 140
CREATURE_TYPE_PEST = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 141
CREATURE_TYPE_PHELDDAGRIF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 142
CREATURE_TYPE_PHOENIX = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 143
CREATURE_TYPE_PINCHER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 144
CREATURE_TYPE_PIRATE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 145
CREATURE_TYPE_PLANT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 146
CREATURE_TYPE_PRISM = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 147
CREATURE_TYPE_RABBIT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 148
CREATURE_TYPE_RAT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 149
CREATURE_TYPE_REBEL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 150
CREATURE_TYPE_REFLECTION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 151
CREATURE_TYPE_RHINO = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 152
CREATURE_TYPE_RIGGER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 153
CREATURE_TYPE_ROGUE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 154
CREATURE_TYPE_SALAMANDER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 155
CREATURE_TYPE_SAMURAI = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 156
CREATURE_TYPE_SAND = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 157
CREATURE_TYPE_SAPROLING = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 158
CREATURE_TYPE_SATYR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 159
CREATURE_TYPE_SCARECROW = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 160
CREATURE_TYPE_SCORPION = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 161
CREATURE_TYPE_SCOUT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 162
CREATURE_TYPE_SERF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 163
CREATURE_TYPE_SERPENT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 164
CREATURE_TYPE_SHADE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 165
CREATURE_TYPE_SHAMAN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 166
CREATURE_TYPE_SHAPESHIFTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 167
CREATURE_TYPE_SHEEP = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 168
CREATURE_TYPE_SKELETON = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 169
CREATURE_TYPE_SLITH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 170
CREATURE_TYPE_SLIVER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 171
CREATURE_TYPE_SLUG = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 172
CREATURE_TYPE_SNAKE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 173
CREATURE_TYPE_SOLDIER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 174
CREATURE_TYPE_SOLTARI = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 175
CREATURE_TYPE_SPAWN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 176
CREATURE_TYPE_SPECTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 177
CREATURE_TYPE_SPELLSHAPER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 178
CREATURE_TYPE_SPHINX = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 179
CREATURE_TYPE_SPIDER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 180
CREATURE_TYPE_SPIKE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 181
CREATURE_TYPE_SPIRIT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 182
CREATURE_TYPE_SPLINTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 183
CREATURE_TYPE_SPONGE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 184
CREATURE_TYPE_SQUID = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 185
CREATURE_TYPE_SQUIRREL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 186
CREATURE_TYPE_STARFISH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 187
CREATURE_TYPE_SURVIVOR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 188
CREATURE_TYPE_TETRAVITE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 189
CREATURE_TYPE_THALAKOS = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 190
CREATURE_TYPE_THOPTER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 191
CREATURE_TYPE_THRULL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 192
CREATURE_TYPE_TREEFOLK = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 193
CREATURE_TYPE_TRISKELAVITE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 194
CREATURE_TYPE_TROLL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 195
CREATURE_TYPE_TURTLE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 196
CREATURE_TYPE_UNICORN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 197
CREATURE_TYPE_VAMPIRE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 198
CREATURE_TYPE_VEDALKEN = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 199
CREATURE_TYPE_VIASHINO = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 200
CREATURE_TYPE_VOLVER = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 201
CREATURE_TYPE_WALL = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 202
CREATURE_TYPE_WARRIOR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 203
CREATURE_TYPE_WEIRD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 204
CREATURE_TYPE_WHALE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 205
CREATURE_TYPE_WIZARD = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 206
CREATURE_TYPE_WOLF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 207
CREATURE_TYPE_WOLVERINE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 208
CREATURE_TYPE_WOMBAT = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 209
CREATURE_TYPE_WORM = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 210
CREATURE_TYPE_WRAITH = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 211
CREATURE_TYPE_WURM = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 212
CREATURE_TYPE_YETI = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 213
CREATURE_TYPE_ZOMBIE = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 214
CREATURE_TYPE_ZUBERA = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 215
CREATURE_TYPE_ALLY = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 216
CREATURE_TYPE_TRAP = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 217
CREATURE_TYPE_ELDRAZI = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 218
CREATURE_TYPE_PRAETOR = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 219
CREATURE_TYPE_WEREWOLF = SIZE_OF_TYPE_BAND * CARD_TYPE_CREATURE + 220
TRIGGER_BEGINNING_OF_STEP = 0
TRIGGER_BEGINNING_OF_PLAYERS_STEP = 1
TRIGGER_BEGINNING_OF_TURN = 2
TRIGGER_BEGINNING_OF_PLAYERS_TURN = 3
TRIGGER_ATTACKERS_DECLARED = 4
TRIGGER_BLOCKERS_DECLARED = 5
TRIGGER_ACTIVATED_ABILITY_PLAYED = 6
TRIGGER_PLAYER_LOST_LIFE = 7
TRIGGER_PLAYER_GAINED_LIFE = 8
TRIGGER_PLAYER_LIFE_CHANGED = 9
TRIGGER_ATTACKING_AND_ISNT_BLOCKED = 10
TRIGGER_ATTACKING = 11
TRIGGER_AURA_ATTACHED = 12
TRIGGER_EQUIPMENT_ATTACHED = 13
TRIGGER_ATTACKING_ALONE = 14
TRIGGER_BECAME_TAPPED = 15
TRIGGER_BECAME_TAPPED_FOR_MANA = 16
TRIGGER_BECAME_TARGET_OF_SPELL = 17
TRIGGER_BECAME_TARGET_OF_ABILITY = 18
TRIGGER_BECAME_UNTAPPED = 19
TRIGGER_BLOCKING = 20
TRIGGER_CHAMPIONED = 21
TRIGGER_CLASH = 22
TRIGGER_CONTROLLER_CHANGED = 23
TRIGGER_COUNTERS_CHANGED = 24
TRIGGER_CYCLED = 25
TRIGGER_DESTROYED = 26
TRIGGER_DISCARD = 27
TRIGGER_DREW_CARD = 28
TRIGGER_KICKER_PAID = 29
TRIGGER_LOST_CLASH = 30
TRIGGER_PAY_CUMULATIVE_UPKEEP = 31
TRIGGER_PAY_ECHO = 32
TRIGGER_SPELL_OR_ABILITY_CAUSED_SHUFFLE = 33
TRIGGER_STATE_BASED_EFFECTS = 34
TRIGGER_TARGETS_CHOSEN = 35
TRIGGER_TURNED_FACE_UP = 36
TRIGGER_UNATTACHED_FROM_CREATURE = 37
TRIGGER_WAS_BLOCKED_BY_A_CREATURE = 38
TRIGGER_BLOCKS_A_CREATURE = 39
TRIGGER_WON_CLASH = 40
TRIGGER_ZONECHANGE_CONSIDERED = 41
TRIGGER_ZONECHANGE_BEGIN = 42
TRIGGER_ZONECHANGE_TRANSITION = 43
TRIGGER_ZONECHANGE_END = 44
TRIGGER_SACRIFICE = 45
TRIGGER_SPELL_PLAYED = 46
TRIGGER_SPELL_RESOLVED = 47
TRIGGER_ABILITY_PLAYED = 48
TRIGGER_ABILITY_RESOLVED = 49
TRIGGER_LAND_PLAYED = 50
TRIGGER_WAS_BLOCKED = 51
TRIGGER_CARD_CONSIDERED_FOR_TARGETTING = 52
TRIGGER_PLAYER_CONSIDERED_FOR_TARGETTING = 53
TRIGGER_SPELL_BEING_COUNTERED = 54
TRIGGER_STACK_PUSHED = 55
TRIGGER_STACK_POPPED = 56
TRIGGER_SET_IN_MOTION = 57
TRIGGER_ABANDONED = 58
TRIGGER_PLAYER_LOSES_GAME = 59
TRIGGER_ROLLED_CHAOS = 60
TRIGGER_ROLLED_PLANESWALK = 61
TRIGGER_PHENOMENON_ENCOUNTERED = 62
TRIGGER_PLANESWALK_AWAY_FROM = 63
TRIGGER_PLANESWALK_TO = 64
TRIGGER_PLANAR_DIE_ROLLED = 65
TRIGGER_SOURCE_DEALS_DAMAGE = 66
TRIGGER_OBJECT_TAKES_DAMAGE = 67
TRIGGER_PLAYER_TAKES_DAMAGE = 68
TRIGGER_SOURCE_DEALS_DAMAGE_TO_OBJECT = 69
TRIGGER_SOURCE_DEALS_DAMAGE_TO_PLAYER = 70
TRIGGER_PLAYER_POISON_CHANGED = 71
TRIGGER_PLAYER_GAIN_POISON = 72
TRIGGER_PLAYER_LOST_LIFE_FROM_DAMAGE = 73
TRIGGER_PLAYER_PUT_TOKENS_INTO_PLAY = 74
TRIGGER_CANT_ATTACK_TEST = 75
TRIGGER_CANT_BLOCK_TEST = 76
TRIGGER_CANT_ATTACK_PLAYER_TEST = 77
TRIGGER_EVASION_TEST = 78
TRIGGER_SPELL_ABOUT_TO_RESOLVE = 79
TRIGGER_ABILITY_ABOUT_TO_RESOLVE = 80
TRIGGER_FINALISE_STACK_OBJECT = 81
TRIGGER_COMBAT_DAMAGE_PUSHED = 82
TRIGGER_CONSIDERED_FOR_CAST = 83
TRIGGER_CONSIDERED_FOR_ACTIVATION = 84
_TRIGGER_COUNT = 85
COIN_FLIP_LOSE = 0
COIN_FLIP_WIN = 1
TARGET_DETERMINATION_NONE = 0
TARGET_DETERMINATION_ALL = 1
TARGET_DETERMINATION_SOME = 2
STACK_OBJECT_UNDEFINED = 0
STACK_OBJECT_CARD = 1
STACK_OBJECT_ABILITY = 2
STACK_OBJECT_COMBAT_DAMAGE = 3
SCORE_QUERY = 0
SCORE_BASIC_LOOKAHEAD = 1
SCORE_FULL_LOOKAHEAD = 2
SCORE_COMBAT_PRECALC = 3
GAME_TYPE_FREE_FOR_ALL = 0
GAME_TYPE_TWO_HEADED_GIANT = 1
QUERY_FLAG_UP_TO = 1
QUERY_FLAG_MAY = 1
QUERY_FLAG_SELECT_EVERYTHING = 2
QUERY_FLAG_SLOWLY_RIPPLE = 4
QUERY_FLAG_REVEAL_RESULTS = 8
QUERY_FLAG_CAN_BE_FINISHED_EARLY_CANCEL_EDITION = 16
QUERY_FLAG_AI_COMPLEX = 32
QUERY_FLAG_RANDOM = 64
QUERY_FLAG_USE_TARGET_SORTER = 128
QUERY_FLAG_UNBOUNDED = 256
QUERY_FLAG_ASSIGNMENT = 512
QUERY_FLAG_DAMAGE_ASSIGNMENT = 1024
_COMPARTMENT_FREE = 0
COMPARTMENT_INTEGER = 1
COMPARTMENT_FLOAT = 2
COMPARTMENT_PLAYER_PTR = 3
COMPARTMENT_TEAM_PTR = 4
COMPARTMENT_OBJECT_PTR = 5
COMPARTMENT_CARD_TYPE = 6
COMPARTMENT_SUB_TYPE = 7
COMPARTMENT_SUPER_TYPE = 8
COMPARTMENT_FILTER = 9
COMPARTMENT_COLOUR = 10
COMPARTMENT_ABILITY = 11
COMPARTMENT_DAMAGE = 12
COMPARTMENT_TARGET = 13
COMPARTMENT_CHEST = 14
NEXT_COMPARTMENT = -1
NO_VALIDATION = -1
HINT_ALLIED_ONLY = 0
HINT_ALLIED = 1
HINT_NEUTRAL = 2
HINT_ENEMY = 3
HINT_ENEMY_ONLY = 4
PLANECHASE_DICE_ROLL_NOT_ROLLED = -1
PLANECHASE_DICE_ROLL_NONE = 0
PLANECHASE_DICE_ROLL_CHAOS = 1
PLANECHASE_DICE_ROLL_PLANESWALK = 2
TARGET_SORT_TYPE_CONTROL = 0
TARGET_SORT_TYPE_SCORE = 1
TARGET_SORT_TYPE_DESTROY = 2
TARGET_SORT_TYPE_DAMAGE = 3
TARGET_SORT_POLARITY_ENEMY = 0
TARGET_SORT_POLARITY_ALLIED = 1
TARGET_SORT_POLARITY_NEUTRAL = 2
TARGET_SORT_POLARITY_INVERSE_NEUTRAL = 3
BADGE_FIRSTSTRIKE = 0
BADGE_TRAMPLE = 1
BADGE_DOUBLESTRIKE = 2
BADGE_DEATHTOUCH = 3
BADGE_LIFELINK = 4
BADGE_REACH = 5
BADGE_DEFENDER = 6
BADGE_SHROUD = 7
BADGE_INDESTRUCTIBLE = 8
BADGE_UNBLOCKABLE = 9
BADGE_FLYING = 10
BADGE_SHADOW = 11
BADGE_FLASH = 12
BADGE_VIGILANCE = 13
BADGE_HASTE = 14
BADGE_FEAR = 15
BADGE_PLAINS_WALK = 16
BADGE_ISLAND_WALK = 17
BADGE_SWAMP_WALK = 18
BADGE_MOUNTAIN_WALK = 19
BADGE_FOREST_WALK = 20
BADGE_HEXPROOF = 21
BADGE_DOESNT_UNTAP = 22
BADGE_DOESNT_UNTAP_NEXT_TIME = 23
BADGE_INTIMIDATE = 24
BADGE_ANNIHILATOR = 25
BADGE_BATTLE_CRY = 26
BADGE_FADING = 27
BADGE_TOTEM_ARMOR = 28
BADGE_DIES_AT_END_OF_TURN = 29
BADGE_FLANKING = 30
BADGE_INFECT = 31
BADGE_WITHER = 32
BADGE_EXALTED = 33
BADGE_UNDYING = 34
BADGE_CHANGELING = 35
BADGE_BUSHIDO = 36
BADGE_TEMPORARY_CONTROL_CHANGE = 37
BADGE_MUST_ATTACK = 38
BADGE_CANT_BLOCK = 39
BADGE_MUST_BE_BLOCKED = 40
BADGE_PREVENT_ALL_COMBAT_DAMAGE_RECEIVED = 41
_BADGE_COUNT = 42
INTERROGATE_LIFE_LOST = 0
INTERROGATE_CARDS_DRAWN = 1
INTERROGATE_SEARCHED_LIBRARY = 2
INTERROGATE_DAMAGE_DEALT = 3
INTERROGATE_CARDS_MOVED_ZONE = 4
INTERROGATE_SPELLS_CAST = 5
INTERROGATE_ATTACKS = 6
INTERROGATE_COUNT_PHASES = 7
INTERROGATE_THIS_GAME = 0
INTERROGATE_THIS_TURN = 1
INTERROGATE_THIS_PHASE = 2
INTERROGATE_THIS_STEP = 3
INTERROGATE_FLAG_TOKEN = 4
INTERROGATE_FLAG_COUNTERED = 8
INTERROGATE_FLAG_SACRIFICED = 16
INTERROGATE_FLAG_COUNTERED_BY_OPPONENT = 32
EXTRACTINFO.LOL | Open
Code: Select all
Object = function()
  local l_1_0, l_1_1 = MTG():GetCurrentObject, MTG()
  return l_1_0(l_1_1)
end

EffectController = function()
  local l_2_0, l_2_1 = MTG():EffectController, MTG()
  return l_2_0(l_2_1)
end

EffectDC = function()
  local l_3_0, l_3_1 = MTG():EffectDataChest, MTG()
  return l_3_0(l_3_1)
end

LinkedDC = function()
  local l_4_0, l_4_1 = MTG():EffectDataChest():Get_SharedChest, MTG():EffectDataChest()
  local l_4_2 = COMPARTMENT_ID_LINKED_DATACHEST
  return l_4_0(l_4_1, l_4_2)
end

TriggerObject = function()
  local l_5_0, l_5_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_5_2 = COMPARTMENT_ID_PARAM_TRIGGER_OBJECT
  return l_5_0(l_5_1, l_5_2)
end

TriggerPlayer = function()
  local l_6_0, l_6_1 = MTG():EffectDataChest():Get_PlayerPtr, MTG():EffectDataChest()
  local l_6_2 = COMPARTMENT_ID_PARAM_TRIGGER_PLAYER
  return l_6_0(l_6_1, l_6_2)
end

SecondaryObject = function()
  local l_7_0, l_7_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_7_2 = COMPARTMENT_ID_PARAM_SECONDARY_CARD
  return l_7_0(l_7_1, l_7_2)
end

TriggerObjectLKI = function()
  local l_8_0, l_8_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_8_2 = COMPARTMENT_ID_TRIGGER_OBJECT_LKI
  return l_8_0(l_8_1, l_8_2)
end

SecondaryObjectLKI = function()
  local l_9_0, l_9_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_9_2 = COMPARTMENT_ID_SECONDARY_OBJECT_LKI
  return l_9_0(l_9_1, l_9_2)
end

TriggerStackObjectID = function()
  local l_10_0, l_10_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_10_2 = COMPARTMENT_ID_STACK_OBJECT
  return l_10_0(l_10_1, l_10_2)
end

SecondaryPlayer = function()
  local l_11_0, l_11_1 = MTG():EffectDataChest():Get_PlayerPtr, MTG():EffectDataChest()
  local l_11_2 = COMPARTMENT_ID_PARAM_SECONDARY_PLAYER
  return l_11_0(l_11_1, l_11_2)
end

GetAmount = function()
  local l_12_0, l_12_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_12_2 = COMPARTMENT_ID_PARAM_AMOUNT
  return l_12_0(l_12_1, l_12_2)
end

SetAmount = function(l_13_0)
  MTG():EffectDataChest():Set_Int(COMPARTMENT_ID_PARAM_AMOUNT, l_13_0)
end

GetFromZone = function()
  local l_14_0, l_14_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_14_2 = COMPARTMENT_ID_PARAM_FROM_ZONE
  return l_14_0(l_14_1, l_14_2)
end

GetToZone = function()
  local l_15_0, l_15_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_15_2 = COMPARTMENT_ID_PARAM_TO_ZONE
  return l_15_0(l_15_1, l_15_2)
end

CounterTypeIndex = function()
  local l_16_0, l_16_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_16_2 = COMPARTMENT_ID_COUNTER_TYPE
  return l_16_0(l_16_1, l_16_2)
end

Damage = function()
  local l_17_0, l_17_1 = MTG():EffectDataChest():Get_Damage, MTG():EffectDataChest()
  local l_17_2 = COMPARTMENT_ID_DAMAGE
  return l_17_0(l_17_1, l_17_2)
end

FilteredCard = function()
  local l_18_0, l_18_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_18_2 = COMPARTMENT_ID_FILTERED_CARD
  return l_18_0(l_18_1, l_18_2)
end

FilteredPlayer = function()
  local l_19_0, l_19_1 = MTG():EffectDataChest():Get_PlayerPtr, MTG():EffectDataChest()
  local l_19_2 = COMPARTMENT_ID_FILTERED_PLAYER
  return l_19_0(l_19_1, l_19_2)
end

EffectSource = function()
  local l_20_0, l_20_1 = MTG():EffectDataChest():Get_CardPtr, MTG():EffectDataChest()
  local l_20_2 = COMPARTMENT_ID_EFFECT_SOURCE
  return l_20_0(l_20_1, l_20_2)
end

EffectSourceLKI = function()
  do
    local l_21_2 = MTG():EffectDataChest():Get_CardPtr
    l_21_2 = l_21_2(MTG():EffectDataChest(), COMPARTMENT_ID_EFFECT_SOURCE_LKI)
     -- DECOMPILER ERROR: Confused at declaration of local variable

    if l_21_2 then
      return l_21_2
    else
      local l_21_1 = Object
      return l_21_1()
    end
     -- DECOMPILER ERROR: Confused about usage of registers for local variables.

  end
end

GetEffectX = function()
  local l_22_0, l_22_1 = MTG():EffectDataChest():Get_Int, MTG():EffectDataChest()
  local l_22_2 = COMPARTMENT_ID_X
  return l_22_0(l_22_1, l_22_2)
end

GetChosenColour = function()
  local l_23_0, l_23_1 = MTG():EffectDataChest():Get_Colour, MTG():EffectDataChest()
  local l_23_2 = COMPARTMENT_ID_COLOUR_ANSWER
  return l_23_0(l_23_1, l_23_2)
end

ClearFilter = function()
  local l_24_0, l_24_1 = MTG():GetCurrentObject():ClearFilter, MTG():GetCurrentObject()
  return l_24_0(l_24_1)
end
MISC.LOL | Open
Code: Select all
lua_mtg_index = 5
MTG = function()
  local l_1_0 = rawget
  local l_1_1 = _G
  local l_1_2 = lua_mtg_index
  return l_1_0(l_1_1, l_1_2)
end
Functions | Open
Team

GetUniqueID
IsSharedLifeTotal
GetNthPlayer
GetNumberOfPlayers
TakeExtraTurn


Player Characteristics
Bool_Get
Bool_Set
Int_Get
Int_Set
Int_Increment
Int_Decrement
Int_Increase
Int_Decrease


Player
SetAttackController
SetBlockController
RevealHand
AddPlayScore
GetAlwaysUseOptionalAbilitiesSetting
GetFlipResult
FlipCoin
SetCustomQueryInstructionCardPtr
SetCustomQueryInstructionValue
MarkForFilter
AddBadge
DisplayMessage
ChooseNewTargets
Sacrifice
Planeswalk
PayResourceCost
CanPayResourceCost
PayManaCost
CanPayManaCost
GetTotalMana
OutOfTheGame
PlayerDataChest
CastSpellUsingResourceCost
CanCastSpellUsingResourceCost
CastSpellForFree
CanCastSpellForFree
CopySpell
GetUniqueID
CountBasicLandTypes
OpponentHasLandOfColour
HasLandOfColour
GetPredominantColour
GetNextPlayerInTeam
GetNextPlayer
GetOpponent
LoseGame
WinGame
GetCurrentCharacteristics
IsSorceryTime
GetGlobalIndex
IsHuman
IsAI
MyTurn
PreventNextDamage
PreventDamage
Protection
MoveLocalZone
Hand_Count
Hand_GetNth
Hand_GetRandom
Graveyard_Count
Graveyard_GetNth
PlaneDeck_Count
PlaneDeck_GetBottom
PlaneDeck_GetNth
PlaneDeck_GetTop
Library_Count
Library_GetBottom
Library_GetNth
Library_GetTop
DiscardHand
DiscardRandomCard
MillCards
DrawCards
DrawCard
ShuffleLibrary
GetTeam
AddPoisonCounters
LoseLife
GainLife
SetLifeTotal
GetLifeTotal
ChooseColour
GetNumericalChoiceResult
GetMultipleChoiceResult
AskNumericalChoiceQuestion
AddNumericalChoiceAnswer
BeginNewNumericalChoice
AskMultipleChoiceQuestion
AddMultipleChoiceAnswer
BeginNewMultipleChoice
SetItemPrompt
SetItemCount
ChooseItemsFromDC
ChooseItemFromDC
ChooseItems
ChooseItem
LookAtPlayersHand


Object
GetOwner
AddScore
MarkForFilter
GetPaidX
WasPaidForWithColour
GetKickedCount
WasKicked
IsEnchanted
GetDataChest
GrantPseudoFlash
PlayFreeFromAnywhere
CanBePlayed
WasCast
IsToken
UseCopiableValues
StoreCopiableValues
GetPlaneswalkerAttacked
GetPlayerAttacked
CalcPotentialScore
CalcScore
NumAttacksThisTurn
GetBlockVictim
WasBlocked
IsBlocked
IsAttacking
IsBlocking
DecreaseColouredCost
IncreaseColouredCost
DecreaseCost
IncreaseCost
CounterSpell
GetManaX
GetBestOrWorstCounterType
CountCounters
RemoveCounters
AddCounters
TurnFaceUp
TurnFaceDown
EntersBattlefieldTapped
IsTapped
Untap
Hold
TapAndHold
Tap
GetDamage
ClearDamage
PreventNextDamage
PreventDamage
Protection
SetBaseController
SetController
GuidedReveal
Reveal
PutInPlaneDeck
PutOntoBattlefieldAttachedTo
PutOntoBattlefieldBlocking
PutOntoBattlefieldTappedAndAttacking
PutOntoBattlefieldTapped
PutOntoBattlefield
PutOnBottomOfLibrary
PutOnTopOfLibrary
PutInLibrary
PutInHand
ReturnToOwnersHand
ExileFaceDown
Exile
PutInGraveyard
QueueZoneChange
GiveRegeneration
DestroyWithoutRegenerate
Destroy
Discard
CountAttachedEquipment
CountAttachedAuras
CanAttachTo
RemoveFromParent
GetParentPlayer
GetParent
NailOnto
Enchant
Fortificate
AttachToPlayer
Attach
GetLastDamageAmountDealt
DealUnpreventableDamageTo
DealDamageTo
LoadTargetDefinitionFromDC
LoadTargetDefinition
ClearFilter
GetFilter
GetCardName
GetSpec
GetRef
GetCurrentCharacteristics
GetConvertedManaCost
GetCurrentToughness
GetCurrentPower
GetColour
GetErstwhileErstwhileZoneController
GetErstwhileErstwhileZone
GetErstwhileZoneController
GetErstwhileZone
GetZone
GetSubType
GetSuperType
GetCardType
GetPlayer
GetController


Filter
Clear
Add
AddSubFilter
AddSubFilter_And
AddSubFilter_Or
Set_And
Set_Or
SetFilterType
SetZone
May
Count
CountStopAt
SetHint
SetPortion
SetReversePortion
SetStackObjectType
SetUnique
SetMarkedObjectsOnly
SetUnmarkedObjectsOnly
EvaluateObjects
EvaluatePlayers
GetNthEvaluatedObject
GetNthEvaluatedPlayer
GetRandomEvaluatedObject
ChromaCount
Invalidate


SubFilter
Set_Or
Set_And
AddSubFilter_Or
AddSubFilter_And
AddSubFilter
Add


MTG
EffectDataChest
BESPOKE_Retether_SetOnlyCreaturesCanBeEnchantedFlag
ReevaluateContinuousEffects
ClearInterrogationQuery
SetTargetAnswerer
SetTargetCount
IsMainDuel
GetStackObjectController
GetStackObjectCard
CounterStackObject
ClearFilterMark
RandomNumberBetween
GetTargetSorter
SetPlanarDiceNothingOverload
MessageAllPlayers
ReportStatsEvent
OverrideEvent
RemoveDelayedTrigger
CreateDelayedTrigger
FireTrigger
GetActionRepCount
GetCurrentTeam
DropIntoDebugger
GetCurrentCharacteristics
GetGameType
GetNthTeam
GetNumberOfTeams
GetPlayerByGlobalIndex
GetNthStartingPlayer
GetNumberOfStartingPlayers
GetNthPlayer
GetNumberOfPlayers
PutTokenCopiesOntoBattlefieldTappedAndAttacking
PutTokenCopiesOntoBattlefield
PutPTTokensOntoBattlefield
PutTokensOntoBattlefieldTappedAndAttacking
PutTokensOntoBattlefieldTapped
PutTokensOntoBattlefield
MinusOneMinusOneCounters
PlusZeroPlusOneCounters
PlusOnePlusZeroCounters
PlusOnePlusOneCounters
GetCountersType
ReverseTurnOrder
SkipPhase
SkipStep
TakeAdditionalPhase
GetTurnID
GetTurnNumber
GetPhase
GetStep
DuelDataChest
GetCurrentObject
EffectController
Bool_Get
Bool_Set


Data Chest
Set_Int
Set_Assignment
Get_Assignment
CopyFrom
Count
GetType
Clear
Free_Compartment
Get_SharedChest
Get_Chest
Make_Chest
AttachTargetDefinition
Get_NthTargets
Get_Targets
Make_Targets
Get_Damage
Set_Damage
Get_Colour
Set_Colour
Get_Supertype
Set_Supertype
Get_SubType
Set_SubType
Get_CardType
Set_CardType
Remove_RandomCardPtr
QueryUnselect_CardPtr
LKIShield_CardPtr
Protect_CardPtr
Get_NthCardPtr
Get_CardPtr
Set_CardPtr
Get_TeamPtr
Set_TeamPtr
Get_NthPlayerPtr
Get_PlayerPtr
Set_PlayerPtr
Float_Dec
Float_Inc
Float_Div
Float_Mul
Float_Sub
Float_Add
Float_Set
Float_Clear
Float_Get
Get_Float
Set_Float
Int_Dec
Int_Inc
Int_Div
Int_Mul
Int_Sub
Int_Add
Int_Set
Int_Clear
Int_Get
Get_Int


Damage
GetAmount
GetSource
GetReceivingObject
GetReceivingPlayer
IsCombat
PreventAll
PreventAmount
Multiply
RedirectAllTo
RedirectAmountTo


Object Characteristics
Bool_Get
Bool_Set
Int_Get
Int_Add
Power_Get
Power_Set
Power_Add
Toughness_Get
Toughness_Set
Toughness_Add
SwitchPowerToughness
CanBlock_Set
CantBlock_Set
CanOnlyBlock_Set
CanBlock_Clear
CantBlock_Clear
CanOnlyBlock_Clear
CantBeBlockedBy_Set
CantBeBlockedExceptBy_Set
CantBeBlockedBy_Clear
CanOnlyBeBlockedBy_Clear
MustAttackPlayer
Badge_Set
Badge_Clear
FX_Set
FX_Clear
SubType_GetWritable
SuperType_GetWritable
CardType_GetWritable
GrantAbility
LoseAllAbilities
CanBlockAdditionalCreature
CanLookAtWhileFaceDown
AI_SetWorthless
AI_SetDamageImmune
SetGFXController
Colour_Get
Colour_Set
Colour_Add


Interrogation
Clear
Count
Test
SetObject
SetPlayer
SetSecondaryObject
SetSecondaryPlayer
SetType
SetPhase
SetFromZone
SetToZone
SetZoneChangeFlags
SetColour
SetNonTokenOnly
SetCombatOnly


Card types
Clear
Add
IsPermanent
Test


Card sub-types
Add
Set
Clear
ClearAllOfType


Functions from unknown objects
GetPlayerName
GetPlayerControllerIndex
GetServerName
GetServerContent
GetServerGameType
GetServerAITakeoverStatus
ResetServerIndex
IncrementServerIndex
DecrementServerIndex
StartGame
AreAllPlayerReady
OnTryingToKick
KickSelectedMember
InviteFriend
ManageInvites
HasTeamMateJoined
JoinLocalPlayerAsTeamMate
CanLastPlayerPressJoin
DisplayMyGameOnServer
HideMyGameOnServer
IsSelected2HG
AreAllSlotsFull
IsMultiplayerCampaign
RefreshServerList
SetSlotType
IsPlayerLocal
IsMainLocalPlayer
GetPlayerType
GetIsMicrophoneActive
GetIsCameraActive
GetSlotType
SetAITakeover
GetAITakeover
IsMultiplayer
GetMaxPlayers
GetNumUniqueMembers
GetNumAIPlayers
HideAIInformation
ShowGamerCard
GetHostSlot
GetMultiplayer
DeckChangedInLobby
ToggleMute
StoreCampaignDetails
ClearInActiveControllers
GetPlayerAvatarID
IsMainPlayerOnline
ShowSignInThing
DoWeShowNotOnlineDialogForLastPlayer
DoWeShowNotSignedInDialogForLastPlayer
DoWeShowNotGoldDialogForLastPlayer
DoWeShowParentalControlDialogForLastPlayer
SettingsChanged
ShowServerListGamerCard
ShowPartySessionList
LocalPlayerSlotCheck
reportLocalStats
InXboxLiveParty
GetRankedMatchString
GetIsRankedMatch
SetNotReady
IsGuest
HideServer
ShowServer
CheckLastPlayerGoldAndNotGuest
CheckLastPlayerIsGuest
EnableLobbyDiag
CheckIfOnSameTeam
HasValidSlotID
GetActualServerIndexWithOffset
NetworkCreateSteamGuestFor2HG
CheckIfOnSameTeamAndNotLocal
CheckForLocalPlayerSameDeck
ShowSameDeckMessage
GetDefaultDeckUID
ToggleWantingToSwitchTeam
SetCustomMatch
SetupCustomFFAMatch
SetupCustom2HGMatch
SetupMultiplayerFFALobby
SetupMultiplayerFFAAdHocFakeLobby
SetupMultiplayer2HGLobby
SetCustomDeckUID
IsCustomMatch
RefreshLobbyVisibility
netLobby

HostMatch
SetNetworkMatchType
FindMatch
JoinSession
IsHost
IsClient
SetGameType
GetGameType
GetNetMatchType
GetPlayerNameByNetID
IsMultiplayerGame
CameraEnableChange
CameraZoomChange
ShowGCSetup
JoinSessionAutomatically
GetGCSetupState
GCReadyForClients
GetJoiningResult
DoPostJoinProcessing
StartGCMatchJoinTimer
IsGCMatchJoinTimerUp
CancelGCMatchJoin
VoiceChat_Enable
VoiceChat_Disable
IsVoiceChatEnabled
VoiceChat_EnablePushToTalk
VoiceChat_DisablePushToTalk
VoiceChat_IsPushToTalkActive
VoiceChat_TogglePushToTalk
DeviceSupportsBluetooth
StartWireless
StartAdHocMatch
JoinAdHocMatch
EnableDiscovery
GetCurrentAdHocState
AdHocReadyForClients
SetProcessingInviteFlag
CheckMainPlayersOnlineStatus

Clear
SetAIWidth
AddWithParameter
Add

ChooseCardFromYourLibrary
DiscardStep_Singular
DiscardStep
ChooseCardToDiscard

Refresh
ResetRefresh
GetMode
CurrentZoneSelection
CurrentZoneEmpty
CurrentPlayerSelection_Index
CurrentPlayerSelection_Name
AvatarAtPlayerIndex
GetActiveGraveyard
IsPlayersGraveyardEmpty
ToggleGraveyard
PreviousPlayerSelection
NextPlayerSelection
PreviousZoneSelection
NextZoneSelection
IsOtherZoneEmpty
CloseZoneBrowser
ZoneBrowser
release_zone_browser
user
zone_browser_boot

GetDifficulty
ReportPlayerNamesWithCorruptDecks
CheckForDeckCorruption
ResetSavedDevice
StartDeviceEnumeration
SkipTutorialMatches
HasPlayerBeatenChandra
SetupTutorialMatchAvailability
NewSealedTutorialProgress
ClearSealedTutorialProgress
SetSealedTutorialProgress
CheckSealedTutorialProgress
GetSealedTutorialProgress
GetVoiceEnabled
GetNumGamesPlayed
RevokePromo
GrantPromo
GetAvatarID
GetNextDeckAfterPrimaryPlayersCurrent
DisplayBladeWithMissingContent
MissingRequiredContentPacks
HaveWeCheckedMarketplace
SetFirstEncounterLaunch
GetFirstEncounterLaunch
SetD13RewardScreenShown
GetD13RewardScreenShown
GetPlayedPreviousGame
isThisTitleLocked
isThisAvatarLocked
ClearCurrentUpsellScreen
SetTraveledToPlane
SetSeenBioScreen
SeenBioScreen
UpdatePlanarDieRollCost
GetNextPromoMenu
ClearCurrentPromoMenu
GetCurrentPromoMenu
GetStatValue
GetStatName
GetHighestPowerCreatureControlled
GetMostCreaturesInPlay
GetMaxDamageDoneInATurn
GetHighestLifeTotal
GetNumOfSpellsCastAndLandsTapped
GetDeckUIDFromSlotID
GetPlayerDetails
GetAndroidID
ChangeSinglePlayerCampaignAIDeck
IsOutOfGame
RumblePrimaryPlayerController
ShowUnlockScreens
DecideIfWeShouldShowUnlockScreens
GetNumberOfPlanechaseGamesWon
GetNum2HGGamesWon
GetNumGamesWon
GetJustUnlockedPlaneText
GetJustUnlockedPlane
SetJustUnlockedPlane
GetJustUnlockedCardText
GetSpecificPlayersJustUnlockedCardInfo
GetJustUnlockedCardInfo
SetJustUnlockedCardInfo
GetJustUnlockedCard
GetJustUnlockedBooster
SetJustUnlockedBooster
GetJustUnlockedDeckText
GetSpecificPlayersJustUnlockedDeck
GetJustUnlockedDeck
SetJustUnlockedDeck
GetJustUnlockedCampaignText
GetJustUnlockedCampaign
SetJustUnlockedCampaign
GetJustUnlockedTitle
ClearJustUnlockedTitles
GetJustUnlockedAvatar
ClearJustUnlockedAvatars
GetJustUnlockedAchievement
ClearJustUnlockedAchievements
GetPlayerDeckUID
GetPlayerName
ResetHints
isChatDisabled
SetSpecificSlotDeck
SetPlayerCurrentDeck
SetPlayerCurrentSlot
GetPlayerCurrentDeck
ShowSignInMessage
IsPlayerValid
DownloadTitleDataX360
SetPrimaryPlayer
LoadUserOptions
SaveUserOptions
UpdateUserOptions
CreateProfile
SetFirstCampaignLoad
FirstCampaignLoad
GetRatedAppFlag
SetRatedAppFlag
SetFirstSealedLoad
FirstSealedLoad
SetFirstRun
SecondRun
FirstRun
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: DotP 2014 Functions

Postby Xander9009 » 23 Feb 2015, 20:27

The wiki is working again.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times


Return to Documentation

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form