Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest bossy begin
- state start begin
- when kill begin
- ---------------- CONFIG ----------------
- WYMAGANY_ITEM = 69010
- SZANSA = 10
- TABLICA = {
- {8009, 591},
- {8010, 591},
- {8011, 591} -- ostatni bez przecinka
- }
- ----------------------------------------
- if pc.countitem(WYMAGANY_ITEM) > 0 then
- for i=0, table.getn(TABLICA) do
- if npc.get_race() == TABLICA[i][1] and SZANSA >= number(1,100) then
- mob.spawn(TABLICA[i][2], pc.get_local_x(), pc.get_local_y(), 1, 1, 1)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment