Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest attr6th7th_npc begin
- state start begin
- when 20095.chat.locale_quest(1526) begin --Wie l�se ich B�cher ein?
- say_title(locale_quest(11382)) --Fertigkeitsb�cher kombinieren
- say(locale_quest(11383)) --Sie k�nnen eine Fragmentkiste gegen [ENTER] 10 Fertigkeitsb�cher und 100.000 Yang erhalten.
- return
- end
- when 20095.chat.locale_quest(10847) begin --Fertigkeitsb�cher kombinieren (Fragment)
- setskin(NOWINDOW)
- game.open_comb_skil_book()
- return
- end
- when 20095.chat.locale_quest(10848) begin --Fertigkeitsb�cher kombinieren (Fertigkeitsb�cher)
- setskin(NOWINDOW)
- game.open_attr67add()
- return
- end
- end
- end
- -- game.open_comb_skil_book
- -- game.open_attr67add
- -- bonus67.get_bonus67
- -- bonus67.get_vnum_bonus67
- -- bonus67.get_time_bonus67
- -- bonus67.get_item_bonus67
- -- bonus67.get_pos_bonus67
- -- duration_bonus67
- -- quest attr6th7th_npc begin
- -- state start begin
- -- when 20095.chat.locale_say_title(1526) begin --Wie l�se ich B�cher ein?
- -- locale_say_title(11382) --Fertigkeitsb�cher kombinieren
- -- locale_say(11383) --Sie k�nnen eine Fragmentkiste gegen [ENTER] 10 Fertigkeitsb�cher und 100.000 Yang erhalten.
- -- return
- -- end
- -- when 20095.chat.locale_say_title(10847) begin --Fertigkeitsb�cher kombinieren (Fragment)
- -- setskin(NOWINDOW)
- -- game.open_skillbook_comb()
- -- return
- -- end
- -- when 20095.chat.locale_say_title(10847) begin --Fertigkeitsb�cher kombinieren (Fertigkeitsb�cher)
- -- setskin(NOWINDOW)
- -- game.open_skillbook_comb_books()
- -- return
- -- end
- -- when 20095.chat.locale_say_title(10848) begin --F�ge den 6. und 7. Bonus hinzu
- -- if not attr6th7th.npcstorage_have_item() then
- -- setskin(NOWINDOW)
- -- game.open_attr67_add()
- -- return
- -- end
- -- local vnum = attr6th7th.get_vnum()
- -- local iTime = attr6th7th.get_time()
- -- say_npc()
- -- if iTime > 0 then
- -- locale_say(10850) --Bis der Bonus hinzugef�gt wird, kann etwas Zeit[ENTER]vergehen. Bitte hab ein wenig Geduld.
- -- say_item_vnum_inline_showtooltip_by_cell(9, 0) -- 9 = window_type (NPC_STORAGE), 0 = slot
- -- locale_say(10851, LIB_duration(iTime)) --Verbleibende Zeit: %s
- -- locale_say_red(10852) --Der Akzelerator kann den Prozess beschleunigen.
- -- return
- -- else
- -- locale_say(10853)
- -- if not attr6th7th.enough_inventory() then
- -- locale_say(776) --Du hast nicht gen�gend Platz im Inventar.
- -- return
- -- end
- -- local result, pos = attr6th7th.get_item_attr()
- -- if result <= 0 or result >= 3 then
- -- return
- -- end
- -- if result == 1 then
- -- locale_say(10854) --Der Bonus wurde erfolgreich hinzugef�gt!
- -- say_item_vnum_inline_showtooltip_by_cell(1, pos) -- 1 = INVENTORY_WINDOW
- -- return
- -- end
- -- if result == 2 then
- -- locale_say(10855) --Der Bonus konnte nicht hinzugef�gt werden.
- -- say_item_vnum_inline_showtooltip_by_cell(1, pos) -- 1 = INVENTORY_WINDOW
- -- return
- -- end
- -- end
- -- end
- -- end
- -- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement