Problema quest drop

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
w00dy
Nivel 2

Nivel 2
Mesaje: 195
Membru din: 14 Aug 2016, 00:15
Server: n-am
Regat: Chunjo
Aprecieri: 150  
Mulţumiri: 3  
  Rezolvări prob.: 3
Medalii

*Problemă: Salut, folosesc acest quest, iar cand bat bossi respectivi, adica Regina de Gheata si Generalul, dispare petu, mountul, sau medalia cu care chem calul, pur s simplu cand ii omor dispar din inventar
Tipologie server(PvM / PvP): Clean
*Resursă folosită: *Link exclusiv J4M*
*ServerFiles utilizat: Clean
*Syserr:
Poză:
*Detalii suplimentare:
Quest:
quest drop begin
state start begin
when 1192.kill or 2492.kill begin
local box = {
-- Pietre+5 --
28533, 28534, 28535, 28536, 28537
}
local give,a = number(2, 2),{}
local items
for i = 1, give do
items = number(1, table.getn(box))
table.insert(a,i,box[items])
end
table.foreach(a,
function(i,l)
game.drop_item_with_ownership(l)
end
)
item.remove()
end
end
end
Avatar utilizator
coadapute123
Utilizator interzis !

Utilizator interzis !
Mesaje: 536
Membru din: 05 Ian 2019, 14:04
Server: Heroes2
Regat: Jinno
Aprecieri: 103  
Mulţumiri: 362  
Discord: Copiază ID
Medalii

quest drop begin
state start begin
when 1192.kill or 2492.kill begin
local box = {
-- Pietre+5 --
28533, 28534, 28535, 28536, 28537
}
local give,a = number(2, 2),{}
local items
for i = 1, give do
items = number(1, table.getn(box))
table.insert(a,i,box[items])
end
table.foreach(a,
function(i,l)
game.drop_item_with_ownership(l)
end
)
end
end
end
incerca asa
Imagine
Afișează semnătura
Avatar utilizator
w00dy
Nivel 2

Nivel 2
Mesaje: 195
Membru din: 14 Aug 2016, 00:15
Server: n-am
Regat: Chunjo
Aprecieri: 150  
Mulţumiri: 3  
  Rezolvări prob.: 3
Medalii

coadapute123 scrie: ↑14 Ian 2020, 19:37
quest drop begin
state start begin
when 1192.kill or 2492.kill begin
local box = {
-- Pietre+5 --
28533, 28534, 28535, 28536, 28537
}
local give,a = number(2, 2),{}
local items
for i = 1, give do
items = number(1, table.getn(box))
table.insert(a,i,box[items])
end
table.foreach(a,
function(i,l)
game.drop_item_with_ownership(l)
end
)
end
end
end
incerca asa
La fel face..alta solutie, mersi :D
EDIT: Tin sa precisez ca sigilile cu care chemi petul, mountul, calul dispar doar cand sunt chemati
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 107 vizitatori