Hello All.
Hello, I have a problem with the npc task script, I note that I have a problem with only one line because the rest works
the point is that when he performs the task to kill 1 Demon Lord (when he kills him) I come back and receive the message that I did not kill the Demon Lord
(Creaturescript)
NPC
Does not work only for me Demon Lord can someone help maybe something I'm doing wrong?
Hello, I have a problem with the npc task script, I note that I have a problem with only one line because the rest works
the point is that when he performs the task to kill 1 Demon Lord (when he kills him) I come back and receive the message that I did not kill the Demon Lord
(Creaturescript)
Code:
local storage_string = {[80000] = "The Snapper",
[80001] = "Demodras",
[80002] = "The Hide",
[80003] = "The Bloodtusk",
[80004] = "The Shardhead",
[80005] = "Thul",
[80006] = "Esmeralda",
[80007] = "The Old Widow",
[80008] = "The Many",
[80009] = "The Leviathan",
[80010] = "The Stonecracker",
[80011] = "The Noxious Spawn",
[80012] = "Merikh The Slaughterer",
[80013] = "Fahim The Wise",
[80014] = "pirate leader",
[80015] = "The Horned Fox",
[80016] = "Necropharus",
[80017] = "Demon Lord",
NPC
Code:
local storage = 62003
local monsters = {
["Dragon"] = {storage = 5010, mstorage = 19000, amount = 600, exp = 5000, items = {{id = 2157, count = 1}, {id = 2160, count = 3}}},
["Dragon Lord"] = {storage = 5011, mstorage = 19001, amount = 600, exp = 1000, items = {{id = 2492, count = 1}, {id = 2160, count = 5}}},
["Hydra"] = {storage = 5012, mstorage = 19002, amount = 600, exp = 18000, items = {{id = 2195, count = 1}, {id = 2157, count = 8}}},
["Demon"] = {storage = 5013, mstorage = 19003, amount = 600, exp = 20000, items = {{id = 2520, count = 1}, {id = 2160, count = 10}}},
["Demon Lord"] = {storage = 5014, mstorage = 19004, amount = 1, exp = 25000, items = {{id = 2520, count = 1}, {id = 2160, count = 50}}},
}
Does not work only for me Demon Lord can someone help maybe something I'm doing wrong?