Ir para conteúdo
  • Cadastre-se

(Resolvido)Npc de Task Points e 1 movements


Ir para solução Resolvido por Vodkart,

Posts Recomendados

Primeiramente, um script de movements, que funciona-se com um item que seria equipado no slot de ring, a finalidade seria, a cada 10 hits,  a vitima teria a possibilita dele anular 1 hit, e converter em dano ao oponente, só funcionaria com o ring equipado é claro.

 

E um npc, que entendesse os task points desse script abaixo (task do vodkart), e vendesse alguns itens em troca de X quantidade de pontos.

 

 

 

Link para o post
Compartilhar em outros sites
  • Solução
domodlib('task_func')
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
function creatureSayCallback(cid, type, msg)
if(not npcHandler:isFocused(cid)) then
return false
end
local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid
local shopWindow = {}
local t = {
		  [2195] = {price = 5}, -- [id do item] e em price qnto task points vai custar
		  [2493] = {price = 25},
		  [2361] = {price = 30},
		  [8851] = {price = 20},
		  [8925] = {price = 30},
		  [2640] = {price = 50},
		  [2494] = {price = 100},
		  [9932] = {price = 50},
		  [2472] = {price = 70},
		  [8931] = {price = 100}
		  }
local onBuy = function(cid, item, subType, amount, ignoreCap, inBackpacks)
		if  t[item] and getTaskPoints(cid) < t[item].price then
			 selfSay("you do not have "..t[item].price.." Task Points", cid)
				 else
				doPlayerAddItem(cid, item)
				setPlayerStorageValue(cid, task_sys_storages[2], getTaskPoints(cid) - t[item].price)
				selfSay("Here you item", cid)

		   end
		return true
end
if (msgcontains(msg, 'trade') or msgcontains(msg, 'TRADE'))then
for var, ret in pairs(t) do
table.insert(shopWindow, {id = var, subType = 0, buy = ret.price, sell = 0, name = getItemNameById(var)})
end
openShopWindow(cid, shopWindow, onBuy, onSell)
end
return true
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
4 horas atrás, Vodkart disse:

domodlib('task_func')
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
function creatureSayCallback(cid, type, msg)
if(not npcHandler:isFocused(cid)) then
return false
end
local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid
local shopWindow = {}
local t = {
		  [2195] = {price = 5}, -- [id do item] e em price qnto task points vai custar
		  [2493] = {price = 25},
		  [2361] = {price = 30},
		  [8851] = {price = 20},
		  [8925] = {price = 30},
		  [2640] = {price = 50},
		  [2494] = {price = 100},
		  [9932] = {price = 50},
		  [2472] = {price = 70},
		  [8931] = {price = 100}
		  }
local onBuy = function(cid, item, subType, amount, ignoreCap, inBackpacks)
		if  t[item] and getTaskPoints(cid) < t[item].price then
			 selfSay("you do not have "..t[item].price.." Task Points", cid)
				 else
				doPlayerAddItem(cid, item)
				setPlayerStorageValue(cid, task_sys_storages[2], getTaskPoints(cid) - t[item].price)
				selfSay("Here you item", cid)

		   end
		return true
end
if (msgcontains(msg, 'trade') or msgcontains(msg, 'TRADE'))then
for var, ret in pairs(t) do
table.insert(shopWindow, {id = var, subType = 0, buy = ret.price, sell = 0, name = getItemNameById(var)})
end
openShopWindow(cid, shopWindow, onBuy, onSell)
end
return true
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

 

 

Obrigado, funcional

Link para o post
Compartilhar em outros sites

teria como fazer 1 comando para saber quantos Task Points tem ? @Vodkart

