Range/Specials/Clean up
- Added correct range distance for all range weapons - Fixed whip special attack when using on npcs - Removed some warnings - Refactored combat some - Fixed a few typos - Deleted some dead code - Fixed bug where you could kill players with auto retaliate outside of the wilderness if you were already fighting them when they ran out Closes #146 Closes #352 Also from a previous patch Closes #329
This commit is contained in:
1 parent
2bef5158c4
commit
5ab79b1128
21 files changed
+1413
-1943
No files matched your search
@@ -2319,19 +2319,6 @@ public class PlayerAssistant {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void useOperate(int itemId) {
|
||||
switch (itemId) {
|
||||
case 11283:
|
||||
case 11284:
|
||||
if (player.playerIndex > 0) {
|
||||
player.getCombatAssistant().handleDfs();
|
||||
} else if (player.npcIndex > 0) {
|
||||
player.getCombatAssistant().handleDfsNPC();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void getSpeared(int otherX, int otherY) {
|
||||
int x = player.absX - otherX;
|
||||
int y = player.absY - otherY;
|
||||
|
||||
Reference in new issue
Block a user