Reintroduced PvP to level 49 deep wilderness and above (beyond the gate)
Traveling into the PvP area will auto-skull the player, but only whilst they remain in the area PvP in the deep wilderness does not apply a hard skull Deep wilderness soft skull is removed immediately upon leaving the deep wilderness Gates into the deep wilderness now give a warning about the danger of entering Gates allowing exit from the deep wilderness will not allow a player to leave if they are in combat The obelisk teleporter in the deep wilderness will not allow a player to use it if they are in combat All NPCs in the deep wilderness now drop PvP gear and brawlers The drop rate of PvP gear and brawlers in the deep wilderness has been boosted Fixed an issue that allowed PvP outside of explicit PvP scenarios
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package content.minigame.allfiredup
|
||||
|
||||
import core.game.dialogue.DialoguePlugin
|
||||
import core.ServerConstants
|
||||
import core.game.dialogue.*
|
||||
import core.game.node.entity.npc.NPC
|
||||
import core.game.node.entity.player.Player
|
||||
import core.game.node.entity.skill.Skills
|
||||
import core.game.node.item.Item
|
||||
import core.plugin.Initializable
|
||||
import content.region.wilderness.dialogue.*
|
||||
import org.rs09.consts.Items
|
||||
|
||||
private val VALID_LOGS = arrayOf(Items.LOGS_1511, Items.OAK_LOGS_1521, Items.WILLOW_LOGS_1519, Items.MAPLE_LOGS_1517, Items.YEW_LOGS_1515, Items.MAGIC_LOGS_1513)
|
||||
@@ -20,6 +22,7 @@ class BeaconTenderDialogue(player: Player? = null) : core.game.dialogue.Dialogue
|
||||
}
|
||||
|
||||
override fun open(vararg args: Any?): Boolean {
|
||||
npc = (args[0] as NPC).getShownNPC(player)
|
||||
index = getIndexOf((args[0] as NPC).originalId)
|
||||
if(index == content.minigame.allfiredup.AFUBeacon.GWD.ordinal && player.skills.getLevel(Skills.SUMMONING) < 81){
|
||||
npc("Awwf uurrrhur","(You need 81 Summoning to communicate with Nanuq.)")
|
||||
@@ -27,11 +30,10 @@ class BeaconTenderDialogue(player: Player? = null) : core.game.dialogue.Dialogue
|
||||
return true
|
||||
}
|
||||
if(index == content.minigame.allfiredup.AFUBeacon.MONASTERY.ordinal && player.skills.getLevel(Skills.PRAYER) < 53){
|
||||
npc("I will aid you when your devotion is","strong enough.","(You need 53 Prayer for him to watch the beacon.)")
|
||||
npc("I will aid you when your devotion is","strong enough.","(You need 53 Prayer for him to assist you.)")
|
||||
stage = 1000
|
||||
return true
|
||||
}
|
||||
npc = (args[0] as NPC).getShownNPC(player)
|
||||
npc("Hello, adventurer.")
|
||||
return true
|
||||
}
|
||||
@@ -88,4 +90,4 @@ class BeaconTenderDialogue(player: Player? = null) : core.game.dialogue.Dialogue
|
||||
return intArrayOf(8067,8068,8069,8070,8071,8072,8073,8074,8075,8076)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user