Jump to content

Who can write a piece of code to loot the additional 1-5 bonus


Recommended Posts

Here's a little quest:

quest drop_bonusuri begin
    state start begin	
        when kill with not npc.is_pc() and pc.get_level() <= npc.get_level() begin
			local numar = number(1,3)
			local sansa = number(3,21)
			if sansa == 11 then
			game.drop_item_with_ownership(71084,numar)
				if numar == 1 then
					syschat("Ai primit "..numar.." Schimbator de Bonusuri!")
				else
					syschat("Ai primit "..numar.." Schimbatoare de Bonusuri!")
				end
			else
			end
		end
	end
end
			
  • Love 1
Link to comment
Share on other sites

  • 2 weeks later...

 

这里有一个小任务:

追求drop_bonusuri开始
    国家开始启动	
        当杀死不npc.is_pc()和pc.get_level()<= npc.get_level()开始
			当地NUMAR =号(1,3)
			当地的Sansa =号(3.21)
			如果的Sansa == 11则
			game.drop_item_with_ownership(71084,NUMAR)
				如果NUMAR == 1,则
					syschat(“艾primit”..numar ..“Schimbator德Bonusuri!”)
				其他
					syschat(“艾primit”..numar ..“Schimbatoare德Bonusuri!”)
				结束
			其他
			结束
		结束
	结束
结束
			

thank you

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.