local buff = { [7]={ ["id"]=7, ["show_name"]="Red Resistance", ["desc"]="Red Resistance: Reduces damage taken from Red element heroes by {0}.", ["name"]="dec_dmg_red_add" }, [8]={ ["id"]=8, ["show_name"]="Gold Resistance", ["desc"]="Gold Resistance: Reduces damage taken from Gold element heroes by {0}.", ["name"]="dec_dmg_yellow_add" }, [9]={ ["id"]=9, ["show_name"]="Green Resistance", ["desc"]="Green Resistance: Reduces damage taken from Green element heroes by {0}.", ["name"]="dec_dmg_green_add" }, [10]={ ["id"]=10, ["show_name"]="Blue Resistance", ["desc"]="Blue Resistance: Reduces damage taken from Blue element heroes by {0}.", ["name"]="dec_dmg_blue_add" }, [11]={ ["id"]=11, ["show_name"]="Purple Resistance", ["desc"]="Purple Resistance: Reduces damage taken from Purple element heroes by {0}.", ["name"]="dec_dmg_purple_add" }, [12]={ ["id"]=12, ["show_name"]="Ultimate Resistance", ["desc"]="Ultimate Resistance: Reduces all damages taken by {0}.", ["name"]="dec_dmg_all_add" }, [24]={ ["id"]=24, ["desc"]="Damage Boost: Increases damage dealt by {0}.", ["tips_desc"]="Damage Boost: Increases all damage dealt.", ["name"]="dmg_addition_all_add" }, [33]={ ["id"]=33, ["show_name"]="Stun", ["desc"]="Stun: Unable to take any action this turn.", ["tips_desc"]="Stun: Unable to take any action this turn.", ["name"]="stun" }, [34]={ ["id"]=34, ["desc"]="Shield: Can take a certain amount of damage.", ["tips_desc"]="Shield: Can take a certain amount of damage.", ["name"]="shield" }, [36]={ ["id"]=36, ["show_name"]="Cold", ["desc"]="Cold: Normal attack -{0}.", ["tips_desc"]="Cold: Less normal attacks.", ["name"]="normal_attack_dec" }, [37]={ ["id"]=37, ["show_name"]="Rage", ["desc"]="Rage: Normal attack +{0}.", ["tips_desc"]="Rage: More normal attacks.", ["name"]="normal_attack_add" }, [47]={ ["id"]=47, ["desc"]="Counter Shield: Absorbs a certain amount of damage and reflects damage back to the enemy.", ["tips_desc"]="Counter Shield: Absorbs a certain amount of damage and reflects damage back to the enemy.", ["name"]="shield_rebound_200" }, [48]={ ["id"]=48, ["show_name"]="Burn", ["desc"]="Burn: Inflicts damage equal to {0} of the caster's attack at the end of the turn.", ["tips_desc"]="Burn: Inflicts a certain amount of damage at the end of the turn.", ["name"]="burn" }, [49]={ ["id"]=49, ["show_name"]="Vulnerable", ["desc"]="Vulnerable: Increases all damage taken by {0}.", ["tips_desc"]="Vulnerable: Increases all damage taken.", ["name"]="vulnerable" }, [50]={ ["id"]=50, ["show_name"]="Frozen", ["desc"]="Frozen: Unable to take any action and buffs won't take effect this turn.", ["tips_desc"]="Frozen: Unable to take any action and buffs won't take effect this turn.", ["name"]="frozen" }, [51]={ ["id"]=51, ["show_name"]="Poisoned", ["desc"]="Poisoned: Inflicts damage equal to {0} of the caster's attack at the end of the turn.", ["tips_desc"]="Poisoned: Inflicts a certain amount of damage at the end of the turn.", ["name"]="poison" }, [52]={ ["id"]=52, ["show_name"]="Imprison", ["desc"]="Imprison: Can only use normal attacks this turn.", ["tips_desc"]="Imprison: Can only use normal attacks this turn and skill gauge will not increase.", ["name"]="imprison" }, [53]={ ["id"]=53, ["show_name"]="Corruption", ["desc"]="Corruption: Reduces HP recovery effect by {0}.", ["tips_desc"]="Corruption: HP recovery effect reduces.", ["name"]="corrupt" }, [54]={ ["id"]=54, ["show_name"]="Bleed", ["desc"]="Bleed: Restores the attacker's HP upon hit and deals damage equal to {0} of the attacker's attack at the end of the turn.", ["tips_desc"]="Bleed: Restores the attacker's HP upon hit and deals damage at the end of the turn.", ["name"]="bleed" }, [55]={ ["id"]=55, ["show_name"]="Weak", ["desc"]="Weak: Reduces damage dealt by {0}.", ["tips_desc"]="Weak: Reduces damage dealt.", ["name"]="weaken" }, [56]={ ["id"]=56, ["show_name"]="Drowsy", ["desc"]="Drowsy: Unable to take any action this turn. Cured when hit.", ["tips_desc"]="Drowsy: Unable to take any action this turn. Cured when hit.", ["name"]="lethargy" }, [57]={ ["id"]=57, ["show_name"]="Curse", ["desc"]="Curse: Attacks will not deal damage but instead heal the opponent.", ["tips_desc"]="Curse: Attacks will not deal damage but instead heal the opponent.", ["name"]="curse" }, [58]={ ["id"]=58, ["show_name"]="Lock", ["desc"]="Lock: Locks a random color on the board and prevents it from being selected.", ["tips_desc"]="Lock: Locks a random color on the board and prevents it from being selected.", ["name"]="lock" }, [59]={ ["id"]=59, ["show_name"]="Head-start", ["desc"]="Head-start: Act first every turn.", ["tips_desc"]="Head-start: Act first every turn.", ["name"]="first_hand" }, [61]={ ["id"]=61, ["show_name"]="Undead", ["desc"]="Undead: Does not die from fatal damage.", ["tips_desc"]="Undead: Does not die from fatal damage this turn.", ["name"]="undead" }, [62]={ ["id"]=62, ["show_name"]="Counterattack", ["desc"]="Counterattack: Has a {0} chance to counterattack after taking direct damage.", ["tips_desc"]="Counterattack: Has a chance to counterattack when directly hit.", ["name"]="counterattack" }, [63]={ ["id"]=63, ["show_name"]="Damage Counter", ["desc"]="Damage Counter: Reflects {0} of the enemy's damage.", ["tips_desc"]="Damage Counter: Reflects enemy's damage.", ["name"]="thorns" }, [72]={ ["id"]=72, ["show_name"]="Death Summon", ["desc"]="Death Summon: Upon this enemy's death, summons a new enemy.", ["tips_desc"]="Death Summon: Upon this enemy's death, summons a new enemy.", ["name"]="death_summon" }, [73]={ ["id"]=73, ["desc"]="Counter Shield : Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["tips_desc"]="Counter Shield 2: Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["name"]="shield_rebound_400" }, [74]={ ["id"]=74, ["desc"]="Frost Shield: Absorbs a certain amount of damage.", ["tips_desc"]="Frost Shield: Absorbs a certain amount of damage.", ["name"]="shield_ice" }, [75]={ ["id"]=75, ["desc"]="Frost Shield 2: Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["tips_desc"]="Frost Shield 2: Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["name"]="shield_ice_rebound_400" }, [79]={ ["id"]=79, ["show_name"]="Psychic Shield", ["desc"]="Psychic Shield: While the shield is active, the bearer is invulnerable and takes no damage. Each hit taken consumes one stack of the shield.", ["tips_desc"]="Psychic Shield: While the shield is active, the bearer is invulnerable and takes no damage. Each hit taken consumes one stack of the shield.", ["name"]="invincible_shield" }, [80]={ ["id"]=80, ["desc"]="Frost Shield: Absorbs a certain amount of damage.", ["tips_desc"]="Frost Shield: Absorbs a certain amount of damage.", ["name"]="shield_ice_02" }, [81]={ ["id"]=81, ["show_name"]="Skill DMG Bonus", ["desc"]="Skill DMG Bonus: Increases all skill damage", ["tips_desc"]="Skill DMG Bonus: Increases all skill damage", ["name"]="skill_hurt_add_show" }, [82]={ ["id"]=82, ["desc"]="Counter Shield : Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["tips_desc"]="Counter Shield 2: Absorbs a certain amount of damage and reflects massive damage back to the enemy.", ["name"]="shield_rebound_200" }, [83]={ ["id"]=83, ["desc"]="Counter Shield: Absorbs a certain amount of damage and reflects damage back to the enemy.", ["tips_desc"]="Counter Shield: Absorbs a certain amount of damage and reflects damage back to the enemy.", ["name"]="shield_rebound_100" }, [84]={ ["id"]=84, ["show_name"]="Rebirth", ["desc"]="Rebirth: During the Rebirth, when you are defeated or the turn ends, it will trigger to restore HP.", ["tips_desc"]="Rebirth: During the Rebirth, when you are defeated or the turn ends, it will trigger to restore HP.", ["name"]="rebirth" }, [85]={ ["id"]=85, ["show_name"]="Ocean Shield", ["desc"]="Ocean Shield: Can take a certain amount of damage and stay immune to all debuffs.", ["tips_desc"]="Ocean Shield: Can take a certain amount of damage and stay immune to all debuffs.", ["name"]="ocean_shield" }, [86]={ ["id"]=86, ["show_name"]="Self-healing", ["desc"]="Self-healing: Restore HP at the end of the turn.", ["tips_desc"]="Self-healing: Restore HP at the end of the turn.", ["name"]="self_heal" }, [87]={ ["id"]=87, ["show_name"]="Charm", ["desc"]="Charm: Removes buffs and can only use Normal Attacks while active.", ["tips_desc"]="Charm: Removes buffs and can only use Normal Attacks while active.", ["name"]="charm" }, [88]={ ["id"]=88, ["show_name"]="Immunity", ["desc"]="Immunity: Removes debuffs and is immune to debuffs while active.", ["tips_desc"]="Immunity: Removes debuffs and is immune to debuffs while active.", ["name"]="immune" }, [89]={ ["id"]=89, ["show_name"]="Head-start", ["desc"]="Head-start: Act first every turn. Monster buff cannot be removed.", ["tips_desc"]="Head-start: Act first every turn. Monster buff cannot be removed.", ["name"]="forever_first_hand" }, [90]={ ["id"]=90, ["show_name"]="Counterattack", ["desc"]="Counterattack: Has a chance to counterattack when directly hit. Monster buff cannot be removed.", ["tips_desc"]="Counterattack: Has a chance to counterattack when directly hit. Monster buff cannot be removed.", ["name"]="forever_counterattack" }, [91]={ ["id"]=91, ["desc"]="Red Resistance: Reduces damage taken from Red element heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Red Resistance: Reduces damage taken from Red element heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_red_add" }, [92]={ ["id"]=92, ["desc"]="Golden Resistance: Reduces damage taken from Golden element heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Golden Resistance: Reduces damage taken from Golden element heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_yellow_add" }, [93]={ ["id"]=93, ["desc"]="Green Resistance: Reduces damage taken from Green element heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Green Resistance: Reduces damage taken from Green element heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_green_add" }, [94]={ ["id"]=94, ["desc"]="Blue Resistance: Reduces damage taken from Blue element heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Blue Resistance: Reduces damage taken from Blue element heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_blue_add" }, [95]={ ["id"]=95, ["desc"]="Purple Resistance: Reduces damage taken from Purple element heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Purple Resistance: Reduces damage taken from Purple element heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_purple_add" }, [96]={ ["id"]=96, ["desc"]="Ultimate Resistance: Reduces damage taken from all heroes by {0}. Monster buff cannot be removed.", ["tips_desc"]="Ultimate Resistance: Reduces damage taken from all heroes by {0}. Monster buff cannot be removed.", ["name"]="forever_dec_dmg_all_add" }, [97]={ ["id"]=97, ["show_name"]="Damage Counter", ["desc"]="Damage Counter: Reflects {0} of the enemy's damage. Monster buff cannot be removed.", ["tips_desc"]="Damage Counter: Reflects {0} of the enemy's damage. Monster buff cannot be removed.", ["name"]="forever_thorns" }, [98]={ ["id"]=98, ["show_name"]="Rage", ["desc"]="Rage: Normal attack +{0}.", ["tips_desc"]="Rage: More normal attacks.", ["name"]="forever_normal_attack_add" }, [99]={ ["id"]=99, ["name"]="forever_uncontrolled" } } local keys = { name = { ["dec_dmg_red_add"]=buff[7], ["dec_dmg_yellow_add"]=buff[8], ["dec_dmg_green_add"]=buff[9], ["dec_dmg_blue_add"]=buff[10], ["dec_dmg_purple_add"]=buff[11], ["dec_dmg_all_add"]=buff[12], ["dmg_addition_all_add"]=buff[24], ["stun"]=buff[33], ["shield"]=buff[34], ["normal_attack_dec"]=buff[36], ["normal_attack_add"]=buff[37], ["shield_rebound_200"]=buff[47], ["burn"]=buff[48], ["vulnerable"]=buff[49], ["frozen"]=buff[50], ["poison"]=buff[51], ["imprison"]=buff[52], ["corrupt"]=buff[53], ["bleed"]=buff[54], ["weaken"]=buff[55], ["lethargy"]=buff[56], ["curse"]=buff[57], ["lock"]=buff[58], ["first_hand"]=buff[59], ["undead"]=buff[61], ["counterattack"]=buff[62], ["thorns"]=buff[63], ["death_summon"]=buff[72], ["shield_rebound_400"]=buff[73], ["shield_ice"]=buff[74], ["shield_ice_rebound_400"]=buff[75], ["invincible_shield"]=buff[79], ["shield_ice_02"]=buff[80], ["skill_hurt_add_show"]=buff[81], ["shield_rebound_200"]=buff[82], ["shield_rebound_100"]=buff[83], ["rebirth"]=buff[84], ["ocean_shield"]=buff[85], ["self_heal"]=buff[86], ["charm"]=buff[87], ["immune"]=buff[88], ["forever_first_hand"]=buff[89], ["forever_counterattack"]=buff[90], ["forever_dec_dmg_red_add"]=buff[91], ["forever_dec_dmg_yellow_add"]=buff[92], ["forever_dec_dmg_green_add"]=buff[93], ["forever_dec_dmg_blue_add"]=buff[94], ["forever_dec_dmg_purple_add"]=buff[95], ["forever_dec_dmg_all_add"]=buff[96], ["forever_thorns"]=buff[97], ["forever_normal_attack_add"]=buff[98], ["forever_uncontrolled"]=buff[99] } } local config = { data=buff, keys=keys, count=52 } return config