Jan Ehehalt 6 years ago
parent d1beb23cd4
commit 4e745511da

@ -296,6 +296,7 @@ public class Controller extends ApplicationAdapter implements InputProcessor{
if(delete || d.getCurrentEntities()[i].isToDelete()){ if(delete || d.getCurrentEntities()[i].isToDelete()){
if(d.getCurrentEntities()[i].getType()== 2){ if(d.getCurrentEntities()[i].getType()== 2){
d.getPlayer().addExp(d.getCurrentEntities()[i].getExp());
d.getCurrentEntities()[i] = null; d.getCurrentEntities()[i] = null;
gs.deleteEntitySprite(i); gs.deleteEntitySprite(i);
} }

@ -19,7 +19,7 @@ public class Archer extends Entity{
this.dmg = 5*lvl; this.dmg = 5*lvl;
this.id = 0; this.id = 0;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 70; minRange = 70;
maxRange = 210; maxRange = 210;
attackSpeed = 70; attackSpeed = 70;

@ -19,7 +19,7 @@ public class Darkarcher extends Entity{
this.dmg = 7*lvl; this.dmg = 7*lvl;
this.id = 27; this.id = 27;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 80; minRange = 80;
maxRange = 240; maxRange = 240;
attackSpeed = 100; attackSpeed = 100;

@ -13,7 +13,7 @@ public class Darkswordsman extends Entity {
this.direction = 1; this.direction = 1;
this.dmg = 12*lvl; this.dmg = 12*lvl;
this.id = 26; this.id = 26;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
this.type = 0; this.type = 0;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden

@ -28,7 +28,7 @@ public class Darkwizard extends Entity{
this.dmg = 10*lvl; this.dmg = 10*lvl;
this.id = 24; this.id = 24;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 140; minRange = 140;
maxRange = 170; maxRange = 170;
attackSpeed = 70; // higher = slower attackSpeed = 70; // higher = slower

@ -28,7 +28,7 @@ public class Earthwizard extends Entity{
this.dmg = 8*lvl; this.dmg = 8*lvl;
this.id = 8; this.id = 8;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 60; minRange = 60;
maxRange = 150; maxRange = 150;
attackSpeed = 80; attackSpeed = 80;

@ -19,7 +19,7 @@ public class Firearcher extends Entity{
this.dmg = 8*lvl; this.dmg = 8*lvl;
this.id = 13; this.id = 13;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 60; minRange = 60;
maxRange = 200; maxRange = 200;
attackSpeed = 55; attackSpeed = 55;

@ -14,7 +14,7 @@ public class Fireswordsman extends Entity {
this.dmg = 15*lvl; this.dmg = 15*lvl;
this.id = 10; this.id = 10;
this.type = 0; this.type = 0;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden
direction = 2; direction = 2;

@ -28,7 +28,7 @@ public class Firewizard extends Entity{
this.dmg = 9*lvl; this.dmg = 9*lvl;
this.id = 6; this.id = 6;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 50; minRange = 50;
maxRange = 130; maxRange = 130;
attackSpeed = 60; attackSpeed = 60;

@ -28,7 +28,7 @@ public class Healwizard extends Entity{
this.dmg = 12*lvl; this.dmg = 12*lvl;
this.id = 20; this.id = 20;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 64; minRange = 64;
maxRange = 124; maxRange = 124;
attackSpeed = 60; attackSpeed = 60;

@ -19,7 +19,7 @@ public class Icearcher extends Entity{
this.dmg = 7*lvl; this.dmg = 7*lvl;
this.id = 11; this.id = 11;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 80; minRange = 80;
maxRange = 240; maxRange = 240;
attackSpeed = 100; attackSpeed = 100;

@ -14,7 +14,7 @@ public class Iceswordsman extends Entity {
this.dmg = 14*lvl; this.dmg = 14*lvl;
this.id = 15; this.id = 15;
this.type = 0; this.type = 0;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden
direction = 2; direction = 2;

@ -28,7 +28,7 @@ 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;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 70; minRange = 70;
maxRange = 190; maxRange = 190;
attackSpeed = 80; attackSpeed = 80;

@ -28,7 +28,7 @@ public class Naturewizard extends Entity{
this.dmg = 8*lvl; this.dmg = 8*lvl;
this.id = 22; this.id = 22;
this.type = 1; this.type = 1;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 60; minRange = 60;
maxRange = 150; maxRange = 150;
attackSpeed = 80; attackSpeed = 80;

@ -14,7 +14,7 @@ public class Swordsman extends Entity {
this.dmg = 12*lvl; this.dmg = 12*lvl;
this.id = 1; this.id = 1;
this.type = 0; this.type = 0;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
// TODO: Sinnvolle Werte finden // TODO: Sinnvolle Werte finden
direction = 2; direction = 2;

@ -28,7 +28,7 @@ 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;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 65; minRange = 65;
maxRange = 130; maxRange = 130;
attackSpeed = 50; attackSpeed = 50;

@ -28,7 +28,7 @@ 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;
this.exp = lvl * 5; this.exp = (lvl+1) * 5;
minRange = 140; minRange = 140;
maxRange = 170; maxRange = 170;
attackSpeed = 70; // higher = slower attackSpeed = 70; // higher = slower

Loading…
Cancel
Save