Merge branch 'müllBalance' of https://gitlab.com/JonathanHager/dungeoncrawler into müllBalance

master
GammelJAN 6 years ago
commit e8d8372229

@ -16,12 +16,12 @@ public class Archer extends Entity{
this.maxhp = 75*lvl; this.maxhp = 75*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 6*lvl; this.dmg = 5*lvl;
this.id = 0; this.id = 0;
this.type = 1; this.type = 1;
minRange = 70; minRange = 70;
maxRange = 210; maxRange = 210;
attackSpeed = 65; attackSpeed = 70;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -16,10 +16,10 @@ public class Firearcher extends Entity{
this.maxhp = 80*lvl; this.maxhp = 80*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 9*lvl; this.dmg = 8*lvl;
this.id = 13; this.id = 13;
this.type = 1; this.type = 1;
minRange = 65; minRange = 60;
maxRange = 200; maxRange = 200;
attackSpeed = 55; attackSpeed = 55;
counter = 0; counter = 0;

@ -8,10 +8,10 @@ public class Fireswordsman extends Entity {
public Fireswordsman(float xPos, float yPos, int lvl) { public Fireswordsman(float xPos, float yPos, int lvl) {
super(xPos, yPos, lvl); super(xPos, yPos, lvl);
this.maxhp = 120*lvl; this.maxhp = 100*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 17*lvl; this.dmg = 15*lvl;
this.id = 10; this.id = 10;
this.type = 0; this.type = 0;
@ -24,8 +24,8 @@ public class Fireswordsman extends Entity {
if(!isToDelete()){ if(!isToDelete()){
double alpha = StaticMath.calculateAngle((int) this.xPos, (int) this.yPos, xPosPlayer, yPosPlayer); double alpha = StaticMath.calculateAngle((int) this.xPos, (int) this.yPos, xPosPlayer, yPosPlayer);
movementX = (int) (4 * Math.cos(alpha)); movementX = (int) (5 * Math.cos(alpha));
movementY = (int) (4 * Math.sin(alpha)); movementY = (int) (5 * Math.sin(alpha));
xPos += movementX; xPos += movementX;
yPos += movementY; yPos += movementY;

@ -16,12 +16,12 @@ public class Icearcher extends Entity{
this.maxhp = 100*lvl; this.maxhp = 100*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 8*lvl; this.dmg = 7*lvl;
this.id = 11; this.id = 11;
this.type = 1; this.type = 1;
minRange = 70; minRange = 80;
maxRange = 230; maxRange = 240;
attackSpeed = 75; attackSpeed = 100;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -8,10 +8,10 @@ public class Iceswordsman extends Entity {
public Iceswordsman(float xPos, float yPos, int lvl) { public Iceswordsman(float xPos, float yPos, int lvl) {
super(xPos, yPos, lvl); super(xPos, yPos, lvl);
this.maxhp = 120*lvl; this.maxhp = 130*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 18*lvl; this.dmg = 14*lvl;
this.id = 15; this.id = 15;
this.type = 0; this.type = 0;

@ -29,7 +29,7 @@ public class Icewizard extends Entity{
this.id = 16; this.id = 16;
this.type = 1; this.type = 1;
minRange = 70; minRange = 70;
maxRange = 170; maxRange = 190;
attackSpeed = 80; attackSpeed = 80;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -8,10 +8,10 @@ public class Swordsman extends Entity {
public Swordsman(float xPos, float yPos, int lvl) { public Swordsman(float xPos, float yPos, int lvl) {
super(xPos, yPos, lvl); super(xPos, yPos, lvl);
this.maxhp = 110*lvl; this.maxhp = 120*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 15*lvl; this.dmg = 12*lvl;
this.id = 1; this.id = 1;
this.type = 0; this.type = 0;

@ -28,9 +28,9 @@ public class Waterwizard extends Entity{
this.dmg = 12*lvl; this.dmg = 12*lvl;
this.id = 18; this.id = 18;
this.type = 1; this.type = 1;
minRange = 64; minRange = 65;
maxRange = 124; maxRange = 130;
attackSpeed = 60; attackSpeed = 50;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -28,9 +28,9 @@ public class Wizard extends Entity{
this.dmg = 10*lvl; this.dmg = 10*lvl;
this.id = 3; this.id = 3;
this.type = 1; this.type = 1;
minRange = 144; minRange = 140;
maxRange = 164; maxRange = 170;
attackSpeed = 75; // higher = slower attackSpeed = 70; // higher = slower
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -15,7 +15,7 @@ public class Amulet extends Item {
public Amulet(int lvl) { public Amulet(int lvl) {
super(lvl); super(lvl);
this.dmg = 10 * lvl; this.dmg = 8 * lvl;
this.heal = 0 * lvl; this.heal = 0 * lvl;
this.id = 2; this.id = 2;
} }

@ -15,7 +15,7 @@ public class Potion extends Item {
public Potion(int lvl) { public Potion(int lvl) {
super(lvl); super(lvl);
this.heal = lvl * 40; this.heal = lvl * 25;
this.dmg = 0; this.dmg = 0;
this.id = 1; this.id = 1;
} }

Loading…
Cancel
Save