2023-06-09 17:34:07 +08:00

192 lines
5.2 KiB
Lua

local buff = {
[7]={
["id"]=7,
["desc"]="Red Resistance: Reduces damage taken from Red element heroes by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_red_add"
},
[8]={
["id"]=8,
["desc"]="Yellow Resistance: Reduces damage taken from Yellow element heroes by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_yellow_add"
},
[9]={
["id"]=9,
["desc"]="Green Resistance: Reduces damage taken from Green element heroes by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_green_add"
},
[10]={
["id"]=10,
["desc"]="Blue Resistance: Reduces damage taken from Blue element heroes by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_blue_add"
},
[11]={
["id"]=11,
["desc"]="Purple Resistance: Reduces damage taken from Purple element heroes by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_purple_add"
},
[12]={
["id"]=12,
["desc"]="Ultimate Resistance: Reduces all damages taken by <color=#3cff28>{0}</color>.",
["name"]="dec_dmg_all_add"
},
[24]={
["id"]=24,
["desc"]="Damage Increased: The damage dealt is increased by {0}.",
["name"]="dmg_addition_all_add"
},
[33]={
["id"]=33,
["desc"]="Stun: Unable to take any action this turn.",
["name"]="stun"
},
[34]={
["id"]=34,
["desc"]="Shield: Absorbs damage up to <color=#3cff28>{0}</color> of Max HP.",
["name"]="shield"
},
[36]={
["id"]=36,
["desc"]="Freeze: Normal attack -<color=#3cff28>{0}</color>.",
["name"]="normal_attack_dec"
},
[37]={
["id"]=37,
["desc"]="Rage: Normal attack +<color=#3cff28>{0}</color>.",
["name"]="normal_attack_add"
},
[47]={
["id"]=47,
["desc"]="Counter Shield: Absorbs damage up to <color=#3cff28>{0}</color> of Max HP and reflects <color=#3cff28>200%</color> of the damage back to the enemy.",
["name"]="shield_rebound_200"
},
[48]={
["id"]=48,
["desc"]="Burn: Inflicts damage equal to <color=#3cff28>{0}</color> of the caster's attack at the end of the turn.",
["name"]="burn"
},
[49]={
["id"]=49,
["desc"]="Vulnerable: Increases all damage taken by <color=#3cff28>{0}</color>.",
["name"]="vulnerable"
},
[50]={
["id"]=50,
["desc"]="Frozen: Unable to take any action and buff won't take effect this turn.",
["name"]="frozen"
},
[51]={
["id"]=51,
["desc"]="Poisoned: Inflicts damage equal to <color=#3cff28>{0}</color> of the caster's attack at the end of the turn.",
["name"]="poison"
},
[52]={
["id"]=52,
["desc"]="Imprison: Can only use normal attack this turn.",
["name"]="imprison"
},
[53]={
["id"]=53,
["desc"]="Corruption: Reduces HP recovery effect by <color=#3cff28>{0}</color>.",
["name"]="corrupt"
},
[54]={
["id"]=54,
["desc"]="Bleed: Restores the attacker's HP upon hit and deals damage equal to <color=#3cff28>{0}</color> of the attacker's attack at the end of the turn.",
["name"]="bleed"
},
[55]={
["id"]=55,
["desc"]="Weak: Reduces damage dealt by <color=#3cff28>{0}</color>.",
["name"]="weaken"
},
[56]={
["id"]=56,
["desc"]="Drowsy: Unable to take any action this turn until getting hit.",
["name"]="lethargy"
},
[57]={
["id"]=57,
["desc"]="Curse: Attacks will not deal damage but instead heal the opponent.",
["name"]="curse"
},
[58]={
["id"]=58,
["desc"]="Lock: Locks a random color on the board that cannot be selected later.",
["name"]="lock"
},
[59]={
["id"]=59,
["desc"]="Head-start: Act first every turn.",
["name"]="first_hand"
},
[61]={
["id"]=61,
["desc"]="Undead: Does not die from fatal damage.",
["name"]="undead"
},
[62]={
["id"]=62,
["desc"]="Counterattack: Has a <color=#3cff28>{0}</color> chance to counterattack after taking direct damage.",
["name"]="counterattack"
},
[63]={
["id"]=63,
["desc"]="Damage Counter: Reflects <color=#3cff28>{0}</color> of the enemy's damage.",
["name"]="thorns"
},
[73]={
["id"]=73,
["desc"]="Counter Shield: Absorbs damage up to <color=#3cff28>{0}</color> of Max HP and reflects <color=#3cff28>400%</color> of the enemy's damage.",
["name"]="shield_rebound_400"
},
[74]={
["id"]=74,
["desc"]="Freeze Shield: Absorbs damage up to <color=#3cff28>{0}</color> of Max HP.",
["name"]="shield_ice"
},
[75]={
["id"]=75,
["desc"]="Freeze Shield: Absorbs damage up to <color=#3cff28>{0}</color> of Max HP and reflects <color=#3cff28>400%</color> of the enemy's damage.",
["name"]="shield_ice_rebound_400"
}
}
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]
}
}
local config = {
data=buff,
keys=keys,
count=30
}
return config