Editado por thithisd (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
Em 26/08/2017 em 14:34, thithisd disse:

teria como fazer 1 comando para saber quantos Task Points tem ? @Vodkart

 

 

manda teu mods que eu edito direto nele por aqui

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
11 minutos atrás, Vodkart disse:

 

manda teu mods que eu edito direto nele por aqui

 

Posso aproveitar a viagem?

 

<?xml version="1.0" encoding="ISO-8859-1"?> 
<mod name="Simple Task" version="4.0" author="Vodkart" contact="tibiaking.com" enabled="yes"> 
<config name="task_func"><![CDATA[
task_sys = {
	[1] = {name = "Grim Reaper", start = 176201, monsters_list = {"Grim Reaper"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Hydra", start = 176202, monsters_list = {"Hydra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Medusa", start = 176203, monsters_list = {"Medusa"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Serpent Spawn", start = 176204, monsters_list = {"Serpent Spawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Warlock", start = 176205, monsters_list = {"Warlock"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Giant Spider", start = 176206, monsters_list = {"Giant Spider"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Frost Dragon", start = 176207, monsters_list = {"Frost Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Dragon Lord", start = 176208, monsters_list = {"Dragon Lord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Demon", start = 176209, monsters_list = {"Demon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Behemoth", start = 176210, monsters_list = {"Behemoth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Hellfire Fighter Vip", start = 176211, monsters_list = {"Hellfire Fighter Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Hellspawn Vip", start = 176212, monsters_list = {"Hellspawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[13] = {name = "Hydra Vip", start = 176213, monsters_list = {"Hydra Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[14] = {name = "Juggernaut Vip", start = 176214, monsters_list = {"Juggernaut Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[15] = {name = "Marid Vip", start = 176215, monsters_list = {"Marid Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[16] = {name = "Fury Vip", start = 176216, monsters_list = {"Fury Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[17] = {name = "Warlock Vip", start = 176217, monsters_list = {"Warlock Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[18] = {name = "Serpent Spawn Vip", start = 176218, monsters_list = {"Serpent Spawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[19] = {name = "Orshabaal Vip", start = 176219, monsters_list = {"Orshabaal Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[20] = {name = "Medusa Vip", start = 176220, monsters_list = {"Medusa Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[21] = {name = "Demon Vip", start = 176221, monsters_list = {"Demon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[22] = {name = "Crystal Spider Vip", start = 176221, monsters_list = {"Crystal Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[23] = {name = "Bog Raider Vip", start = 176223, monsters_list = {"Bog Raider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[24] = {name = "Behemoth Vip", start = 176224, monsters_list = {"Behemoth Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[25] = {name = "Ancient Scarab Vip", start = 176225, monsters_list = {"Ancient Scarab Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[26] = {name = "Dragon Lord Vip", start = 176226, monsters_list = {"Dragon Lord Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[27] = {name = "Ferumbras Vip", start = 176227, monsters_list = {"Ferumbras Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[28] = {name = "Frost Dragon Vip", start = 176228, monsters_list = {"Frost Dragon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[29] = {name = "Giant Spider Vip", start = 176229, monsters_list = {"Giant Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[30] = {name = "Grim Reaper Vip", start = 176230, monsters_list = {"Grim Reaper Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[31] = {name = "Ice Golem", start = 176231, monsters_list = {"Ice Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[32] = {name = "Gargoyle", start = 176232, monsters_list = {"Gargoyle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[33] = {name = "Darakan The Executioner", start = 176233, monsters_list = {"Darakan The Executioner"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[34] = {name = "Cyclops Drone", start = 176234, monsters_list = {"Cyclops Drone"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[35] = {name = "Braindeath", start = 176235, monsters_list = {"Braindeath"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[36] = {name = "Bones", start = 176236, monsters_list = {"Bones"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[37] = {name = "Damaged Worker Golem", start = 176237, monsters_list = {"Damaged Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[38] = {name = "Werewolf", start = 176238, monsters_list = {"Werewolf"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[39] = {name = "Haunted Spirit", start = 176239, monsters_list = {"Haunted Spirit"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[40] = {name = "Battlemaster Zunzu", start = 176240, monsters_list = {"Battlemaster Zunzu"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[41] = {name = "Black Knight", start = 176241, monsters_list = {"Black Knight"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[42] = {name = "Blood Crab", start = 176242, monsters_list = {"Blood Crab"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[43] = {name = "Chakoya Tribewarden", start = 176243, monsters_list = {"Chakoya Tribewarden"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[44] = {name = "Chikhaton", start = 176244, monsters_list = {"Chikhaton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[45] = {name = "Cockroach", start = 176245, monsters_list = {"Cockroach"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[46] = {name = "Colerian The Barbarian", start = 176246, monsters_list = {"Colerian The Barbarian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[47] = {name = "Hellhound", start = 176247, monsters_list = {"Hellhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[48] = {name = "Draken Spellweaver", start = 176248, monsters_list = {"Draken Spellweaver"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[49] = {name = "Eternal Guardian", start = 176249, monsters_list = {"Eternal Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[50] = {name = "Gazer", start = 176250, monsters_list = {"Gazer"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[51] = {name = "Exc Banshee", start = 176251, monsters_list = {"Exc Banshee"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[52] = {name = "Exc Blistering Fire Elemental", start = 176252, monsters_list = {"Exc Blistering Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[53] = {name = "Exc Chakoya Windcaller", start = 176253, monsters_list = {"Exc Chakoya Windcaller"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[54] = {name = "Exc Cyclops Smith", start = 176254, monsters_list = {"Exc Cyclops Smith"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[55] = {name = "Exc Elverick", start = 176255, monsters_list = {"Exc Elverick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[56] = {name = "Exc Enlightened Of The Cult", start = 176256, monsters_list = {"Exc Enlightened Of The Cult"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[57] = {name = "Exc Femrick", start = 176257, monsters_list = {"Exc Femrick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[58] = {name = "Exc Hellfire Fighter", start = 176258, monsters_list = {"Exc Hellfire Fighter"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[59] = {name = "Exc Hellspawn", start = 176259, monsters_list = {"Exc Hellspawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[60] = {name = "Exc Kongra", start = 176260, monsters_list = {"Exc Kongra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[61] = {name = "Exc Quara Mantassin Scout", start = 176261, monsters_list = {"Exc Quara Mantassin Scout"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[62] = {name = "Exc Rahemos", start = 176262, monsters_list = {"Exc Rahemos"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[63] = {name = "Exc Wyvern", start = 176263, monsters_list = {"Exc Wyvern"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[64] = {name = "Exc Young Sea Serpent", start = 176264, monsters_list = {"Exc Young Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[65] = {name = "Exc Zombie", start = 176265, monsters_list = {"Exc Zombie"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[66] = {name = "Exc Pirate Skeleton", start = 176266, monsters_list = {"Exc Pirate Skeleton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[67] = {name = "Exc Pirate Ghost", start = 176267, monsters_list = {"Exc Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[68] = {name = "Exc Nightmare Scion", start = 176268, monsters_list = {"Exc Nightmare Scion"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[69] = {name = "Exc Mutated Rat", start = 176269, monsters_list = {"Exc Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[70] = {name = "Exc Mutated Bat", start = 176270, monsters_list = {"Exc Mutated Bat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[71] = {name = "Homem Aranha", start = 176271, monsters_list = {"Homem Aranha"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[72] = {name = "Blade", start = 176272, monsters_list = {"Blade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[73] = {name = "Capitao Marvel", start = 176273, monsters_list = {"Capitao Marvel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[74] = {name = "Deadpool", start = 176274, monsters_list = {"Deadpool"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[75] = {name = "Demolidor", start = 176275, monsters_list = {"Demolidor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[76] = {name = "Doutor Estranho", start = 176276, monsters_list = {"Doutor Estranho"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[77] = {name = "Senhor Fantastico", start = 176277, monsters_list = {"Senhor Fantastico"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[78] = {name = "Feiticeira Escarlate", start = 176278, monsters_list = {"Feiticeira Escarlate"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[79] = {name = "Gamora", start = 176279, monsters_list = {"Gamora"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[80] = {name = "Gaviao", start = 176280, monsters_list = {"Gaviao"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[81] = {name = "Homem Formiga", start = 176281, monsters_list = {"Homem Formiga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[82] = {name = "Hulk", start = 176282, monsters_list = {"Hulk"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[83] = {name = "Jean Grey", start = 176283, monsters_list = {"Jean Grey"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[84] = {name = "Mercurio", start = 176284, monsters_list = {"Mercurio"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[85] = {name = "Mulher Invisivel", start = 176285, monsters_list = {"Mulher Invisivel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[86] = {name = "Pantera Negra", start = 176286, monsters_list = {"Pantera Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[87] = {name = "Senhor Das Estrelas", start = 176287, monsters_list = {"Senhor Das Estrelas"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[88] = {name = "Tempestade", start = 176288, monsters_list = {"Tempestade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[89] = {name = "Thor", start = 176289, monsters_list = {"Thor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[90] = {name = "Viuva Negra", start = 176290, monsters_list = {"Viuva Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[91] = {name = "Brimstone Bug", start = 176291, monsters_list = {"Brimstone Bug"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[92] = {name = "Souleater", start = 176292, monsters_list = {"Souleater"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[93] = {name = "Draken Abomination", start = 176293, monsters_list = {"Draken Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[94] = {name = "Mutated Zalamon", start = 176294, monsters_list = {"Mutated Zalamon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[95] = {name = "Lizard Abomination", start = 176295, monsters_list = {"Lizard Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[96] = {name = "Draken Warmaster", start = 176296, monsters_list = {"Draken Warmaster"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[97] = {name = "Wyrm", start = 176297, monsters_list = {"Wyrm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[98] = {name = "Lizard Dragon Priest", start = 176298, monsters_list = {"Lizard Dragon Priest"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[99] = {name = "Devovorga", start = 176299, monsters_list = {"Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[100] = {name = "Infernalist", start = 176300, monsters_list = {"Infernalist"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[101] = {name = "Bossing", start = 176301, monsters_list = {"Bossing"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[102] = {name = "Azerus", start = 176302, monsters_list = {"Azerus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[103] = {name = "Hellish Tortoise", start = 176303, monsters_list = {"Hellish Tortoise"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[104] = {name = "Draken Elite", start = 176304, monsters_list = {"Draken Elite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[105] = {name = "Skeleton Warrior", start = 176305, monsters_list = {"Skeleton Warrior"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[106] = {name = "Lizard Chosen", start = 176306, monsters_list = {"Lizard Chosen"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[107] = {name = "Spawn Of Devovorga", start = 176307, monsters_list = {"Spawn Of Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[108] = {name = "Teneshpar", start = 176308, monsters_list = {"Teneshpar"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[109] = {name = "Snake God Essence", start = 176309, monsters_list = {"Snake God Essence"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[110] = {name = "Irahsae", start = 176310, monsters_list = {"Irahsae"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[111] = {name = "Slick Water Elemental", start = 176311, monsters_list = {"Slick Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[112] = {name = "Sea Serpent", start = 176312, monsters_list = {"Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[113] = {name = "Nightstalker", start = 176313, monsters_list = {"Nightstalker"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[114] = {name = "Nightmare", start = 176314, monsters_list = {"Nightmare"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[115] = {name = "Pirate Ghost", start = 176315, monsters_list = {"Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[116] = {name = "War Golem", start = 176316, monsters_list = {"War Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[117] = {name = "Insect Swarm", start = 176317, monsters_list = {"Insect Swarm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[118] = {name = "Lancer Beetle", start = 176318, monsters_list = {"Lancer Beetle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[119] = {name = "Mr. Punish", start = 176319, monsters_list = {"Mr. Punish"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[120] = {name = "Norgle Glacierbeard", start = 176320, monsters_list = {"Norgle Glacierbeard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[121] = {name = "Quara Mantassin", start = 176321, monsters_list = {"Quara Mantassin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[122] = {name = "Sandcrawler", start = 176322, monsters_list = {"Sandcrawler"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[123] = {name = "Spirit Of Earth", start = 176323, monsters_list = {"Spirit Of Earth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[124] = {name = "Terramite", start = 176324, monsters_list = {"Terramite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[125] = {name = "The Hag", start = 176325, monsters_list = {"The Hag"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[126] = {name = "The Count", start = 176326, monsters_list = {"The Count"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[127] = {name = "Massive Water Elemental", start = 176327, monsters_list = {"Massive Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[128] = {name = "Massive Fire Elemental", start = 176328, monsters_list = {"Massive Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[129] = {name = "Massive Energy Elemental", start = 176329, monsters_list = {"Massive Energy Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[130] = {name = "Massive Earth Elemental", start = 176330, monsters_list = {"Massive Earth Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[131] = {name = "Ghastly Dragon", start = 176331, monsters_list = {"Ghastly Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[132] = {name = "Animated Pumpkin", start = 176332, monsters_list = {"Animated Pumpkin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[133] = {name = "Yakchal", start = 176333, monsters_list = {"Yakchal"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[134] = {name = "Lizard High Guard", start = 176334, monsters_list = {"Lizard High Guard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[135] = {name = "Lizard Legionnaire", start = 176335, monsters_list = {"Lizard Legionnaire"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[136] = {name = "Lizard Zaogun", start = 176336, monsters_list = {"Lizard Zaogun"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[137] = {name = "Killer Caiman", start = 176337, monsters_list = {"Killer Caiman"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[138] = {name = "Mutated Human", start = 176338, monsters_list = {"Mutated Human"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[139] = {name = "Mutated Rat", start = 176339, monsters_list = {"Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[140] = {name = "Worker Golem", start = 176340, monsters_list = {"Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[141] = {name = "Mutated Tiger", start = 176341, monsters_list = {"Mutated Tiger"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[142] = {name = "Mercenary", start = 176342, monsters_list = {"Mercenary"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[143] = {name = "Lizard Magistratus", start = 176343, monsters_list = {"Lizard Magistratus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[144] = {name = "Lizard Sentinel", start = 176344, monsters_list = {"Lizard Sentinel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[145] = {name = "Fada", start = 176345, monsters_list = {"Fada"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[146] = {name = "Freegoiz", start = 176346, monsters_list = {"Freegoiz"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[147] = {name = "Orc Marauder", start = 176347, monsters_list = {"Orc Marauder"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[148] = {name = "Gnarlhound", start = 176348, monsters_list = {"Gnarlhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[149] = {name = "Orc Warlord", start = 176349, monsters_list = {"Orc Warlord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[150] = {name = "Clay Guardian", start = 176350, monsters_list = {"Clay Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0}
}
daily_task = {
	[1] = {name = "Spawn" ,monsters_list = {"Spawn"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Souls" ,monsters_list = {"Souls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Lizardmination" ,monsters_list = {"Lizardmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Spawndevorga" ,monsters_list = {"Spawndevorga"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Tenesphaton" ,monsters_list = {"Tenesphaton"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Zalamon" ,monsters_list = {"Zalamon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Animated" ,monsters_list = {"Animated"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Black Dragon" ,monsters_list = {"Black Dragon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Drakenmaster" ,monsters_list = {"Drakenmaster"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Drakenmination" ,monsters_list = {"Drakenmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Drakensouls" ,monsters_list = {"Drakensouls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Lizardchosen" ,monsters_list = {"Lizardchosen"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0}
}
task_sys_storages = {176601, 176602, 176603, 176604, 176605, 176606, 176607, 176608} -- task, points, count, daily task, daily count, daily time , daily start, contador
function getTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[1]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[1])
end
function getDailyTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[4]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[4])
end
function getTaskPoints(cid)
	return getPlayerStorageValue(cid,task_sys_storages[2]) < 0 and 0 or getPlayerStorageValue(cid,task_sys_storages[2])
end
function doRandomDailyTask(cid)
	local t = {
		[{1000,1500}] = {1,3},
		[{1501,2000}] = {4,6},
		[{2001,2500}] = {7,9},
		[{2501,math.huge}] = {10,12}
	}
	for a , b in pairs(t) do
		if getPlayerLevel(cid) >= a[1] and getPlayerLevel(cid) <= a[2] then
			return math.random(b[1], b[2])
		end
	end
	return 0
end
function GetRankTask(cid)
	local ranks = {
		[{1, 25}] = "Huntsman", 
		[{26, 50}] = "Ranger",
		[{51, 100}] = "Big Game Hunter",
		[{101, 150}] = "Trophy Hunter",		
		[{151, math.huge}] = "Elite Hunter"
	}
	for v , r in pairs(ranks) do
		if getTaskPoints(cid) >= v[1] and getTaskPoints(cid) <= v[2] then
			return r
		end
	end
	return 0
end
function getItemsFromList(items)
	local str = ''
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			str = str .. items[i][2] .. ' ' .. getItemNameById(items[i][1])
			if i ~= table.maxn(items) then str = str .. ', ' 
			end 
		end 
	end
	return str
end
function doRemoveItemsFromList(cid,items)
	local count = 0
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then
			count = count + 1 end 
		end 
	end
	if count == table.maxn(items) then
		for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end
	else 
		return false 
	end
	return true 
end
function getMonsterFromList(monster)
	local str = ''
	if #monster > 0 then
		for i = 1, #monster do
			str = str .. monster[i]
			if i ~= #monster then str = str .. ', ' end
		end 
	end
	return str
end
function GiveRewardsTask(cid, items)
	local backpack = doPlayerAddItem(cid, 1999, 1) -- backpackID
	for _, i_i in ipairs(items) do
		local item, amount = i_i[1],i_i[2]
		if isItemStackable(item) or amount == 1 then
			doAddContainerItem(backpack, item, amount)
		else
			for i = 1, amount do
				doAddContainerItem(backpack, item, 1)
			end
		end
	end
end
function isSummon(cid)
	if(not isCreature(cid)) then
		return false
	end
	return getCreatureMaster(cid) ~= cid
end
]]></config>
<event type="login" name="TaskLogin" event="script"><![CDATA[
function onLogin(cid)
	registerCreatureEvent(cid, "KillTask")
	registerCreatureEvent(cid, "TaskLook")
	return true
end]]></event>
<talkaction words="!task" event="buffer"><![CDATA[
domodlib('task_func')
param,task,daily = param:lower(), getTaskMission(cid), getDailyTaskMission(cid)
if isInArray({"counter","contador"},param) then
	setPlayerStorageValue(cid, task_sys_storages[8], getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and 1 or 0)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Task System] O contador foi "..(getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and "ativado" or "desativado")..".") return true
elseif isInArray({"daily","diaria"},param) then
	if not daily_task[daily] or getPlayerStorageValue(cid, task_sys_storages[7]) <= 0 then
		doPlayerSendCancel(cid, "Desculpe, Mas você não está em nenhuma Daily Task.") return true
	elseif getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily_task[daily].count then
		doPlayerSendCancel(cid,"Desculpe, Mas Você não terminou a Daily Task a tempo! Por favor volte ao npc e comece uma nova Daily Task!") return true
	end
	return doShowTextDialog(cid, 8983, "[->] CURRENT DAILY TASK INFO [<-]\n\nNome: "..daily_task[daily].name.."\nProgresso: ["..(getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[5])).."/"..daily_task[daily].count.."]\nPrazo para entrega: "..os.date("%d %B %Y %X ", getPlayerStorageValue(cid,task_sys_storages[6])).."\nMonstros para caçar: "..getMonsterFromList(daily_task[daily].monsters_list).."\n\n[->] CURRENT TASK REWARDS [<-]\n\nMoney: "..(daily_task[daily].money > 0 and daily_task[daily].money or 0).."\nExperiencia: "..(daily_task[daily].exp > 0 and daily_task[daily].exp or 0).."\nTask Points: "..daily_task[daily].points.."\nItems: "..(#daily_task[daily].reward > 0 and getItemsFromList(daily_task[daily].reward) or "Nenhum item de recompensa")..".")
end
if not task_sys[task] or getPlayerStorageValue(cid, task_sys[task].start) <= 0 then
	doPlayerSendCancel(cid, "você não está em nenhuma task.") return true
end 
return doShowTextDialog(cid, 8983, "-> CURRENT TASK ["..getTaskMission(cid).."/"..#task_sys.."] <-\n\nTask Name: "..task_sys[task].name.."\nTask Level: "..task_sys[task].level.."\nTask Progress: ["..(getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[3])).."/"..task_sys[task].count.."]\nMonster To Hunt: "..getMonsterFromList(task_sys[task].monsters_list)..".\nItens Para Entrega: "..(#task_sys[task].items > 0 and getItemsFromList(task_sys[task].items) or "Nenhum")..".\n\n[->] CURRENT TASK REWARDS [<-]\n\nReward Money: "..(task_sys[task].money > 0 and task_sys[task].money or 0).."\nReward Experiencia: "..(task_sys[task].exp > 0 and task_sys[task].exp or 0).."\nReward Points: "..task_sys[task].points.."\nRedward Items: "..(#task_sys[task].reward > 0 and getItemsFromList(task_sys[task].reward) or "Nenhum item de recompensa")..".")
]]></talkaction>
<event type="look" name="TaskLook" event="script"><![CDATA[
domodlib('task_func')
function onLook(cid, thing, position, lookDistance)
	if isPlayer(thing.uid) and getTaskPoints(thing.uid) > 0 then
		doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").. " is a "..GetRankTask(thing.uid))
	end	
	return true
end]]></event> 
<event type="kill" name="KillTask" event="script"><![CDATA[
domodlib('task_func')
function onKill(cid, target)
	if isPlayer(cid) and isMonster(target) then
		local t,daily = task_sys[getTaskMission(cid)], daily_task[getDailyTaskMission(cid)]
		if t and getPlayerStorageValue(cid, t.start) > 0 and isInArray(t.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
			setPlayerStorageValue(cid, task_sys_storages[3], getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[3])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[3]) .. "/" .. t.count .. "] da Task do " .. t.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[3]) >= t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] Parabéns! Você terminou a Task do "..t.name..", volte ao npc para receber sua recompensa.")
			end
		end
		if daily and getPlayerStorageValue(cid, task_sys_storages[7]) > 0 and getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() >= 0 and isInArray(daily.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
			setPlayerStorageValue(cid, task_sys_storages[5], getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[5])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Daily Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[5]) .. "/" .. daily.count .. "] da Task do " .. daily.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[5]) >= daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Daily Task System] Parabéns! Você terminou a Task do "..daily.name..", volte ao npc parece receber sua recompensa.")
			end
		end 
	end
	return true
end]]></event>
</mod>

 

Link para o post
Compartilhar em outros sites
<?xml version="1.0" encoding="ISO-8859-1"?> 
<mod name="Simple Task" version="4.0" author="Vodkart" contact="tibiaking.com" enabled="yes"> 
<config name="task_func"><![CDATA[
task_sys = {
	[1] = {name = "Grim Reaper", start = 176201, monsters_list = {"Grim Reaper"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Hydra", start = 176202, monsters_list = {"Hydra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Medusa", start = 176203, monsters_list = {"Medusa"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Serpent Spawn", start = 176204, monsters_list = {"Serpent Spawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Warlock", start = 176205, monsters_list = {"Warlock"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Giant Spider", start = 176206, monsters_list = {"Giant Spider"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Frost Dragon", start = 176207, monsters_list = {"Frost Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Dragon Lord", start = 176208, monsters_list = {"Dragon Lord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Demon", start = 176209, monsters_list = {"Demon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Behemoth", start = 176210, monsters_list = {"Behemoth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Hellfire Fighter Vip", start = 176211, monsters_list = {"Hellfire Fighter Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Hellspawn Vip", start = 176212, monsters_list = {"Hellspawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[13] = {name = "Hydra Vip", start = 176213, monsters_list = {"Hydra Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[14] = {name = "Juggernaut Vip", start = 176214, monsters_list = {"Juggernaut Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[15] = {name = "Marid Vip", start = 176215, monsters_list = {"Marid Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[16] = {name = "Fury Vip", start = 176216, monsters_list = {"Fury Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[17] = {name = "Warlock Vip", start = 176217, monsters_list = {"Warlock Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[18] = {name = "Serpent Spawn Vip", start = 176218, monsters_list = {"Serpent Spawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[19] = {name = "Orshabaal Vip", start = 176219, monsters_list = {"Orshabaal Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[20] = {name = "Medusa Vip", start = 176220, monsters_list = {"Medusa Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[21] = {name = "Demon Vip", start = 176221, monsters_list = {"Demon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[22] = {name = "Crystal Spider Vip", start = 176221, monsters_list = {"Crystal Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[23] = {name = "Bog Raider Vip", start = 176223, monsters_list = {"Bog Raider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[24] = {name = "Behemoth Vip", start = 176224, monsters_list = {"Behemoth Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[25] = {name = "Ancient Scarab Vip", start = 176225, monsters_list = {"Ancient Scarab Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[26] = {name = "Dragon Lord Vip", start = 176226, monsters_list = {"Dragon Lord Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[27] = {name = "Ferumbras Vip", start = 176227, monsters_list = {"Ferumbras Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[28] = {name = "Frost Dragon Vip", start = 176228, monsters_list = {"Frost Dragon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[29] = {name = "Giant Spider Vip", start = 176229, monsters_list = {"Giant Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[30] = {name = "Grim Reaper Vip", start = 176230, monsters_list = {"Grim Reaper Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[31] = {name = "Ice Golem", start = 176231, monsters_list = {"Ice Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[32] = {name = "Gargoyle", start = 176232, monsters_list = {"Gargoyle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[33] = {name = "Darakan The Executioner", start = 176233, monsters_list = {"Darakan The Executioner"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[34] = {name = "Cyclops Drone", start = 176234, monsters_list = {"Cyclops Drone"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[35] = {name = "Braindeath", start = 176235, monsters_list = {"Braindeath"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[36] = {name = "Bones", start = 176236, monsters_list = {"Bones"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[37] = {name = "Damaged Worker Golem", start = 176237, monsters_list = {"Damaged Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[38] = {name = "Werewolf", start = 176238, monsters_list = {"Werewolf"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[39] = {name = "Haunted Spirit", start = 176239, monsters_list = {"Haunted Spirit"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[40] = {name = "Battlemaster Zunzu", start = 176240, monsters_list = {"Battlemaster Zunzu"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[41] = {name = "Black Knight", start = 176241, monsters_list = {"Black Knight"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[42] = {name = "Blood Crab", start = 176242, monsters_list = {"Blood Crab"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[43] = {name = "Chakoya Tribewarden", start = 176243, monsters_list = {"Chakoya Tribewarden"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[44] = {name = "Chikhaton", start = 176244, monsters_list = {"Chikhaton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[45] = {name = "Cockroach", start = 176245, monsters_list = {"Cockroach"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[46] = {name = "Colerian The Barbarian", start = 176246, monsters_list = {"Colerian The Barbarian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[47] = {name = "Hellhound", start = 176247, monsters_list = {"Hellhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[48] = {name = "Draken Spellweaver", start = 176248, monsters_list = {"Draken Spellweaver"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[49] = {name = "Eternal Guardian", start = 176249, monsters_list = {"Eternal Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[50] = {name = "Gazer", start = 176250, monsters_list = {"Gazer"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[51] = {name = "Exc Banshee", start = 176251, monsters_list = {"Exc Banshee"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[52] = {name = "Exc Blistering Fire Elemental", start = 176252, monsters_list = {"Exc Blistering Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[53] = {name = "Exc Chakoya Windcaller", start = 176253, monsters_list = {"Exc Chakoya Windcaller"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[54] = {name = "Exc Cyclops Smith", start = 176254, monsters_list = {"Exc Cyclops Smith"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[55] = {name = "Exc Elverick", start = 176255, monsters_list = {"Exc Elverick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[56] = {name = "Exc Enlightened Of The Cult", start = 176256, monsters_list = {"Exc Enlightened Of The Cult"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[57] = {name = "Exc Femrick", start = 176257, monsters_list = {"Exc Femrick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[58] = {name = "Exc Hellfire Fighter", start = 176258, monsters_list = {"Exc Hellfire Fighter"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[59] = {name = "Exc Hellspawn", start = 176259, monsters_list = {"Exc Hellspawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[60] = {name = "Exc Kongra", start = 176260, monsters_list = {"Exc Kongra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[61] = {name = "Exc Quara Mantassin Scout", start = 176261, monsters_list = {"Exc Quara Mantassin Scout"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[62] = {name = "Exc Rahemos", start = 176262, monsters_list = {"Exc Rahemos"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[63] = {name = "Exc Wyvern", start = 176263, monsters_list = {"Exc Wyvern"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[64] = {name = "Exc Young Sea Serpent", start = 176264, monsters_list = {"Exc Young Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[65] = {name = "Exc Zombie", start = 176265, monsters_list = {"Exc Zombie"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[66] = {name = "Exc Pirate Skeleton", start = 176266, monsters_list = {"Exc Pirate Skeleton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[67] = {name = "Exc Pirate Ghost", start = 176267, monsters_list = {"Exc Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[68] = {name = "Exc Nightmare Scion", start = 176268, monsters_list = {"Exc Nightmare Scion"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[69] = {name = "Exc Mutated Rat", start = 176269, monsters_list = {"Exc Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[70] = {name = "Exc Mutated Bat", start = 176270, monsters_list = {"Exc Mutated Bat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[71] = {name = "Homem Aranha", start = 176271, monsters_list = {"Homem Aranha"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[72] = {name = "Blade", start = 176272, monsters_list = {"Blade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[73] = {name = "Capitao Marvel", start = 176273, monsters_list = {"Capitao Marvel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[74] = {name = "Deadpool", start = 176274, monsters_list = {"Deadpool"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[75] = {name = "Demolidor", start = 176275, monsters_list = {"Demolidor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[76] = {name = "Doutor Estranho", start = 176276, monsters_list = {"Doutor Estranho"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[77] = {name = "Senhor Fantastico", start = 176277, monsters_list = {"Senhor Fantastico"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[78] = {name = "Feiticeira Escarlate", start = 176278, monsters_list = {"Feiticeira Escarlate"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[79] = {name = "Gamora", start = 176279, monsters_list = {"Gamora"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[80] = {name = "Gaviao", start = 176280, monsters_list = {"Gaviao"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[81] = {name = "Homem Formiga", start = 176281, monsters_list = {"Homem Formiga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[82] = {name = "Hulk", start = 176282, monsters_list = {"Hulk"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[83] = {name = "Jean Grey", start = 176283, monsters_list = {"Jean Grey"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[84] = {name = "Mercurio", start = 176284, monsters_list = {"Mercurio"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[85] = {name = "Mulher Invisivel", start = 176285, monsters_list = {"Mulher Invisivel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[86] = {name = "Pantera Negra", start = 176286, monsters_list = {"Pantera Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[87] = {name = "Senhor Das Estrelas", start = 176287, monsters_list = {"Senhor Das Estrelas"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[88] = {name = "Tempestade", start = 176288, monsters_list = {"Tempestade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[89] = {name = "Thor", start = 176289, monsters_list = {"Thor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[90] = {name = "Viuva Negra", start = 176290, monsters_list = {"Viuva Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[91] = {name = "Brimstone Bug", start = 176291, monsters_list = {"Brimstone Bug"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[92] = {name = "Souleater", start = 176292, monsters_list = {"Souleater"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[93] = {name = "Draken Abomination", start = 176293, monsters_list = {"Draken Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[94] = {name = "Mutated Zalamon", start = 176294, monsters_list = {"Mutated Zalamon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[95] = {name = "Lizard Abomination", start = 176295, monsters_list = {"Lizard Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[96] = {name = "Draken Warmaster", start = 176296, monsters_list = {"Draken Warmaster"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[97] = {name = "Wyrm", start = 176297, monsters_list = {"Wyrm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[98] = {name = "Lizard Dragon Priest", start = 176298, monsters_list = {"Lizard Dragon Priest"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[99] = {name = "Devovorga", start = 176299, monsters_list = {"Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[100] = {name = "Infernalist", start = 176300, monsters_list = {"Infernalist"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[101] = {name = "Bossing", start = 176301, monsters_list = {"Bossing"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[102] = {name = "Azerus", start = 176302, monsters_list = {"Azerus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[103] = {name = "Hellish Tortoise", start = 176303, monsters_list = {"Hellish Tortoise"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[104] = {name = "Draken Elite", start = 176304, monsters_list = {"Draken Elite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[105] = {name = "Skeleton Warrior", start = 176305, monsters_list = {"Skeleton Warrior"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[106] = {name = "Lizard Chosen", start = 176306, monsters_list = {"Lizard Chosen"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[107] = {name = "Spawn Of Devovorga", start = 176307, monsters_list = {"Spawn Of Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[108] = {name = "Teneshpar", start = 176308, monsters_list = {"Teneshpar"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[109] = {name = "Snake God Essence", start = 176309, monsters_list = {"Snake God Essence"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[110] = {name = "Irahsae", start = 176310, monsters_list = {"Irahsae"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[111] = {name = "Slick Water Elemental", start = 176311, monsters_list = {"Slick Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[112] = {name = "Sea Serpent", start = 176312, monsters_list = {"Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[113] = {name = "Nightstalker", start = 176313, monsters_list = {"Nightstalker"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[114] = {name = "Nightmare", start = 176314, monsters_list = {"Nightmare"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[115] = {name = "Pirate Ghost", start = 176315, monsters_list = {"Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[116] = {name = "War Golem", start = 176316, monsters_list = {"War Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[117] = {name = "Insect Swarm", start = 176317, monsters_list = {"Insect Swarm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[118] = {name = "Lancer Beetle", start = 176318, monsters_list = {"Lancer Beetle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[119] = {name = "Mr. Punish", start = 176319, monsters_list = {"Mr. Punish"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[120] = {name = "Norgle Glacierbeard", start = 176320, monsters_list = {"Norgle Glacierbeard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[121] = {name = "Quara Mantassin", start = 176321, monsters_list = {"Quara Mantassin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[122] = {name = "Sandcrawler", start = 176322, monsters_list = {"Sandcrawler"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[123] = {name = "Spirit Of Earth", start = 176323, monsters_list = {"Spirit Of Earth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[124] = {name = "Terramite", start = 176324, monsters_list = {"Terramite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[125] = {name = "The Hag", start = 176325, monsters_list = {"The Hag"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[126] = {name = "The Count", start = 176326, monsters_list = {"The Count"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[127] = {name = "Massive Water Elemental", start = 176327, monsters_list = {"Massive Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[128] = {name = "Massive Fire Elemental", start = 176328, monsters_list = {"Massive Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[129] = {name = "Massive Energy Elemental", start = 176329, monsters_list = {"Massive Energy Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[130] = {name = "Massive Earth Elemental", start = 176330, monsters_list = {"Massive Earth Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[131] = {name = "Ghastly Dragon", start = 176331, monsters_list = {"Ghastly Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[132] = {name = "Animated Pumpkin", start = 176332, monsters_list = {"Animated Pumpkin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[133] = {name = "Yakchal", start = 176333, monsters_list = {"Yakchal"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[134] = {name = "Lizard High Guard", start = 176334, monsters_list = {"Lizard High Guard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[135] = {name = "Lizard Legionnaire", start = 176335, monsters_list = {"Lizard Legionnaire"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[136] = {name = "Lizard Zaogun", start = 176336, monsters_list = {"Lizard Zaogun"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[137] = {name = "Killer Caiman", start = 176337, monsters_list = {"Killer Caiman"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[138] = {name = "Mutated Human", start = 176338, monsters_list = {"Mutated Human"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[139] = {name = "Mutated Rat", start = 176339, monsters_list = {"Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[140] = {name = "Worker Golem", start = 176340, monsters_list = {"Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[141] = {name = "Mutated Tiger", start = 176341, monsters_list = {"Mutated Tiger"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[142] = {name = "Mercenary", start = 176342, monsters_list = {"Mercenary"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[143] = {name = "Lizard Magistratus", start = 176343, monsters_list = {"Lizard Magistratus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[144] = {name = "Lizard Sentinel", start = 176344, monsters_list = {"Lizard Sentinel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[145] = {name = "Fada", start = 176345, monsters_list = {"Fada"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[146] = {name = "Freegoiz", start = 176346, monsters_list = {"Freegoiz"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[147] = {name = "Orc Marauder", start = 176347, monsters_list = {"Orc Marauder"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[148] = {name = "Gnarlhound", start = 176348, monsters_list = {"Gnarlhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[149] = {name = "Orc Warlord", start = 176349, monsters_list = {"Orc Warlord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[150] = {name = "Clay Guardian", start = 176350, monsters_list = {"Clay Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0}
}
daily_task = {
	[1] = {name = "Spawn" ,monsters_list = {"Spawn"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Souls" ,monsters_list = {"Souls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Lizardmination" ,monsters_list = {"Lizardmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Spawndevorga" ,monsters_list = {"Spawndevorga"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Tenesphaton" ,monsters_list = {"Tenesphaton"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Zalamon" ,monsters_list = {"Zalamon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Animated" ,monsters_list = {"Animated"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Black Dragon" ,monsters_list = {"Black Dragon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Drakenmaster" ,monsters_list = {"Drakenmaster"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Drakenmination" ,monsters_list = {"Drakenmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Drakensouls" ,monsters_list = {"Drakensouls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Lizardchosen" ,monsters_list = {"Lizardchosen"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0}
}
task_sys_storages = {176601, 176602, 176603, 176604, 176605, 176606, 176607, 176608} -- task, points, count, daily task, daily count, daily time , daily start, contador
function getTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[1]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[1])
end
function getDailyTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[4]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[4])
end
function getTaskPoints(cid)
	return getPlayerStorageValue(cid,task_sys_storages[2]) < 0 and 0 or getPlayerStorageValue(cid,task_sys_storages[2])
end
function doRandomDailyTask(cid)
	local t = {
		[{1000,1500}] = {1,3},
		[{1501,2000}] = {4,6},
		[{2001,2500}] = {7,9},
		[{2501,math.huge}] = {10,12}
	}
	for a , b in pairs(t) do
		if getPlayerLevel(cid) >= a[1] and getPlayerLevel(cid) <= a[2] then
			return math.random(b[1], b[2])
		end
	end
	return 0
end
function GetRankTask(cid)
	local ranks = {
		[{1, 25}] = "Huntsman", 
		[{26, 50}] = "Ranger",
		[{51, 100}] = "Big Game Hunter",
		[{101, 150}] = "Trophy Hunter",		
		[{151, math.huge}] = "Elite Hunter"
	}
	for v , r in pairs(ranks) do
		if getTaskPoints(cid) >= v[1] and getTaskPoints(cid) <= v[2] then
			return r
		end
	end
	return 0
end
function getItemsFromList(items)
	local str = ''
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			str = str .. items[i][2] .. ' ' .. getItemNameById(items[i][1])
			if i ~= table.maxn(items) then str = str .. ', ' 
			end 
		end 
	end
	return str
end
function doRemoveItemsFromList(cid,items)
	local count = 0
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then
			count = count + 1 end 
		end 
	end
	if count == table.maxn(items) then
		for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end
	else 
		return false 
	end
	return true 
end
function getMonsterFromList(monster)
	local str = ''
	if #monster > 0 then
		for i = 1, #monster do
			str = str .. monster[i]
			if i ~= #monster then str = str .. ', ' end
		end 
	end
	return str
end
function GiveRewardsTask(cid, items)
	local backpack = doPlayerAddItem(cid, 1999, 1) -- backpackID
	for _, i_i in ipairs(items) do
		local item, amount = i_i[1],i_i[2]
		if isItemStackable(item) or amount == 1 then
			doAddContainerItem(backpack, item, amount)
		else
			for i = 1, amount do
				doAddContainerItem(backpack, item, 1)
			end
		end
	end
end
function isSummon(cid)
	if(not isCreature(cid)) then
		return false
	end
	return getCreatureMaster(cid) ~= cid
end
]]></config>
<event type="login" name="TaskLogin" event="script"><![CDATA[
function onLogin(cid)
	registerCreatureEvent(cid, "KillTask")
	registerCreatureEvent(cid, "TaskLook")
	return true
end]]></event>
<talkaction words="!task" event="buffer"><![CDATA[
domodlib('task_func')
param,task,daily = param:lower(), getTaskMission(cid), getDailyTaskMission(cid)
if isInArray({"counter","contador"},param) then
	setPlayerStorageValue(cid, task_sys_storages[8], getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and 1 or 0)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Task System] O contador foi "..(getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and "ativado" or "desativado")..".") return true
elseif isInArray({"points","points","ponto","pontos"},param) then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Task System] O seu Total de Task points é de: "..getTaskPoints(cid).." points!") return true
elseif isInArray({"daily","diaria"},param) then
	if not daily_task[daily] or getPlayerStorageValue(cid, task_sys_storages[7]) <= 0 then
		doPlayerSendCancel(cid, "Desculpe, Mas você não está em nenhuma Daily Task.") return true
	elseif getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily_task[daily].count then
		doPlayerSendCancel(cid,"Desculpe, Mas Você não terminou a Daily Task a tempo! Por favor volte ao npc e comece uma nova Daily Task!") return true
	end
	return doShowTextDialog(cid, 8983, "[->] CURRENT DAILY TASK INFO [<-]\n\nNome: "..daily_task[daily].name.."\nProgresso: ["..(getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[5])).."/"..daily_task[daily].count.."]\nPrazo para entrega: "..os.date("%d %B %Y %X ", getPlayerStorageValue(cid,task_sys_storages[6])).."\nMonstros para caçar: "..getMonsterFromList(daily_task[daily].monsters_list).."\n\n[->] CURRENT TASK REWARDS [<-]\n\nMoney: "..(daily_task[daily].money > 0 and daily_task[daily].money or 0).."\nExperiencia: "..(daily_task[daily].exp > 0 and daily_task[daily].exp or 0).."\nTask Points: "..daily_task[daily].points.."\nItems: "..(#daily_task[daily].reward > 0 and getItemsFromList(daily_task[daily].reward) or "Nenhum item de recompensa")..".")
end
if not task_sys[task] or getPlayerStorageValue(cid, task_sys[task].start) <= 0 then
	doPlayerSendCancel(cid, "você não está em nenhuma task.") return true
end 
return doShowTextDialog(cid, 8983, "-> CURRENT TASK ["..getTaskMission(cid).."/"..#task_sys.."] <-\n\nTask Name: "..task_sys[task].name.."\nTask Level: "..task_sys[task].level.."\nTask Progress: ["..(getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[3])).."/"..task_sys[task].count.."]\nMonster To Hunt: "..getMonsterFromList(task_sys[task].monsters_list)..".\nItens Para Entrega: "..(#task_sys[task].items > 0 and getItemsFromList(task_sys[task].items) or "Nenhum")..".\n\n[->] CURRENT TASK REWARDS [<-]\n\nReward Money: "..(task_sys[task].money > 0 and task_sys[task].money or 0).."\nReward Experiencia: "..(task_sys[task].exp > 0 and task_sys[task].exp or 0).."\nReward Points: "..task_sys[task].points.."\nRedward Items: "..(#task_sys[task].reward > 0 and getItemsFromList(task_sys[task].reward) or "Nenhum item de recompensa")..".")
]]></talkaction>
<event type="look" name="TaskLook" event="script"><![CDATA[
domodlib('task_func')
function onLook(cid, thing, position, lookDistance)
	if isPlayer(thing.uid) and getTaskPoints(thing.uid) > 0 then
		doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").. " is a "..GetRankTask(thing.uid))
	end	
	return true
end]]></event> 
<event type="kill" name="KillTask" event="script"><![CDATA[
domodlib('task_func')
function onKill(cid, target)
	if isPlayer(cid) and isMonster(target) then
		local t,daily = task_sys[getTaskMission(cid)], daily_task[getDailyTaskMission(cid)]
		if t and getPlayerStorageValue(cid, t.start) > 0 and isInArray(t.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
			setPlayerStorageValue(cid, task_sys_storages[3], getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[3])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[3]) .. "/" .. t.count .. "] da Task do " .. t.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[3]) >= t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] Parabéns! Você terminou a Task do "..t.name..", volte ao npc para receber sua recompensa.")
			end
		end
		if daily and getPlayerStorageValue(cid, task_sys_storages[7]) > 0 and getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() >= 0 and isInArray(daily.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
			setPlayerStorageValue(cid, task_sys_storages[5], getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[5])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Daily Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[5]) .. "/" .. daily.count .. "] da Task do " .. daily.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[5]) >= daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Daily Task System] Parabéns! Você terminou a Task do "..daily.name..", volte ao npc parece receber sua recompensa.")
			end
		end 
	end
	return true
end]]></event>
</mod>

 

só usar !task points ou !task point/points/ponto/pontos

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites
8 minutos atrás, Vodkart disse:

<?xml version="1.0" encoding="ISO-8859-1"?> 
<mod name="Simple Task" version="4.0" author="Vodkart" contact="tibiaking.com" enabled="yes"> 
<config name="task_func"><![CDATA[
task_sys = {
	[1] = {name = "Grim Reaper", start = 176201, monsters_list = {"Grim Reaper"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Hydra", start = 176202, monsters_list = {"Hydra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Medusa", start = 176203, monsters_list = {"Medusa"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Serpent Spawn", start = 176204, monsters_list = {"Serpent Spawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Warlock", start = 176205, monsters_list = {"Warlock"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Giant Spider", start = 176206, monsters_list = {"Giant Spider"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Frost Dragon", start = 176207, monsters_list = {"Frost Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Dragon Lord", start = 176208, monsters_list = {"Dragon Lord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Demon", start = 176209, monsters_list = {"Demon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Behemoth", start = 176210, monsters_list = {"Behemoth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Hellfire Fighter Vip", start = 176211, monsters_list = {"Hellfire Fighter Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Hellspawn Vip", start = 176212, monsters_list = {"Hellspawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[13] = {name = "Hydra Vip", start = 176213, monsters_list = {"Hydra Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[14] = {name = "Juggernaut Vip", start = 176214, monsters_list = {"Juggernaut Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[15] = {name = "Marid Vip", start = 176215, monsters_list = {"Marid Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[16] = {name = "Fury Vip", start = 176216, monsters_list = {"Fury Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[17] = {name = "Warlock Vip", start = 176217, monsters_list = {"Warlock Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[18] = {name = "Serpent Spawn Vip", start = 176218, monsters_list = {"Serpent Spawn Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[19] = {name = "Orshabaal Vip", start = 176219, monsters_list = {"Orshabaal Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[20] = {name = "Medusa Vip", start = 176220, monsters_list = {"Medusa Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[21] = {name = "Demon Vip", start = 176221, monsters_list = {"Demon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[22] = {name = "Crystal Spider Vip", start = 176221, monsters_list = {"Crystal Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[23] = {name = "Bog Raider Vip", start = 176223, monsters_list = {"Bog Raider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[24] = {name = "Behemoth Vip", start = 176224, monsters_list = {"Behemoth Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[25] = {name = "Ancient Scarab Vip", start = 176225, monsters_list = {"Ancient Scarab Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[26] = {name = "Dragon Lord Vip", start = 176226, monsters_list = {"Dragon Lord Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[27] = {name = "Ferumbras Vip", start = 176227, monsters_list = {"Ferumbras Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[28] = {name = "Frost Dragon Vip", start = 176228, monsters_list = {"Frost Dragon Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[29] = {name = "Giant Spider Vip", start = 176229, monsters_list = {"Giant Spider Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[30] = {name = "Grim Reaper Vip", start = 176230, monsters_list = {"Grim Reaper Vip"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[31] = {name = "Ice Golem", start = 176231, monsters_list = {"Ice Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[32] = {name = "Gargoyle", start = 176232, monsters_list = {"Gargoyle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[33] = {name = "Darakan The Executioner", start = 176233, monsters_list = {"Darakan The Executioner"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[34] = {name = "Cyclops Drone", start = 176234, monsters_list = {"Cyclops Drone"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[35] = {name = "Braindeath", start = 176235, monsters_list = {"Braindeath"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[36] = {name = "Bones", start = 176236, monsters_list = {"Bones"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[37] = {name = "Damaged Worker Golem", start = 176237, monsters_list = {"Damaged Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[38] = {name = "Werewolf", start = 176238, monsters_list = {"Werewolf"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[39] = {name = "Haunted Spirit", start = 176239, monsters_list = {"Haunted Spirit"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[40] = {name = "Battlemaster Zunzu", start = 176240, monsters_list = {"Battlemaster Zunzu"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[41] = {name = "Black Knight", start = 176241, monsters_list = {"Black Knight"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[42] = {name = "Blood Crab", start = 176242, monsters_list = {"Blood Crab"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[43] = {name = "Chakoya Tribewarden", start = 176243, monsters_list = {"Chakoya Tribewarden"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[44] = {name = "Chikhaton", start = 176244, monsters_list = {"Chikhaton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[45] = {name = "Cockroach", start = 176245, monsters_list = {"Cockroach"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[46] = {name = "Colerian The Barbarian", start = 176246, monsters_list = {"Colerian The Barbarian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[47] = {name = "Hellhound", start = 176247, monsters_list = {"Hellhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[48] = {name = "Draken Spellweaver", start = 176248, monsters_list = {"Draken Spellweaver"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[49] = {name = "Eternal Guardian", start = 176249, monsters_list = {"Eternal Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[50] = {name = "Gazer", start = 176250, monsters_list = {"Gazer"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[51] = {name = "Exc Banshee", start = 176251, monsters_list = {"Exc Banshee"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[52] = {name = "Exc Blistering Fire Elemental", start = 176252, monsters_list = {"Exc Blistering Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[53] = {name = "Exc Chakoya Windcaller", start = 176253, monsters_list = {"Exc Chakoya Windcaller"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[54] = {name = "Exc Cyclops Smith", start = 176254, monsters_list = {"Exc Cyclops Smith"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[55] = {name = "Exc Elverick", start = 176255, monsters_list = {"Exc Elverick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[56] = {name = "Exc Enlightened Of The Cult", start = 176256, monsters_list = {"Exc Enlightened Of The Cult"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[57] = {name = "Exc Femrick", start = 176257, monsters_list = {"Exc Femrick"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[58] = {name = "Exc Hellfire Fighter", start = 176258, monsters_list = {"Exc Hellfire Fighter"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[59] = {name = "Exc Hellspawn", start = 176259, monsters_list = {"Exc Hellspawn"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[60] = {name = "Exc Kongra", start = 176260, monsters_list = {"Exc Kongra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[61] = {name = "Exc Quara Mantassin Scout", start = 176261, monsters_list = {"Exc Quara Mantassin Scout"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[62] = {name = "Exc Rahemos", start = 176262, monsters_list = {"Exc Rahemos"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[63] = {name = "Exc Wyvern", start = 176263, monsters_list = {"Exc Wyvern"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[64] = {name = "Exc Young Sea Serpent", start = 176264, monsters_list = {"Exc Young Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[65] = {name = "Exc Zombie", start = 176265, monsters_list = {"Exc Zombie"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[66] = {name = "Exc Pirate Skeleton", start = 176266, monsters_list = {"Exc Pirate Skeleton"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[67] = {name = "Exc Pirate Ghost", start = 176267, monsters_list = {"Exc Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[68] = {name = "Exc Nightmare Scion", start = 176268, monsters_list = {"Exc Nightmare Scion"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[69] = {name = "Exc Mutated Rat", start = 176269, monsters_list = {"Exc Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[70] = {name = "Exc Mutated Bat", start = 176270, monsters_list = {"Exc Mutated Bat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[71] = {name = "Homem Aranha", start = 176271, monsters_list = {"Homem Aranha"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[72] = {name = "Blade", start = 176272, monsters_list = {"Blade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[73] = {name = "Capitao Marvel", start = 176273, monsters_list = {"Capitao Marvel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[74] = {name = "Deadpool", start = 176274, monsters_list = {"Deadpool"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[75] = {name = "Demolidor", start = 176275, monsters_list = {"Demolidor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[76] = {name = "Doutor Estranho", start = 176276, monsters_list = {"Doutor Estranho"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[77] = {name = "Senhor Fantastico", start = 176277, monsters_list = {"Senhor Fantastico"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[78] = {name = "Feiticeira Escarlate", start = 176278, monsters_list = {"Feiticeira Escarlate"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[79] = {name = "Gamora", start = 176279, monsters_list = {"Gamora"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[80] = {name = "Gaviao", start = 176280, monsters_list = {"Gaviao"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[81] = {name = "Homem Formiga", start = 176281, monsters_list = {"Homem Formiga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[82] = {name = "Hulk", start = 176282, monsters_list = {"Hulk"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[83] = {name = "Jean Grey", start = 176283, monsters_list = {"Jean Grey"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[84] = {name = "Mercurio", start = 176284, monsters_list = {"Mercurio"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[85] = {name = "Mulher Invisivel", start = 176285, monsters_list = {"Mulher Invisivel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[86] = {name = "Pantera Negra", start = 176286, monsters_list = {"Pantera Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[87] = {name = "Senhor Das Estrelas", start = 176287, monsters_list = {"Senhor Das Estrelas"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[88] = {name = "Tempestade", start = 176288, monsters_list = {"Tempestade"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[89] = {name = "Thor", start = 176289, monsters_list = {"Thor"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[90] = {name = "Viuva Negra", start = 176290, monsters_list = {"Viuva Negra"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[91] = {name = "Brimstone Bug", start = 176291, monsters_list = {"Brimstone Bug"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[92] = {name = "Souleater", start = 176292, monsters_list = {"Souleater"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[93] = {name = "Draken Abomination", start = 176293, monsters_list = {"Draken Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[94] = {name = "Mutated Zalamon", start = 176294, monsters_list = {"Mutated Zalamon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[95] = {name = "Lizard Abomination", start = 176295, monsters_list = {"Lizard Abomination"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[96] = {name = "Draken Warmaster", start = 176296, monsters_list = {"Draken Warmaster"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[97] = {name = "Wyrm", start = 176297, monsters_list = {"Wyrm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[98] = {name = "Lizard Dragon Priest", start = 176298, monsters_list = {"Lizard Dragon Priest"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[99] = {name = "Devovorga", start = 176299, monsters_list = {"Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[100] = {name = "Infernalist", start = 176300, monsters_list = {"Infernalist"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[101] = {name = "Bossing", start = 176301, monsters_list = {"Bossing"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[102] = {name = "Azerus", start = 176302, monsters_list = {"Azerus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[103] = {name = "Hellish Tortoise", start = 176303, monsters_list = {"Hellish Tortoise"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[104] = {name = "Draken Elite", start = 176304, monsters_list = {"Draken Elite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[105] = {name = "Skeleton Warrior", start = 176305, monsters_list = {"Skeleton Warrior"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[106] = {name = "Lizard Chosen", start = 176306, monsters_list = {"Lizard Chosen"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[107] = {name = "Spawn Of Devovorga", start = 176307, monsters_list = {"Spawn Of Devovorga"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[108] = {name = "Teneshpar", start = 176308, monsters_list = {"Teneshpar"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[109] = {name = "Snake God Essence", start = 176309, monsters_list = {"Snake God Essence"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[110] = {name = "Irahsae", start = 176310, monsters_list = {"Irahsae"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[111] = {name = "Slick Water Elemental", start = 176311, monsters_list = {"Slick Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[112] = {name = "Sea Serpent", start = 176312, monsters_list = {"Sea Serpent"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[113] = {name = "Nightstalker", start = 176313, monsters_list = {"Nightstalker"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[114] = {name = "Nightmare", start = 176314, monsters_list = {"Nightmare"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[115] = {name = "Pirate Ghost", start = 176315, monsters_list = {"Pirate Ghost"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[116] = {name = "War Golem", start = 176316, monsters_list = {"War Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[117] = {name = "Insect Swarm", start = 176317, monsters_list = {"Insect Swarm"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[118] = {name = "Lancer Beetle", start = 176318, monsters_list = {"Lancer Beetle"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[119] = {name = "Mr. Punish", start = 176319, monsters_list = {"Mr. Punish"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[120] = {name = "Norgle Glacierbeard", start = 176320, monsters_list = {"Norgle Glacierbeard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[121] = {name = "Quara Mantassin", start = 176321, monsters_list = {"Quara Mantassin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[122] = {name = "Sandcrawler", start = 176322, monsters_list = {"Sandcrawler"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[123] = {name = "Spirit Of Earth", start = 176323, monsters_list = {"Spirit Of Earth"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[124] = {name = "Terramite", start = 176324, monsters_list = {"Terramite"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[125] = {name = "The Hag", start = 176325, monsters_list = {"The Hag"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[126] = {name = "The Count", start = 176326, monsters_list = {"The Count"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[127] = {name = "Massive Water Elemental", start = 176327, monsters_list = {"Massive Water Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[128] = {name = "Massive Fire Elemental", start = 176328, monsters_list = {"Massive Fire Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[129] = {name = "Massive Energy Elemental", start = 176329, monsters_list = {"Massive Energy Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[130] = {name = "Massive Earth Elemental", start = 176330, monsters_list = {"Massive Earth Elemental"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[131] = {name = "Ghastly Dragon", start = 176331, monsters_list = {"Ghastly Dragon"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[132] = {name = "Animated Pumpkin", start = 176332, monsters_list = {"Animated Pumpkin"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[133] = {name = "Yakchal", start = 176333, monsters_list = {"Yakchal"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[134] = {name = "Lizard High Guard", start = 176334, monsters_list = {"Lizard High Guard"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[135] = {name = "Lizard Legionnaire", start = 176335, monsters_list = {"Lizard Legionnaire"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[136] = {name = "Lizard Zaogun", start = 176336, monsters_list = {"Lizard Zaogun"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[137] = {name = "Killer Caiman", start = 176337, monsters_list = {"Killer Caiman"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[138] = {name = "Mutated Human", start = 176338, monsters_list = {"Mutated Human"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[139] = {name = "Mutated Rat", start = 176339, monsters_list = {"Mutated Rat"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[140] = {name = "Worker Golem", start = 176340, monsters_list = {"Worker Golem"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[141] = {name = "Mutated Tiger", start = 176341, monsters_list = {"Mutated Tiger"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[142] = {name = "Mercenary", start = 176342, monsters_list = {"Mercenary"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[143] = {name = "Lizard Magistratus", start = 176343, monsters_list = {"Lizard Magistratus"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[144] = {name = "Lizard Sentinel", start = 176344, monsters_list = {"Lizard Sentinel"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[145] = {name = "Fada", start = 176345, monsters_list = {"Fada"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[146] = {name = "Freegoiz", start = 176346, monsters_list = {"Freegoiz"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[147] = {name = "Orc Marauder", start = 176347, monsters_list = {"Orc Marauder"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[148] = {name = "Gnarlhound", start = 176348, monsters_list = {"Gnarlhound"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[149] = {name = "Orc Warlord", start = 176349, monsters_list = {"Orc Warlord"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0},
	[150] = {name = "Clay Guardian", start = 176350, monsters_list = {"Clay Guardian"}, level = 8, count = 5000, points = 25, items = {}, reward = {}, exp = 15000000, money = 0}
}
daily_task = {
	[1] = {name = "Spawn" ,monsters_list = {"Spawn"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[2] = {name = "Souls" ,monsters_list = {"Souls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[3] = {name = "Lizardmination" ,monsters_list = {"Lizardmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[4] = {name = "Spawndevorga" ,monsters_list = {"Spawndevorga"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[5] = {name = "Tenesphaton" ,monsters_list = {"Tenesphaton"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[6] = {name = "Zalamon" ,monsters_list = {"Zalamon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[7] = {name = "Animated" ,monsters_list = {"Animated"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[8] = {name = "Black Dragon" ,monsters_list = {"Black Dragon"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[9] = {name = "Drakenmaster" ,monsters_list = {"Drakenmaster"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[10] = {name = "Drakenmination" ,monsters_list = {"Drakenmination"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[11] = {name = "Drakensouls" ,monsters_list = {"Drakensouls"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0},
	[12] = {name = "Lizardchosen" ,monsters_list = {"Lizardchosen"}, count = 10000, points = 25, reward = {}, exp = 15000000, money = 0}
}
task_sys_storages = {176601, 176602, 176603, 176604, 176605, 176606, 176607, 176608} -- task, points, count, daily task, daily count, daily time , daily start, contador
function getTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[1]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[1])
end
function getDailyTaskMission(cid)
	return getPlayerStorageValue(cid,task_sys_storages[4]) < 0 and 1 or getPlayerStorageValue(cid,task_sys_storages[4])
end
function getTaskPoints(cid)
	return getPlayerStorageValue(cid,task_sys_storages[2]) < 0 and 0 or getPlayerStorageValue(cid,task_sys_storages[2])
end
function doRandomDailyTask(cid)
	local t = {
		[{1000,1500}] = {1,3},
		[{1501,2000}] = {4,6},
		[{2001,2500}] = {7,9},
		[{2501,math.huge}] = {10,12}
	}
	for a , b in pairs(t) do
		if getPlayerLevel(cid) >= a[1] and getPlayerLevel(cid) <= a[2] then
			return math.random(b[1], b[2])
		end
	end
	return 0
end
function GetRankTask(cid)
	local ranks = {
		[{1, 25}] = "Huntsman", 
		[{26, 50}] = "Ranger",
		[{51, 100}] = "Big Game Hunter",
		[{101, 150}] = "Trophy Hunter",		
		[{151, math.huge}] = "Elite Hunter"
	}
	for v , r in pairs(ranks) do
		if getTaskPoints(cid) >= v[1] and getTaskPoints(cid) <= v[2] then
			return r
		end
	end
	return 0
end
function getItemsFromList(items)
	local str = ''
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			str = str .. items[i][2] .. ' ' .. getItemNameById(items[i][1])
			if i ~= table.maxn(items) then str = str .. ', ' 
			end 
		end 
	end
	return str
end
function doRemoveItemsFromList(cid,items)
	local count = 0
	if table.maxn(items) > 0 then
		for i = 1, table.maxn(items) do
			if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then
			count = count + 1 end 
		end 
	end
	if count == table.maxn(items) then
		for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end
	else 
		return false 
	end
	return true 
end
function getMonsterFromList(monster)
	local str = ''
	if #monster > 0 then
		for i = 1, #monster do
			str = str .. monster[i]
			if i ~= #monster then str = str .. ', ' end
		end 
	end
	return str
end
function GiveRewardsTask(cid, items)
	local backpack = doPlayerAddItem(cid, 1999, 1) -- backpackID
	for _, i_i in ipairs(items) do
		local item, amount = i_i[1],i_i[2]
		if isItemStackable(item) or amount == 1 then
			doAddContainerItem(backpack, item, amount)
		else
			for i = 1, amount do
				doAddContainerItem(backpack, item, 1)
			end
		end
	end
end
function isSummon(cid)
	if(not isCreature(cid)) then
		return false
	end
	return getCreatureMaster(cid) ~= cid
end
]]></config>
<event type="login" name="TaskLogin" event="script"><![CDATA[
function onLogin(cid)
	registerCreatureEvent(cid, "KillTask")
	registerCreatureEvent(cid, "TaskLook")
	return true
end]]></event>
<talkaction words="!task" event="buffer"><![CDATA[
domodlib('task_func')
param,task,daily = param:lower(), getTaskMission(cid), getDailyTaskMission(cid)
if isInArray({"counter","contador"},param) then
	setPlayerStorageValue(cid, task_sys_storages[8], getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and 1 or 0)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Task System] O contador foi "..(getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and "ativado" or "desativado")..".") return true
elseif isInArray({"points","points","ponto","pontos"},param) then
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Task System] O seu Total de Task points é de: "..getTaskPoints(cid).." points!") return true
elseif isInArray({"daily","diaria"},param) then
	if not daily_task[daily] or getPlayerStorageValue(cid, task_sys_storages[7]) <= 0 then
		doPlayerSendCancel(cid, "Desculpe, Mas você não está em nenhuma Daily Task.") return true
	elseif getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily_task[daily].count then
		doPlayerSendCancel(cid,"Desculpe, Mas Você não terminou a Daily Task a tempo! Por favor volte ao npc e comece uma nova Daily Task!") return true
	end
	return doShowTextDialog(cid, 8983, "[->] CURRENT DAILY TASK INFO [<-]\n\nNome: "..daily_task[daily].name.."\nProgresso: ["..(getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[5])).."/"..daily_task[daily].count.."]\nPrazo para entrega: "..os.date("%d %B %Y %X ", getPlayerStorageValue(cid,task_sys_storages[6])).."\nMonstros para caçar: "..getMonsterFromList(daily_task[daily].monsters_list).."\n\n[->] CURRENT TASK REWARDS [<-]\n\nMoney: "..(daily_task[daily].money > 0 and daily_task[daily].money or 0).."\nExperiencia: "..(daily_task[daily].exp > 0 and daily_task[daily].exp or 0).."\nTask Points: "..daily_task[daily].points.."\nItems: "..(#daily_task[daily].reward > 0 and getItemsFromList(daily_task[daily].reward) or "Nenhum item de recompensa")..".")
end
if not task_sys[task] or getPlayerStorageValue(cid, task_sys[task].start) <= 0 then
	doPlayerSendCancel(cid, "você não está em nenhuma task.") return true
end 
return doShowTextDialog(cid, 8983, "-> CURRENT TASK ["..getTaskMission(cid).."/"..#task_sys.."] <-\n\nTask Name: "..task_sys[task].name.."\nTask Level: "..task_sys[task].level.."\nTask Progress: ["..(getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 0 or getPlayerStorageValue(cid, task_sys_storages[3])).."/"..task_sys[task].count.."]\nMonster To Hunt: "..getMonsterFromList(task_sys[task].monsters_list)..".\nItens Para Entrega: "..(#task_sys[task].items > 0 and getItemsFromList(task_sys[task].items) or "Nenhum")..".\n\n[->] CURRENT TASK REWARDS [<-]\n\nReward Money: "..(task_sys[task].money > 0 and task_sys[task].money or 0).."\nReward Experiencia: "..(task_sys[task].exp > 0 and task_sys[task].exp or 0).."\nReward Points: "..task_sys[task].points.."\nRedward Items: "..(#task_sys[task].reward > 0 and getItemsFromList(task_sys[task].reward) or "Nenhum item de recompensa")..".")
]]></talkaction>
<event type="look" name="TaskLook" event="script"><![CDATA[
domodlib('task_func')
function onLook(cid, thing, position, lookDistance)
	if isPlayer(thing.uid) and getTaskPoints(thing.uid) > 0 then
		doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").. " is a "..GetRankTask(thing.uid))
	end	
	return true
end]]></event> 
<event type="kill" name="KillTask" event="script"><![CDATA[
domodlib('task_func')
function onKill(cid, target)
	if isPlayer(cid) and isMonster(target) then
		local t,daily = task_sys[getTaskMission(cid)], daily_task[getDailyTaskMission(cid)]
		if t and getPlayerStorageValue(cid, t.start) > 0 and isInArray(t.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
			setPlayerStorageValue(cid, task_sys_storages[3], getPlayerStorageValue(cid, task_sys_storages[3]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[3])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[3]) < t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[3]) .. "/" .. t.count .. "] da Task do " .. t.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[3]) >= t.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Task System] Parabéns! Você terminou a Task do "..t.name..", volte ao npc para receber sua recompensa.")
			end
		end
		if daily and getPlayerStorageValue(cid, task_sys_storages[7]) > 0 and getPlayerStorageValue(cid, task_sys_storages[6]) - os.time() >= 0 and isInArray(daily.monsters_list, getCreatureName(target):lower()) and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
			setPlayerStorageValue(cid, task_sys_storages[5], getPlayerStorageValue(cid, task_sys_storages[5]) < 0 and 1 or (getPlayerStorageValue(cid, task_sys_storages[5])+1))
			if getPlayerStorageValue(cid, task_sys_storages[8]) <= 0 and getPlayerStorageValue(cid, task_sys_storages[5]) < daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Daily Task System] defeated Total [" .. getPlayerStorageValue(cid, task_sys_storages[5]) .. "/" .. daily.count .. "] da Task do " .. daily.name .. ".")
			end
			if getPlayerStorageValue(cid, task_sys_storages[5]) >= daily.count then
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Daily Task System] Parabéns! Você terminou a Task do "..daily.name..", volte ao npc parece receber sua recompensa.")
			end
		end 
	end
	return true
end]]></event>
</mod>

 

só usar !task points ou !task point/points/ponto/pontos

 

 

17:03 [Task System] O seu Total de Task points é de: 0 points!

 

Obrigado cara, eficaz demais <3

 

 

Link para o post
Compartilhar em outros sites
9 minutos atrás, JcA disse:

 

17:03 [Task System] O seu Total de Task points é de: 0 points!

 

Obrigado cara, eficaz demais <3

 

 

Aqui tambem funcionou, obrigado @Vodkart

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo