Added datatables for CombatCommands

This commit is contained in:
Treeku
2014-08-25 19:46:56 +01:00
parent 2596cdc122
commit cf65cc7901
7 changed files with 226 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class AttackType {
public static final byte CONE = 0;
public static final byte SINGLE_TARGET = 1;
public static final byte AREA = 2;
public static final byte TARGET_AREA = 3;
public static final byte DUAL_WIELD = 4;
public static final byte RAMPAGE = 5;
public static final byte RANDOM_HATE_TARGET = 6;
public static final byte RANDOM_HATE_TARGET_CONE = 7;
public static final byte RANDOM_HATE_TARGET_CONE_TERMINUS = 8;
public static final byte HATE_LIST = 9;
public static final byte RANDOM_HATE_MULTI = 10;
public static final byte AREA_PROGRESSIVE = 11;
public static final byte SPLIT_DAMAGE_TARGET_AREA = 12;
public static final byte DISTANCE_FARTHEST = 13;
}
@@ -0,0 +1,30 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class DelayAttackEggPosition {
public static final byte SELF = 1;
public static final byte TARGETED_OBJECT = 2;
public static final byte LOCATION = 3;
}
@@ -0,0 +1,46 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class InvalidWeapon {
public static final byte NONE = 0;
public static final byte RIFLE = 1;
public static final byte CARBINE = 2;
public static final byte PISTOL = 3;
public static final byte HEAVY = 4;
public static final byte ONEHAND_MELEE = 5;
public static final byte TWOHAND_MELEE = 6;
public static final byte UNARMED = 7;
public static final byte POLEARM = 8;
public static final byte THROWN = 9;
public static final byte ONEHAND_LIGHTSABER = 10;
public static final byte TWOHAND_LIGHTSABER = 11;
public static final byte POLEARM_LIGHTSABER = 12;
public static final byte GROUND_TARGETTING = 13;
public static final byte DIRECTIONAL = 14;
public static final byte RANGED = 28;
public static final byte MELEE = 29;
public static final byte ALL = 30;
public static final byte ALL_LIGHTSABERS = 31;
}
+30
View File
@@ -0,0 +1,30 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class Target {
public static final byte FRIEND = 0;
public static final byte ENEMY = 1;
public static final byte OTHER = 2;
}
+32
View File
@@ -0,0 +1,32 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class TargetType {
public static final byte NONE = 0;
public static final byte REQUIRED = 1;
public static final byte OPTIONAL = 2;
public static final byte LOCATION = 3;
public static final byte ALL = 4;
}
+46
View File
@@ -0,0 +1,46 @@
/*******************************************************************************
* Copyright (c) 2013 <Project SWG>
*
* This File is part of NGECore2.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Using NGEngine to work with NGECore2 is making a combined work based on NGEngine.
* Therefore all terms and conditions of the GNU Lesser General Public License cover the combination.
******************************************************************************/
package resources.datatables;
public class ValidWeapon {
public static final byte NONE = 0;
public static final byte RIFLE = 1;
public static final byte CARBINE = 2;
public static final byte PISTOL = 3;
public static final byte HEAVY = 4;
public static final byte ONEHAND_MELEE = 5;
public static final byte TWOHAND_MELEE = 6;
public static final byte UNARMED = 7;
public static final byte POLEARM = 8;
public static final byte THROWN = 9;
public static final byte ONEHAND_LIGHTSABER = 10;
public static final byte TWOHAND_LIGHTSABER = 11;
public static final byte POLEARM_LIGHTSABER = 12;
public static final byte GROUND_TARGETTING = 13;
public static final byte DIRECTIONAL = 14;
public static final byte RANGED = 28;
public static final byte MELEE = 29;
public static final byte ALL = 30;
public static final byte ALL_LIGHTSABERS = 31;
}
+1
View File
@@ -26,6 +26,7 @@ public class WeaponType {
public static final int RIFLE = 0;
public static final int CARBINE = 1;
public static final int PISTOL = 2;
public static final int HEAVY = 3;
public static final int ONEHANDEDMELEE = 4;
public static final int TWOHANDEDMELEE = 5;
public static final int UNARMED = 6;