Update new_quest_lv7.quest

Use core RNG replacing math.random with number.
This commit is contained in:
ErLullo
2026-01-13 15:44:29 +01:00
committed by GitHub
parent 06a460a887
commit 23d1612ce9

View File

@@ -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