Removed unnecessary server console debug prints
This commit is contained in:
@@ -116,25 +116,19 @@ class WildernessCourse
|
|||||||
when (counter++) {
|
when (counter++) {
|
||||||
0 -> {
|
0 -> {
|
||||||
AgilityHandler.forceWalk(player, -1, Location.create(x, 3937, 0), Location.create(x, 3940, 0), Animation.create(10580), 15, 0.0, null, 1) //10
|
AgilityHandler.forceWalk(player, -1, Location.create(x, 3937, 0), Location.create(x, 3940, 0), Animation.create(10580), 15, 0.0, null, 1) //10
|
||||||
println("1")
|
|
||||||
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
|
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
|
||||||
println("tele")
|
|
||||||
counter++
|
counter++
|
||||||
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5) //20
|
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5) //20
|
||||||
println("3")
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
2 -> {
|
2 -> {
|
||||||
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
|
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
|
||||||
println("tele")
|
|
||||||
counter++
|
counter++
|
||||||
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
|
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
|
||||||
println("3")
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
3 -> {
|
3 -> {
|
||||||
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
|
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
|
||||||
println("3")
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import core.game.node.entity.player.Player
|
|||||||
import core.tools.END_DIALOGUE
|
import core.tools.END_DIALOGUE
|
||||||
import java.util.regex.Pattern
|
import java.util.regex.Pattern
|
||||||
|
|
||||||
val DEBUG_DIALOGUE = true
|
val DEBUG_DIALOGUE = false
|
||||||
val NUMBER_PATTERN1 = Pattern.compile("^(\\d+) \\[label", Pattern.MULTILINE)
|
val NUMBER_PATTERN1 = Pattern.compile("^(\\d+) \\[label", Pattern.MULTILINE)
|
||||||
val NUMBER_PATTERN2 = Pattern.compile("(\\d+) -> (\\d+)")
|
val NUMBER_PATTERN2 = Pattern.compile("(\\d+) -> (\\d+)")
|
||||||
|
|
||||||
|
|||||||
@@ -62,8 +62,6 @@ class Poison : PersistTimer (30, "poison", flags = arrayOf(TimerFlag.ClearOnDeat
|
|||||||
|
|
||||||
override fun getTimer (vararg args: Any) : RSTimer {
|
override fun getTimer (vararg args: Any) : RSTimer {
|
||||||
val timer = Poison()
|
val timer = Poison()
|
||||||
for (arg in args)
|
|
||||||
println(arg)
|
|
||||||
timer.damageSource = args[0] as? Entity ?: return timer
|
timer.damageSource = args[0] as? Entity ?: return timer
|
||||||
timer.severity = args[1] as? Int ?: return timer
|
timer.severity = args[1] as? Int ?: return timer
|
||||||
return timer
|
return timer
|
||||||
|
|||||||
Reference in New Issue
Block a user