Jump to content
La fin ?! Elle est là ! ×
×
×
  • Create New...
  • 0

Quete drop


hassane500
 Share

Question

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
quest drop begin
state start begin
	when ID_MOB.kill begin
		local pct = 50 -- remplacer 50 par le % de chance de drop
		if (math.random(100) <= pct) then
			game.drop_item_with_ownership(ID_ITEM, COUNT_ITEM)
		end
	end
end
end

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.