mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
parent
fe9df60c73
commit
f10023f2c4
@ -587,6 +587,7 @@ function actor_init(actor, alignment)
|
||||
--actor weapon
|
||||
chance = 2
|
||||
for i,v in ipairs(actor_base[23]) do
|
||||
if math.random(1,chance) == 1 then
|
||||
if v >= 36 and v <= 38 then --spear, throwing axe, dagger
|
||||
qty = math.random(6, 12)
|
||||
else
|
||||
@ -615,6 +616,7 @@ function actor_init(actor, alignment)
|
||||
Actor.inv_add_obj(actor, obj)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
chance = chance * 2
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user