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(d.getCurrentEntities()[i].getType()== 2){
d.getPlayer().addExp(d.getCurrentEntities()[i].getExp());
d.getCurrentEntities()[i] = null;
gs.deleteEntitySprite(i);
}

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

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

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

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

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

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

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

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

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

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

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

@ -28,7 +28,7 @@ public class Icewizard extends Entity{
this.dmg = 10*lvl;
this.id = 16;
this.type = 1;
this.exp = lvl * 5;
this.exp = (lvl+1) * 5;
minRange = 70;
maxRange = 190;
attackSpeed = 80;

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

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

@ -28,7 +28,7 @@ public class Waterwizard extends Entity{
this.dmg = 12*lvl;
this.id = 18;
this.type = 1;
this.exp = lvl * 5;
this.exp = (lvl+1) * 5;
minRange = 65;
maxRange = 130;
attackSpeed = 50;

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

Loading…
Cancel
Save