My script is written like this, but it only uses the first custom attack for the for 1st unique listed. How do I correct this so all the bosses are targeted with this spell?
--[[ #### Custom Attack Setting ####
Allows custom skills to be used on custom monsters. See _monsters.txt for monster IDs
Format: [ID] = {timed skill id, untimed skill id}
Example: [156] = {38, -1} -- use Charged Bolt on Andariel ]]--
Config.CustomAttack = {
[544] = {49, -1} -- use lightning on Baal, [243] = {49, -1} use lightning on Diablo, [242 = {49, -1} use lightning on Mephisto, [211] = {49, -1} use lightning on Duriel, [156] = {49, -1} use lightning on Andariel --
}
--[[ #### Custom Attack Setting ####
Allows custom skills to be used on custom monsters. See _monsters.txt for monster IDs
Format: [ID] = {timed skill id, untimed skill id}
Example: [156] = {38, -1} -- use Charged Bolt on Andariel ]]--
Config.CustomAttack = {
[544] = {49, -1} -- use lightning on Baal, [243] = {49, -1} use lightning on Diablo, [242 = {49, -1} use lightning on Mephisto, [211] = {49, -1} use lightning on Duriel, [156] = {49, -1} use lightning on Andariel --
}