v2.2.0: dagger sneak ability hsa +1 range and is now instantaneous
This commit is contained in:
@@ -1525,7 +1525,7 @@ items.weapon.enchantments.vampiric.elestrike_desc=An elemental strike with a vam
|
|||||||
items.weapon.melee.assassinsblade.name=assassin's blade
|
items.weapon.melee.assassinsblade.name=assassin's blade
|
||||||
items.weapon.melee.assassinsblade.stats_desc=This weapon is stronger against unaware enemies.
|
items.weapon.melee.assassinsblade.stats_desc=This weapon is stronger against unaware enemies.
|
||||||
items.weapon.melee.assassinsblade.ability_name=sneak
|
items.weapon.melee.assassinsblade.ability_name=sneak
|
||||||
items.weapon.melee.assassinsblade.ability_desc=The Duelist can _sneak_ while wielding an assassin's blade. This ability lets the Duelist blink up to 3 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
items.weapon.melee.assassinsblade.ability_desc=The Duelist can _sneak_ while wielding an assassin's blade. This ability lets the Duelist instantly blink up to 4 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
||||||
items.weapon.melee.assassinsblade.desc=A small wavy blade made of obsidian, difficult to use despite being lightweight, but deadly if it finds the right mark.
|
items.weapon.melee.assassinsblade.desc=A small wavy blade made of obsidian, difficult to use despite being lightweight, but deadly if it finds the right mark.
|
||||||
|
|
||||||
items.weapon.melee.battleaxe.name=battle axe
|
items.weapon.melee.battleaxe.name=battle axe
|
||||||
@@ -1545,13 +1545,13 @@ items.weapon.melee.crossbow$chargedshot.desc=The Duelist is focusing power into
|
|||||||
items.weapon.melee.dagger.name=dagger
|
items.weapon.melee.dagger.name=dagger
|
||||||
items.weapon.melee.dagger.stats_desc=This weapon is stronger against unaware enemies.
|
items.weapon.melee.dagger.stats_desc=This weapon is stronger against unaware enemies.
|
||||||
items.weapon.melee.dagger.ability_name=sneak
|
items.weapon.melee.dagger.ability_name=sneak
|
||||||
items.weapon.melee.dagger.ability_desc=The Duelist can _sneak_ while wielding a dagger. This ability lets the Duelist blink up to 5 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
items.weapon.melee.dagger.ability_desc=The Duelist can _sneak_ while wielding a dagger. This ability lets the Duelist instantly blink up to 6 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
||||||
items.weapon.melee.dagger.desc=A simple iron dagger with a worn wooden handle.
|
items.weapon.melee.dagger.desc=A simple iron dagger with a worn wooden handle.
|
||||||
|
|
||||||
items.weapon.melee.dirk.name=dirk
|
items.weapon.melee.dirk.name=dirk
|
||||||
items.weapon.melee.dirk.stats_desc=This weapon is stronger against unaware enemies.
|
items.weapon.melee.dirk.stats_desc=This weapon is stronger against unaware enemies.
|
||||||
items.weapon.melee.dirk.ability_name=sneak
|
items.weapon.melee.dirk.ability_name=sneak
|
||||||
items.weapon.melee.dirk.ability_desc=The Duelist can _sneak_ while wielding a dirk. This ability lets the Duelist blink up to 4 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
items.weapon.melee.dirk.ability_desc=The Duelist can _sneak_ while wielding a dirk. This ability lets the Duelist instantly blink up to 5 tiles away and grants her 1 turn of invisibility, but costs 2 charges.
|
||||||
items.weapon.melee.dirk.desc=A longer thrusting dagger, gives a bit more steel to plunge into foes.
|
items.weapon.melee.dirk.desc=A longer thrusting dagger, gives a bit more steel to plunge into foes.
|
||||||
|
|
||||||
items.weapon.melee.flail.name=flail
|
items.weapon.melee.flail.name=flail
|
||||||
|
|||||||
+1
-1
@@ -82,7 +82,7 @@ public class AssassinsBlade extends MeleeWeapon {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void duelistAbility(Hero hero, Integer target) {
|
protected void duelistAbility(Hero hero, Integer target) {
|
||||||
Dagger.sneakAbility(hero, target, 3, this);
|
Dagger.sneakAbility(hero, target, 4, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -95,7 +95,7 @@ public class Dagger extends MeleeWeapon {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void duelistAbility(Hero hero, Integer target) {
|
protected void duelistAbility(Hero hero, Integer target) {
|
||||||
sneakAbility(hero, target, 5, this);
|
sneakAbility(hero, target, 6, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sneakAbility(Hero hero, Integer target, int maxDist, MeleeWeapon wep){
|
public static void sneakAbility(Hero hero, Integer target, int maxDist, MeleeWeapon wep){
|
||||||
@@ -116,7 +116,7 @@ public class Dagger extends MeleeWeapon {
|
|||||||
|
|
||||||
wep.beforeAbilityUsed(hero, null);
|
wep.beforeAbilityUsed(hero, null);
|
||||||
Buff.affect(hero, Invisibility.class, Actor.TICK);
|
Buff.affect(hero, Invisibility.class, Actor.TICK);
|
||||||
hero.spendAndNext(Actor.TICK);
|
hero.next();
|
||||||
|
|
||||||
Dungeon.hero.sprite.turnTo( Dungeon.hero.pos, target);
|
Dungeon.hero.sprite.turnTo( Dungeon.hero.pos, target);
|
||||||
Dungeon.hero.pos = target;
|
Dungeon.hero.pos = target;
|
||||||
|
|||||||
+1
-1
@@ -82,7 +82,7 @@ public class Dirk extends MeleeWeapon {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void duelistAbility(Hero hero, Integer target) {
|
protected void duelistAbility(Hero hero, Integer target) {
|
||||||
Dagger.sneakAbility(hero, target, 4, this);
|
Dagger.sneakAbility(hero, target, 5, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user