diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-17 13:30:32 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-17 13:30:32 -0300 |
commit | b16fd9592bcf6f364027fc95d411b65850e759ac (patch) | |
tree | 0b4ee188363fee76d145d389be6bb4bccf05c80c | |
parent | 2afda8e0b8db2873f3411542a39843d555c8e95f (diff) | |
download | serverdata-b16fd9592bcf6f364027fc95d411b65850e759ac.tar.gz serverdata-b16fd9592bcf6f364027fc95d411b65850e759ac.tar.bz2 serverdata-b16fd9592bcf6f364027fc95d411b65850e759ac.tar.xz serverdata-b16fd9592bcf6f364027fc95d411b65850e759ac.zip |
Modify spawn rules, making spawns in player visible range less likely (https://forums.themanaworld.org/viewtopic.php?t=21654)
When running with HARDCORE mode set to ON, spawns in visible range will never happen.
Otherwise, up to 5 attempts to place the monster outside of visible range will be made.
-rw-r--r-- | conf/map/battle/monster.conf | 2 | ||||
-rw-r--r-- | npc/commands/super-menu.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/map/battle/monster.conf b/conf/map/battle/monster.conf index f67a9514c..b8f7305d1 100644 --- a/conf/map/battle/monster.conf +++ b/conf/map/battle/monster.conf @@ -151,7 +151,7 @@ boss_spawn_delay: 100 // 5 seconds. // NOTE: This has no effect on mobs that always spawn on the very same cell // (like ant eggs) except if you set it to the max. -no_spawn_on_player: 0 +no_spawn_on_player: 5 // Should spawn coordinates in the mob-spawn files be ignored? (Note 1) // If set to true, all monsters will have a random respawn spot across the whole diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index cf9b49c51..dff46e4eb 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -148,7 +148,7 @@ OnInit: setbattleflag("item_rate_card_boss", .@new_rate); // Other settings setbattleflag("mob_count_rate", 150); - setbattleflag("no_spawn_on_player", 3); + setbattleflag("no_spawn_on_player", 100); setbattleflag("zeny_from_mobs", true); setbattleflag("item_auto_get", true); setbattleflag("enable_perfect_flee", 3); // Mobs can now perfect-flee |