merge latest version, fix up gradle depends
This commit is contained in:
@@ -68,6 +68,10 @@ public class Charger implements ModCreature, CreatureTypes {
|
||||
builder.denMaterial(Materials.MATERIAL_WOOD_BIRCH);
|
||||
builder.denName("charger lair");
|
||||
builder.maxGroupAttackSize(100);
|
||||
//builder.color(219, 180, 87);
|
||||
//builder.color(255, 0, 0);
|
||||
//builder.sizeModifier(1024, 1024, 1024);
|
||||
//builder.paintMode(2);
|
||||
|
||||
templateId = builder.getTemplateId();
|
||||
return builder;
|
||||
@@ -87,7 +91,7 @@ public class Charger implements ModCreature, CreatureTypes {
|
||||
|
||||
vehicle.createPassengerSeats(0);
|
||||
vehicle.setSeatFightMod(0, 0.8f, 1.1f);
|
||||
vehicle.setSeatOffset(0, 0.0f, 0.0f, 0.0f);
|
||||
vehicle.setSeatOffset(0, 0.0f, 0.0f, 0.5f);
|
||||
vehicle.setCreature(true);
|
||||
vehicle.setSkillNeeded(Servers.localServer.PVPSERVER ? 25.0f : 37.0f);
|
||||
vehicle.setName(creature.getName());
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package mod.sin.creatures;
|
||||
|
||||
import com.wurmonline.server.items.ItemList;
|
||||
import com.wurmonline.server.items.Materials;
|
||||
import com.wurmonline.shared.constants.CreatureTypes;
|
||||
import org.gotti.wurmunlimited.modsupport.CreatureTemplateBuilder;
|
||||
import org.gotti.wurmunlimited.modsupport.creatures.ModCreature;
|
||||
@@ -33,7 +35,7 @@ public class Facebreyker implements ModCreature, CreatureTypes {
|
||||
"model.creature.humanoid.ogre.rift", types, (byte) 0, (short) 20, (byte) 0, (short) 350, (short) 100, (short) 60,
|
||||
"sound.death.troll", "sound.death.troll", "sound.combat.hit.troll", "sound.combat.hit.troll",
|
||||
0.05f, 50.0f, 50.0f, 0.0f, 0.0f, 0.0f, 1.6f, 1100,
|
||||
new int[]{867}, 40, 100, (byte) 0);
|
||||
new int[]{ItemList.boneCollar}, 40, 100, Materials.MATERIAL_MEAT_HUMANOID);
|
||||
|
||||
builder.skill(SkillList.BODY_STRENGTH, 90.0f);
|
||||
builder.skill(SkillList.BODY_STAMINA, 90.0f);
|
||||
@@ -55,6 +57,8 @@ public class Facebreyker implements ModCreature, CreatureTypes {
|
||||
builder.baseCombatRating(80.0f);
|
||||
builder.combatDamageType(Wound.TYPE_CRUSH);
|
||||
builder.maxGroupAttackSize(100);
|
||||
|
||||
builder.setCombatMoves(new int[]{5});
|
||||
|
||||
//builder.usesNewAttacks(true);
|
||||
// float baseDamage, float criticalChance, float baseSpeed, int attackReach, int weightGroup, byte damageType, boolean usesWeapon, int rounds, float waitUntilNextAttack
|
||||
|
||||
80
src/main/java/mod/sin/creatures/GuardianMagranon.java
Normal file
80
src/main/java/mod/sin/creatures/GuardianMagranon.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package mod.sin.creatures;
|
||||
|
||||
import com.wurmonline.server.bodys.BodyTemplate;
|
||||
import com.wurmonline.server.bodys.Wound;
|
||||
import com.wurmonline.server.combat.ArmourTypes;
|
||||
import com.wurmonline.server.items.ItemList;
|
||||
import com.wurmonline.server.items.Materials;
|
||||
import com.wurmonline.server.skills.SkillList;
|
||||
import com.wurmonline.shared.constants.CreatureTypes;
|
||||
import org.gotti.wurmunlimited.modsupport.CreatureTemplateBuilder;
|
||||
import org.gotti.wurmunlimited.modsupport.creatures.ModCreature;
|
||||
|
||||
public class GuardianMagranon implements ModCreature, CreatureTypes {
|
||||
public static int templateId;
|
||||
|
||||
@Override
|
||||
public CreatureTemplateBuilder createCreateTemplateBuilder() {
|
||||
// {C_TYPE_MOVE_LOCAL, C_TYPE_VEHICLE, C_TYPE_ANIMAL, C_TYPE_LEADABLE, C_TYPE_GRAZER, C_TYPE_OMNIVORE, C_TYPE_DOMINATABLE, C_TYPE_AGG_HUMAN, C_TYPE_NON_NEWBIE, C_TYPE_BURNING}; - Hell Horse
|
||||
// int[] types = new int[]{7, 6, 13, 3, 29, 39, 60, 61}; - Spider
|
||||
int[] types = {
|
||||
CreatureTypes.C_TYPE_MOVE_LOCAL,
|
||||
CreatureTypes.C_TYPE_AGG_HUMAN,
|
||||
CreatureTypes.C_TYPE_HUNTING,
|
||||
CreatureTypes.C_TYPE_MONSTER,
|
||||
CreatureTypes.C_TYPE_CARNIVORE,
|
||||
CreatureTypes.C_TYPE_DETECTINVIS,
|
||||
CreatureTypes.C_TYPE_NON_NEWBIE,
|
||||
CreatureTypes.C_TYPE_NO_REBIRTH
|
||||
};
|
||||
|
||||
//public CreatureTemplateBuilder(final String identifier, final String name, final String description,
|
||||
// final String modelName, final int[] types, final byte bodyType, final short vision, final byte sex, final short centimetersHigh, final short centimetersLong, final short centimetersWide,
|
||||
// final String deathSndMale, final String deathSndFemale, final String hitSndMale, final String hitSndFemale,
|
||||
// final float naturalArmour, final float handDam, final float kickDam, final float biteDam, final float headDam, final float breathDam, final float speed, final int moveRate,
|
||||
// final int[] itemsButchered, final int maxHuntDist, final int aggress) {
|
||||
CreatureTemplateBuilder builder = new CreatureTemplateBuilder("mod.creature.guardian.magranon", "Guardian of Magranon", "A loyal servant of Magranon, bound to defend their master.",
|
||||
"model.creature.humanoid.giant.juggernaut", types, BodyTemplate.TYPE_HUMAN, (short) 5, (byte) 0, (short) 85, (short) 50, (short) 85,
|
||||
"sound.death.magranon.juggernaut", "sound.death.magranon.juggernaut", "sound.combat.hit.magranon.juggernaut", "sound.combat.hit.magranon.juggernaut",
|
||||
0.1f, 12f, 0f, 0f, 0.0f, 0.0f, 1.2f, 500,
|
||||
new int[]{ItemList.charcoal, ItemList.flint, ItemList.heart, ItemList.adamantineOre}, 15, 70, Materials.MATERIAL_MEAT_HUMANOID);
|
||||
|
||||
builder.skill(SkillList.BODY_STRENGTH, 70.0f);
|
||||
builder.skill(SkillList.BODY_STAMINA, 70.0f);
|
||||
builder.skill(SkillList.BODY_CONTROL, 70.0f);
|
||||
builder.skill(SkillList.MIND_LOGICAL, 50.0f);
|
||||
builder.skill(SkillList.MIND_SPEED, 50.0f);
|
||||
builder.skill(SkillList.SOUL_STRENGTH, 50.0f);
|
||||
builder.skill(SkillList.SOUL_DEPTH, 50.0f);
|
||||
builder.skill(SkillList.WEAPONLESS_FIGHTING, 70.0f);
|
||||
builder.skill(SkillList.GROUP_FIGHTING, 90.0f);
|
||||
builder.skill(SkillList.AXE_HUGE, 70.0f);
|
||||
builder.skill(SkillList.AXE_LARGE, 70.0f);
|
||||
builder.skill(SkillList.AXE_SMALL, 70.0f);
|
||||
builder.skill(SkillList.MAUL_LARGE, 70.0f);
|
||||
builder.skill(SkillList.MAUL_MEDIUM, 70.0f);
|
||||
builder.skill(SkillList.MAUL_SMALL, 70.0f);
|
||||
builder.skill(SkillList.SWORD_TWOHANDED, 70.0f);
|
||||
builder.skill(SkillList.SWORD_LONG, 70.0f);
|
||||
builder.skill(SkillList.SWORD_SHORT, 70.0f);
|
||||
|
||||
builder.boundsValues(-0.5f, -1.0f, 0.5f, 1.42f);
|
||||
builder.handDamString("hit");
|
||||
builder.maxAge(100);
|
||||
builder.armourType(ArmourTypes.ARMOUR_LEATHER);
|
||||
builder.baseCombatRating(30.0f);
|
||||
builder.combatDamageType(Wound.TYPE_BURN);
|
||||
builder.maxGroupAttackSize(100);
|
||||
builder.sizeModifier(5, 5, 5);
|
||||
builder.hasHands(true);
|
||||
|
||||
templateId = builder.getTemplateId();
|
||||
return builder;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addEncounters() {
|
||||
if (templateId == 0)
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -57,10 +57,10 @@ public class SpiritTroll implements ModCreature, CreatureTypes {
|
||||
// final float naturalArmour, final float handDam, final float kickDam, final float biteDam, final float headDam, final float breathDam, final float speed, final int moveRate,
|
||||
// final int[] itemsButchered, final int maxHuntDist, final int aggress) {
|
||||
CreatureTemplateBuilder builder = new CreatureTemplateBuilder("mod.creature.spirit.troll", "Spirit troll", "A spirit troll.",
|
||||
"model.creature.humanoid.troll.standard", Servers.localServer.PVPSERVER ? pvpTypes : types, BodyTemplate.TYPE_HUMAN, (short) 5, (byte) 0, (short) 85, (short) 50, (short) 85,
|
||||
"model.creature.humanoid.troll.king", Servers.localServer.PVPSERVER ? pvpTypes : types, BodyTemplate.TYPE_HUMAN, (short) 5, (byte) 0, (short) 85, (short) 50, (short) 85,
|
||||
"sound.death.troll", "sound.death.troll", "sound.combat.hit.troll", "sound.combat.hit.troll",
|
||||
0.15f, 15f, 17f, 19.0f, 0.0f, 0.0f, 1.2f, 500,
|
||||
new int[]{}, 10, 74, (byte) 82);
|
||||
new int[]{}, 10, 74, Materials.MATERIAL_MEAT_HUMANOID);
|
||||
|
||||
builder.skill(SkillList.BODY_STRENGTH, 45.0f);
|
||||
builder.skill(SkillList.BODY_STAMINA, 40.0f);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package mod.sin.creatures;
|
||||
|
||||
import com.wurmonline.server.Servers;
|
||||
import org.gotti.wurmunlimited.modsupport.CreatureTemplateBuilder;
|
||||
import org.gotti.wurmunlimited.modsupport.creatures.EncounterBuilder;
|
||||
import org.gotti.wurmunlimited.modsupport.creatures.ModCreature;
|
||||
@@ -54,7 +55,7 @@ public class Worg implements ModCreature {
|
||||
vehicle.setName(creature.getName());
|
||||
vehicle.setMaxHeightDiff(0.07f);
|
||||
vehicle.setMaxDepth(-1.7f);
|
||||
vehicle.setMaxSpeed(40.0f);
|
||||
vehicle.setMaxSpeed(Servers.localServer.PVPSERVER ? 35.0f : 40.0f);
|
||||
vehicle.setCommandType((byte) 3);
|
||||
vehicle.setCanHaveEquipment(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user