import { CardDetail } from 'splinterlands-types'; import { GameCard } from './game_card'; export interface Team { summoner: CardDetail; monsters: CardDetail[]; } export interface BattleDamage { attack: number; damageDone: number; remainder: number; actualDamageDone: number; } export declare enum Ability { AFFLICTION = "Affliction", AMPLIFY = "Amplify", BACKFIRE = "Backfire", BLAST = "Blast", BLIND = "Blind", BLOODLUST = "Bloodlust", CAMOUFLAGE = "Camouflage", CLEANSE = "Cleanse", CLOSE_RANGE = "Close Range", CONSCRIPT = "Conscript", CRIPPLE = "Cripple", DEATHBLOW = "Deathblow", DEMORALIZE = "Demoralize", DISPEL = "Dispel", DIVINE_SHIELD = "Divine Shield", DODGE = "Dodge", DOUBLE_STRIKE = "Double Strike", ENRAGE = "Enrage", FLYING = "Flying", FORCEFIELD = "Forcefield", FURY = "Fury", GIANT_KILLER = "Giant Killer", HALVING = "Halving", HEADWINDS = "Headwinds", HEAL = "Heal", IMMUNITY = "Immunity", INSPIRE = "Inspire", KNOCK_OUT = "Knock Out", LAST_STAND = "Last Stand", LIFE_LEECH = "Life Leech", MAGIC_REFLECT = "Magic Reflect", MARTYR = "Martyr", OPPORTUNITY = "Opportunity", OPPRESS = "Oppress", PHASE = "Phase", PIERCING = "Piercing", POISON = "Poison", PROTECT = "Protect", REACH = "Reach", REBIRTH = "Rebirth", RECHARGE = "Recharge", REDEMPTION = "Redemption", REFLECTION_SHIELD = "Reflection Shield", REPAIR = "Repair", RESURRECT = "Resurrect", RETALIATE = "Retaliate", RETURN_FIRE = "Return Fire", RUST = "Rust", SCATTERSHOT = "Scattershot", SCAVENGER = "Scavenger", SHATTER = "Shatter", SHIELD = "Shield", SILENCE = "Silence", SLOW = "Slow", SNARE = "Snare", SNEAK = "Sneak", SNIPE = "Snipe", STRENGTHEN = "Strengthen", STUN = "Stun", SWIFTNESS = "Swiftness", TANK_HEAL = "Tank Heal", TAUNT = "Taunt", THORNS = "Thorns", TRAMPLE = "Trample", TRIAGE = "Triage", TRUE_STRIKE = "True Strike", VOID = "Void", VOID_ARMOR = "Void Armor", WEAKEN = "Weaken", WEAPONS_TRAINING = "Weapons Training", MELEE_MAYHEM = "Melee Mayhem" } export declare enum Ruleset { STANDARD = "Standard", BACK_TO_BASICS = "Back to Basics", SILENCED_SUMMONERS = "Silenced Summoners", AIM_TRUE = "Aim True", SUPER_SNEAK = "Super Sneak", WEAK_MAGIC = "Weak Magic", UNPROTECTED = "Unprotected", TARGET_PRACTICE = "Target Practice", FOG_OF_WAR = "Fog of War", ARMORED_UP = "Armored Up", HEALED_OUT = "Healed Out", EARTHQUAKE = "Earthquake", REVERSE_SPEED = "Reverse Speed", CLOSE_RANGE = "Close Range", HEAVY_HITTERS = "Heavy Hitters", EQUALIZER = "Equalizer", KEEP_YOUR_DISTANCE = "Keep Your Distance", LOST_LEGENDARIES = "Lost Legendaries", MELEE_MAYHEM = "Melee Mayhem", TAKING_SIDES = "Taking Sides", RISE_OF_THE_COMMONS = "Rise of the Commons", UP_CLOSE_AND_PERSONAL = "Up Close & Personal", BROKEN_ARROWS = "Broken Arrows", LITTLE_LEAGUE = "Little League", LOST_MAGIC = "Lost Magic", EVEN_STEVENS = "Even Stevens", ODD_ONES_OUT = "Odd Ones Out", NOXIOUS_FUMES = "Noxious Fumes", STAMPEDE = "Stampede", EQUAL_OPPORTUNITY = "Equal Opportunity", BRIAR_PATCH = "Briar Patch", THORNS = "Thorns", EXPLOSIVE_WEAPONRY = "Explosive Weaponry", HOLY_PROTECTION = "Holy Protection", COUNTERSPELL = "Counterspell", WHAT_DOESNT_KILL_YOU = "What Doesn\u2019t Kill You", FIRE_AND_REGRET = "Fire & Regret", SPREADING_FURY = "Spreading Fury", TIS_BUT_SCRATCHES = "Tis but Scratches", UP_TO_ELEVEN = "Up to Eleven", AIMLESS = "Aimless", FEROCITY = "Ferocity", GOING_THE_DISTANCE = "Going the Distance", WANDS_OUT = "Wands Out", BORN_AGAIN = "Born Again" } export declare enum Stat { MANA = "mana", ATTACK = "attack", MAGIC = "magic", RANGED = "ranged", ARMOR = "armor", SPEED = "speed", HEALTH = "health" } export declare enum AttackType { MELEE = 0, RANGED = 1, MAGIC = 2 } export declare enum CardEdition { ALPHA = 0, BETA = 1, PROMO = 2, REWARD = 3, UNTAMED = 4, DICE = 5, GLADIUS = 6, CHAOS = 7, RIFT = 8 } export declare enum CardAttackType { MELEE = "melee", RANGED = "ranged", MAGIC = "magic" } export declare enum FoilType { STANDARD = "standard", GOLD = "gold" } export declare enum TeamNumber { UNKNOWN = 0, ONE = 1, TWO = 2, TIE = 3 } export declare enum AdditionalBattleAction { DEATH = 3, EARTHQUAKE = 4, FATIGUE = 5, MELEE = 6, RANGED = 7, MAGIC = 8, ROUND_START = 9 } export declare type BattleLogAction = Ability | AdditionalBattleAction | AttackType; export interface BattleLog { /** The summoner or monster performing the action. This is a snapshot of the actor AFTER the action has been performed. */ actor?: GameCard; /** The target of the action. This is a snapshot of the target AFTER the action has been performed. */ target?: GameCard; /** The action */ action: BattleLogAction; /** The value, can be the amount of damage, or heal, etc. Based on the action */ value?: number; }