v0.7.4a: Adjustments to wand of living earth:
- Earth armor per shot reduced to 1x damage from 1.33x damage - Earth guardian max HP reduced to 16+8*lvl from 20+10*lvl - Base wand damage increased to 3-6 from 2-4 - Increased earthen guardian damage by 12.5%
This commit is contained in:
parent
7493f9d77d
commit
97ebb16c81
|
@ -53,19 +53,19 @@ public class WandOfLivingEarth extends DamageWand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int min(int lvl) {
|
public int min(int lvl) {
|
||||||
return 2 + lvl;
|
return 3 + lvl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int max(int lvl) {
|
public int max(int lvl) {
|
||||||
return 4 + 2*lvl;
|
return 6 + 2*lvl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onZap(Ballistica bolt) {
|
protected void onZap(Ballistica bolt) {
|
||||||
Char ch = Actor.findChar(bolt.collisionPos);
|
Char ch = Actor.findChar(bolt.collisionPos);
|
||||||
int damage = damageRoll();
|
int damage = damageRoll();
|
||||||
int armorToAdd = Math.round(damage*1.33f);
|
int armorToAdd = damage;
|
||||||
|
|
||||||
EarthGuardian guardian = null;
|
EarthGuardian guardian = null;
|
||||||
for (Mob m : Dungeon.level.mobs){
|
for (Mob m : Dungeon.level.mobs){
|
||||||
|
@ -225,7 +225,7 @@ public class WandOfLivingEarth extends DamageWand {
|
||||||
}
|
}
|
||||||
|
|
||||||
private int armorToGuardian(){
|
private int armorToGuardian(){
|
||||||
return 10 + wandLevel*5;
|
return 8 + wandLevel*4;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int absorb( int damage ) {
|
public int absorb( int damage ) {
|
||||||
|
@ -294,7 +294,7 @@ public class WandOfLivingEarth extends DamageWand {
|
||||||
private void setInfo(Hero hero, int wandLevel, int healthToAdd){
|
private void setInfo(Hero hero, int wandLevel, int healthToAdd){
|
||||||
if (wandLevel > this.wandLevel) {
|
if (wandLevel > this.wandLevel) {
|
||||||
this.wandLevel = wandLevel;
|
this.wandLevel = wandLevel;
|
||||||
HT = 20 + 10 * wandLevel;
|
HT = 16 + 8 * wandLevel;
|
||||||
}
|
}
|
||||||
HP = Math.min(HT, HP + healthToAdd);
|
HP = Math.min(HT, HP + healthToAdd);
|
||||||
//half of hero's evasion
|
//half of hero's evasion
|
||||||
|
@ -315,7 +315,7 @@ public class WandOfLivingEarth extends DamageWand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int damageRoll() {
|
public int damageRoll() {
|
||||||
return Random.NormalIntRange(2 + Dungeon.depth/6, 6 + Dungeon.depth/2);
|
return Random.NormalIntRange(3 + Dungeon.depth/4, 6 + Dungeon.depth/2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user