mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Added in randomToggle check to burying bones (#35)
* bandaid fix fletching * local * Removed prayer random if user has randoms toggled off.
This commit is contained in:
committed by
Daniel Ginovker
parent
4c90e2c6a5
commit
d9e3d08ff8
Generated
+72
@@ -99,5 +99,77 @@
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/commons-lang3-3.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/javac++.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/mina.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/mysql-connector-java-5.1.23-bin.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/slf4j-nop.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/slf4j.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/xpp3-1.1.4c.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/2006Redone file_server/libs/xstream-1.4.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8.0_222 (2)" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/CompiledServer" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -0,0 +1 @@
|
||||
[2019/10/04] 22:10 test dropped 3 coins absX: 3224 absY: 3202
|
||||
@@ -0,0 +1,9 @@
|
||||
[2019/10/04] 22:06 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:10 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:10 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:11 test picked up coins itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:16 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:16 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:16 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:23 test picked up knife itemX: 3224, itemY: 3202
|
||||
[2019/10/04] 22:24 test picked up knife itemX: 3224, itemY: 3202
|
||||
@@ -55,10 +55,12 @@ public class Prayer {
|
||||
}
|
||||
|
||||
private static void handleBones(final Client c, int i, int slot) {
|
||||
if (Misc.random(300) == 4 && c.shadeSpawned == false) {
|
||||
Zombie.spawnZombie(c);
|
||||
} else if (Misc.random(300) == 2 && c.zombieSpawned == false) {
|
||||
Shade.spawnShade(c);
|
||||
if(!c.randomToggle) {
|
||||
if (Misc.random(300) == 4 && c.shadeSpawned == false) {
|
||||
Zombie.spawnZombie(c);
|
||||
} else if (Misc.random(300) == 2 && c.zombieSpawned == false) {
|
||||
Shade.spawnShade(c);
|
||||
}
|
||||
}
|
||||
for (final int[] element : data) {
|
||||
if (i == element[0]) {
|
||||
|
||||
Reference in New Issue
Block a user