1. Как сделать награду например +20% к скорости персонажа p.s. такая награда есть у биолога 2.Как сделать цепочку квестов например чтобы у одного нпс начал-у другова закончил квест С меня + за адекватный ответ
affect.add_collect(apply.ATT_SPEED,5,60*60*24*365*60) --60ів ATT_SPEED - это чего прибавить 60 помойму сколько прибавить к скорости
Ну а переход к другому НПС, в конце квеста пишеш
set_state(__reward)
Начала другого квеста
state __reward begin when letter begin // это маленькое окошко с боку send_letter("The reward of Chaegirap") //20018 какому нпс local v = find_npc_by_vnum(20018) if v != 0 then target.vid("__TARGET__", v, "Baek-Go") end end when button or info begin say_title("The reward of Chaegirap") --- l say("As reward for collecting the 15 Curse Book") say("and the Esoteric Soul Stone from the Temple, Biologist") say("") say("Chaegirap gave you a recipe for a secret potion.") say("Please give this to Baek-Go, he will create the") say("potion.") say("") end // сам квест у НПС when __TARGET__.target.click or 20018.chat."The Secret Recipe" begin target.delete("__TARGET__") say_title("Baek-Go:") say("") say("Let me have a look..") say("Is that the recipe, Chaegirap gave you?") say("Hmm, Defense strength +10%, Speed strength+10%") say("Oh! Here, an Orange Ebony box!!") say("You are really a good guy.") say("Here you are.") say("") ----------- l say_reward("As reward for ChaegirapЎЇs pleasure, you received +5%") say_reward("on your attack speed. These strengths are not") say_reward("temporary, but eternally.") affect.add_collect(apply.ATT_SPEED,5,60*60*24*365*60) --60ів pc.give_item2(50110) clear_letter() set_quest_state("collect_quest_lv50", "run") set_state(__complete) end end state __complete begin end end