Jump to content

Ayuda con Quest


KillerSYM

Recommended Posts

Hola Gente. 

 

Estoy haciendo una quest que involucra matar jefes; queria saber cual es el comando para identificar si el mob al que mataste es de grado Jefe.

 

quest drop_general begin
       state start begin
            when kill with npc.get_rank () == 5 begin
               game.drop_item_with_ownership(0000, 0)
            end
       end
end
 
seria un comando similar a este-   npc.get_rank () == 5   
si alguien sabe, se agradece la ayuda. 
Link to comment
Share on other sites

Tenta se basear nessa:

 

quest killmob begin

state start begin

when kill with not npc.is_pc() begin local mobs = {

[2493] = "o Beran-Setaou",

[2598] = "o Azrael",

[1095] = "o Fantasma da Morte",

[1191] = "a Bruxa do Gelo"

}

notice_all(pc.get_name().." matou "..mobs[npc.get_race()][1].."")

end

end

end

 

 

Créditos: Pacificador.

Link to comment
Share on other sites

  • 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...