mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Disable random event spawning in the wilderness
This commit is contained in:
parent
a1009836d8
commit
96050c1961
2 changed files with 4 additions and 2 deletions
|
|
@ -49,3 +49,4 @@
|
||||||
- Fix Yak Hide Armor crafting level requirements
|
- Fix Yak Hide Armor crafting level requirements
|
||||||
- Spiky Vambraces crafing added
|
- Spiky Vambraces crafing added
|
||||||
- Fixed Typo in Professor Oddenstein's dialogue
|
- Fixed Typo in Professor Oddenstein's dialogue
|
||||||
|
- Random Events can no longer spawn in the wilderness.
|
||||||
|
|
@ -23,6 +23,7 @@ import core.game.world.map.Location;
|
||||||
import core.game.world.map.zone.MapZone;
|
import core.game.world.map.zone.MapZone;
|
||||||
import core.game.world.map.zone.RegionZone;
|
import core.game.world.map.zone.RegionZone;
|
||||||
import core.game.world.map.zone.ZoneBorders;
|
import core.game.world.map.zone.ZoneBorders;
|
||||||
|
import core.game.world.map.zone.ZoneRestriction;
|
||||||
import core.tools.RandomFunction;
|
import core.tools.RandomFunction;
|
||||||
import org.rs09.consts.NPCs;
|
import org.rs09.consts.NPCs;
|
||||||
import rs09.game.system.config.NPCConfigParser;
|
import rs09.game.system.config.NPCConfigParser;
|
||||||
|
|
@ -60,7 +61,7 @@ public final class WildernessZone extends MapZone {
|
||||||
* Constructs a new {@code WildernessZone} {@code Object}.
|
* Constructs a new {@code WildernessZone} {@code Object}.
|
||||||
*/
|
*/
|
||||||
public WildernessZone(ZoneBorders... borders) {
|
public WildernessZone(ZoneBorders... borders) {
|
||||||
super("Wilderness", true);
|
super("Wilderness", true, ZoneRestriction.RANDOM_EVENTS);
|
||||||
this.borders = borders;
|
this.borders = borders;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue