Combat fixes, radial bug fix, tatooine shuttleport travel terminal is no longer stuck in wall

This commit is contained in:
Light2
2013-11-22 00:02:46 +01:00
parent f3db0818a8
commit a6ecdcd225
7 changed files with 79 additions and 80 deletions
+4 -3
View File
@@ -155,9 +155,10 @@ public class CommandService implements INetworkDispatch {
// Check if the person has access to this ability.
// Abilities (inc expertise ones) are added automatically as they level
// by reading the datatables.
if (!attacker.hasAbility(command.getCommandName())) {
return;
}
// disabled for now (breaks all combat)
//if (!attacker.hasAbility(command.getCommandName())) {
// return;
//}
if(FileUtilities.doesFileExist("scripts/commands/combat/" + command.getCommandName() + ".py"))
core.scriptService.callScript("scripts/commands/combat/", command.getCommandName(), "setup", core, attacker, target, command);