Hello,
im looking for action script that would give x item if its used on monster with particular name so for example
local config = {
needLevel = 150,
cooldownMin = 5,
chanceForSucces = 35, (it means it has 35% chance to get that item, basically its like pokemon ball you have chance to catch monster and if u get lucky you will get x item)
monsters = {
{name = "Test MVP Quest", addItem = {{id = 778, count = 1},
{name = "Lost Test MVP Quest", addItem = {{id = 788, count = 1},
{name = "Super Test MVP Quest", addItem = {{id = 798, count = 1},
}
}
so if you use this item on a monster that is on this list it would remove the monster and remove the item you just used.
im looking for action script that would give x item if its used on monster with particular name so for example
local config = {
needLevel = 150,
cooldownMin = 5,
chanceForSucces = 35, (it means it has 35% chance to get that item, basically its like pokemon ball you have chance to catch monster and if u get lucky you will get x item)
monsters = {
{name = "Test MVP Quest", addItem = {{id = 778, count = 1},
{name = "Lost Test MVP Quest", addItem = {{id = 788, count = 1},
{name = "Super Test MVP Quest", addItem = {{id = 798, count = 1},
}
}
so if you use this item on a monster that is on this list it would remove the monster and remove the item you just used.