Jump to content

Recommended Posts

Posted

Tengo está quest.

 

quest map_boss begin
    state start begin
        when login with pc.get_map_index() == 64 begin
        setbgimage("mob.tga")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        say("")
        end
        when 691.npc.get_race with pc.get_map_index() == 64 begin
        syschat("Has matado el Jefe")
        syschat("Tu obtienes 300k de yang")
        pc.change_money(300000)
        end
    end
end

Donde está el npc.get_race había 1 kill , pero yo no quiero ponerle 1 kill porque ya en otra quest le afecta el kill , y quiero ponerle el npc.get_race pero no se como seria.

 

Agradeciera que alguien me corrigiera la quest :)

Posted

Supongo que no será necesario un array pero bueno, aquí tienes:

quest map_boss begin
state start begin
	when login with pc.get_map_index() == 64 begin
		setbgimage("mob.tga")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
		say("")
	end
	when kill with not npc.is_pc() and pc.get_map_index() == 64 begin
		local monstruo = {
			[691] = {"Jefe"}
		}
		syschat("Has matado al "..monstruo[npc.get_race()][1].."")
		syschat("Tu obtienes 300k de Yang")
		pc.change_money(300000)
	end
end
end

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our 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. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.