local buff = { [7]={ ["id"]=7, ["desc"]="Red Resistance: Reduces damage taken from Red element heroes by {0}.", ["name"]="dec_dmg_red_add" }, [8]={ ["id"]=8, ["desc"]="Gold Resistance: Reduces damage taken from Gold element heroes by {0}.", ["name"]="dec_dmg_yellow_add" }, [9]={ ["id"]=9, ["desc"]="Green Resistance: Reduces damage taken from Green element heroes by {0}.", ["name"]="dec_dmg_green_add" }, [10]={ ["id"]=10, ["desc"]="Blue Resistance: Reduces damage taken from Blue element heroes by {0}.", ["name"]="dec_dmg_blue_add" }, [11]={ ["id"]=11, ["desc"]="Purple Resistance: Reduces damage taken from Purple element heroes by {0}.", ["name"]="dec_dmg_purple_add" }, [12]={ ["id"]=12, ["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}.", ["name"]="dmg_addition_all_add" }, [33]={ ["id"]=33, ["show_name"]="Stun", ["desc"]="Stun: Unable to take any action this turn.", ["name"]="stun" }, [34]={ ["id"]=34, ["desc"]="Shield: Absorbs damage up to {0} of Max HP.", ["name"]="shield" }, [36]={ ["id"]=36, ["show_name"]="Cold", ["desc"]="Cold: Normal attack -{0}.", ["name"]="normal_attack_dec" }, [37]={ ["id"]=37, ["show_name"]="Rage", ["desc"]="Rage: Normal attack +{0}.", ["name"]="normal_attack_add" }, [47]={ ["id"]=47, ["desc"]="Counter Shield: Absorbs damage up to {0} of Max HP and reflects 200% of the 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.", ["name"]="burn" }, [49]={ ["id"]=49, ["show_name"]="Vulnerable", ["desc"]="Vulnerable: Increases all damage taken by {0}.", ["name"]="vulnerable" }, [50]={ ["id"]=50, ["show_name"]="Frozen", ["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.", ["name"]="poison" }, [52]={ ["id"]=52, ["show_name"]="Imprison", ["desc"]="Imprison: Can only use normal attacks this turn.", ["name"]="imprison" }, [53]={ ["id"]=53, ["show_name"]="Corruption", ["desc"]="Corruption: Reduces HP recovery effect by {0}.", ["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.", ["name"]="bleed" }, [55]={ ["id"]=55, ["show_name"]="Weak", ["desc"]="Weak: Reduces damage dealt by {0}.", ["name"]="weaken" }, [56]={ ["id"]=56, ["show_name"]="Drowsy", ["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.", ["name"]="curse" }, [58]={ ["id"]=58, ["show_name"]="Lock", ["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.", ["name"]="first_hand" }, [61]={ ["id"]=61, ["show_name"]="Undead", ["desc"]="Undead: Does not die from fatal damage.", ["name"]="undead" }, [62]={ ["id"]=62, ["show_name"]="Counterattack", ["desc"]="Counterattack: Has a {0} chance to counterattack after taking direct damage.", ["name"]="counterattack" }, [63]={ ["id"]=63, ["show_name"]="Damage Counter", ["desc"]="Damage Counter: Reflects {0} of the enemy's damage.", ["name"]="thorns" }, [73]={ ["id"]=73, ["desc"]="Counter Shield: Absorbs damage up to {0} of Max HP and reflects 400% of the enemy's damage.", ["name"]="shield_rebound_400" }, [74]={ ["id"]=74, ["desc"]="Frost Shield: Absorbs damage up to {0} of Max HP.", ["name"]="shield_ice" }, [75]={ ["id"]=75, ["desc"]="Frost Shield: Absorbs damage up to {0} of Max HP and reflects 400% of the enemy's damage.", ["name"]="shield_ice_rebound_400" }, [79]={ ["id"]=79, ["name"]="invincible_shield" }, [80]={ ["id"]=80, ["desc"]="Frost Shield: Absorbs damage up to {0} of Max HP.", ["name"]="shield_ice_02" }, [81]={ ["id"]=81, ["name"]="skill_hurt_add_show" } } 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], ["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] } } local config = { data=buff, keys=keys, count=33 } return config