mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
2006rebotted rename + latest compile
This commit is contained in:
@@ -10,11 +10,11 @@ public class ClientSettings {
|
||||
/**
|
||||
* The Servers Name
|
||||
*/
|
||||
public final static String SERVER_NAME = "2006Redone";
|
||||
public final static String SERVER_NAME = "2006rebotted";
|
||||
/**
|
||||
* The Servers Website
|
||||
*/
|
||||
public final static String SERVER_WEBSITE = "www.2006redone.org";
|
||||
public final static String SERVER_WEBSITE = "www.2006rebotted.tk";
|
||||
/**
|
||||
* The Servers Ip
|
||||
*
|
||||
|
||||
@@ -930,9 +930,6 @@ public class CombatAssistant {
|
||||
resetPlayerAttack();
|
||||
return;
|
||||
}
|
||||
// c.getPacketDispatcher().sendMessage("Made it here0.");
|
||||
c.followId = i;
|
||||
c.followId2 = 0;
|
||||
if (c.attackTimer <= 0) {
|
||||
c.usingBow = false;
|
||||
c.specEffect = 0;
|
||||
@@ -953,8 +950,6 @@ public class CombatAssistant {
|
||||
c.attackTimer = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
// c.getPacketDispatcher().sendMessage("Made it here1.");
|
||||
if (!c.usingMagic) {
|
||||
for (int bowId : RangeData.BOWS) {
|
||||
if (c.playerEquipment[c.playerWeapon] == bowId) {
|
||||
@@ -977,7 +972,6 @@ public class CombatAssistant {
|
||||
c.spellId = c.autocastId;
|
||||
c.usingMagic = true;
|
||||
}
|
||||
// c.getPacketDispatcher().sendMessage("Made it here2.");
|
||||
if (c.spellId > 0) {
|
||||
c.usingMagic = true;
|
||||
}
|
||||
@@ -997,7 +991,6 @@ public class CombatAssistant {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// c.getPacketDispatcher().sendMessage("Made it here3.");
|
||||
if (c.duelRule[2] && (usingBow || usingOtherRangeWeapons)) {
|
||||
c.getActionSender().sendMessage(
|
||||
"Range has been disabled in this duel!");
|
||||
@@ -1189,8 +1182,6 @@ public class CombatAssistant {
|
||||
CombatSounds.getMagicSound(c, c.spellId), 100,
|
||||
0);
|
||||
}
|
||||
c.mageFollow = true;
|
||||
c.followId = c.playerIndex;
|
||||
}
|
||||
PlayerHandler.players[i].underAttackBy = c.playerId;
|
||||
PlayerHandler.players[i].logoutDelay = System.currentTimeMillis();
|
||||
|
||||
@@ -181,7 +181,6 @@ public class AttackPlayer implements PacketType {
|
||||
* Attack player with magic
|
||||
**/
|
||||
case MAGE_PLAYER:
|
||||
c.getActionSender().sendMessage("maging");
|
||||
if (!c.mageAllowed) {
|
||||
c.mageAllowed = true;
|
||||
break;
|
||||
@@ -305,17 +304,6 @@ public class AttackPlayer implements PacketType {
|
||||
c.stopMovement();
|
||||
c.getCombatAssistant().resetPlayerAttack();
|
||||
}
|
||||
|
||||
if (c.usingMagic) {
|
||||
if (c.goodDistance(c.getX(), c.getY(), PlayerHandler.players[c.playerIndex].getX(), PlayerHandler.players[c.playerIndex].getY(), 7))
|
||||
{
|
||||
c.stopMovement();
|
||||
}
|
||||
if (c.getCombatAssistant().checkReqs()) {
|
||||
c.followId = c.playerIndex;
|
||||
c.mageFollow = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user