diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-04 23:55:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-04 23:55:36 -0300 |
commit | 34cf9b85cc0cc222e6bece83b6cde03163faf3d3 (patch) | |
tree | 12e7b691f4b118e5829e0bd45e192afdb8f9b99c | |
parent | afadf22143124bf63967c2c282222dadc2d5fdee (diff) | |
download | serverdata-34cf9b85cc0cc222e6bece83b6cde03163faf3d3.tar.gz serverdata-34cf9b85cc0cc222e6bece83b6cde03163faf3d3.tar.bz2 serverdata-34cf9b85cc0cc222e6bece83b6cde03163faf3d3.tar.xz serverdata-34cf9b85cc0cc222e6bece83b6cde03163faf3d3.zip |
More randomness
-rw-r--r-- | npc/functions/event.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt index abb5a2774..3a8525672 100644 --- a/npc/functions/event.txt +++ b/npc/functions/event.txt @@ -282,7 +282,12 @@ function script FSFDay { getmapxy(.@m$, .@x, .@y, 0); .@x+=rand2(-1,1); .@y+=rand2(-1,1); - makeitem(AncientBlueprint, 1, .@m$, .@x, .@y); + // Ancient 50%, Equipment 25%, Alchemy 25% + .@bp = any(AncientBlueprint, AncientBlueprint, AncientBlueprint, AncientBlueprint, AncientBlueprint, + AncientBlueprint, AncientBlueprint, AncientBlueprint, AncientBlueprint, AncientBlueprint, + EquipmentBlueprintA, EquipmentBlueprintB, EquipmentBlueprintC, EquipmentBlueprintD, EquipmentBlueprintE, + AlchemyBlueprintA, AlchemyBlueprintB, AlchemyBlueprintC, AlchemyBlueprintD, AlchemyBlueprintE) + makeitem(.@bp, 1, .@m$, .@x, .@y); } return; } |