From 23d1612ce9f91d9a7154bf22e690d1627c8d8d57 Mon Sep 17 00:00:00 2001 From: ErLullo Date: Tue, 13 Jan 2026 15:44:29 +0100 Subject: [PATCH] Update new_quest_lv7.quest Use core RNG replacing math.random with number. --- share/locale/english/quest/new_quest_lv7.quest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/locale/english/quest/new_quest_lv7.quest b/share/locale/english/quest/new_quest_lv7.quest index 8a1c303..6687190 100644 --- a/share/locale/english/quest/new_quest_lv7.quest +++ b/share/locale/english/quest/new_quest_lv7.quest @@ -188,7 +188,7 @@ quest new_quest_lv7 begin -- itemicon vnum of flower used for icon function when_one_killed(neededAmount, dropProb, itemIcon) if pc.count_item(itemIcon) < neededAmount then - local drop=math.random(1,100) + local drop=number(1,100) if drop <= dropProb then -- probability if s.th. drops pc.give_item2(itemIcon) -- icon of item by vnum - Blutrote Blume -- EDIT Arne 18Sept09 moved q.done Reason: removed quest from book