Ich bin zu dumm Git zu benutzen

master
Kilian Dumsky 6 years ago
parent 78dfb62f64
commit e194ed5fc4

@ -19,9 +19,9 @@ public class Archer extends Entity{
this.dmg = 6*lvl; this.dmg = 6*lvl;
this.id = 0; this.id = 0;
this.type = 1; this.type = 1;
minRange = 64; minRange = 70;
maxRange = 184; maxRange = 210;
attackSpeed = 45; attackSpeed = 65;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -25,12 +25,12 @@ public class Earthwizard 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 = 10*lvl; this.dmg = 8*lvl;
this.id = 8; this.id = 8;
this.type = 1; this.type = 1;
minRange = 84; minRange = 60;
maxRange = 144; maxRange = 150;
attackSpeed = 70; attackSpeed = 80;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -16,12 +16,12 @@ 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 = 8*lvl; this.dmg = 9*lvl;
this.id = 13; this.id = 13;
this.type = 1; this.type = 1;
minRange = 84; minRange = 65;
maxRange = 184; maxRange = 200;
attackSpeed = 45; attackSpeed = 55;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -11,7 +11,7 @@ public class Fireswordsman extends Entity {
this.maxhp = 120*lvl; this.maxhp = 120*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 18*lvl; this.dmg = 17*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) (3 * Math.cos(alpha)); movementX = (int) (4 * Math.cos(alpha));
movementY = (int) (3 * Math.sin(alpha)); movementY = (int) (4 * Math.sin(alpha));
xPos += movementX; xPos += movementX;
yPos += movementY; yPos += movementY;

@ -25,12 +25,12 @@ public class Firewizard 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 = 10*lvl; this.dmg = 9*lvl;
this.id = 6; this.id = 6;
this.type = 1; this.type = 1;
minRange = 64; minRange = 50;
maxRange = 124; maxRange = 130;
attackSpeed = 70; attackSpeed = 60;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -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 = 10*lvl; this.dmg = 8*lvl;
this.id = 11; this.id = 11;
this.type = 1; this.type = 1;
minRange = 64; minRange = 70;
maxRange = 184; maxRange = 230;
attackSpeed = 45; attackSpeed = 75;
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -24,8 +24,8 @@ public class Iceswordsman 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) (3 * Math.cos(alpha)); movementX = (int) (4 * Math.cos(alpha));
movementY = (int) (3 * Math.sin(alpha)); movementY = (int) (4 * Math.sin(alpha));
xPos += movementX; xPos += movementX;
yPos += movementY; yPos += movementY;

@ -28,9 +28,9 @@ public class Icewizard extends Entity{
this.dmg = 10*lvl; this.dmg = 10*lvl;
this.id = 16; this.id = 16;
this.type = 1; this.type = 1;
minRange = 64; minRange = 70;
maxRange = 124; maxRange = 170;
attackSpeed = 70; 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 = 100*lvl; this.maxhp = 110*lvl;
this.hp = this.maxhp; this.hp = this.maxhp;
this.direction = 1; this.direction = 1;
this.dmg = 16*lvl; this.dmg = 15*lvl;
this.id = 1; this.id = 1;
this.type = 0; this.type = 0;
@ -24,8 +24,8 @@ public class Swordsman 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) (3 * Math.cos(alpha)); movementX = (int) (4 * Math.cos(alpha));
movementY = (int) (3 * Math.sin(alpha)); movementY = (int) (4 * Math.sin(alpha));
xPos += movementX; xPos += movementX;
yPos += movementY; yPos += movementY;

@ -30,7 +30,7 @@ public class Wizard extends Entity{
this.type = 1; this.type = 1;
minRange = 144; minRange = 144;
maxRange = 164; maxRange = 164;
attackSpeed = 70; // higher = slower attackSpeed = 75; // higher = slower
counter = 0; counter = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

Loading…
Cancel
Save