v3.2.0: fixed various ID related errors:

- survivalist's intuition still giving a universal ID boost
- thrown weapons sometimes not alerting for shard of oblivion
This commit is contained in:
Evan Debenham
2025-07-28 12:27:41 -04:00
parent 3e15b368cd
commit 460d9880d3
2 changed files with 2 additions and 2 deletions

View File

@@ -673,8 +673,7 @@ public enum Talent {
}
public static float itemIDSpeedFactor( Hero hero, Item item ){
// 1.75x/2.5x speed with Huntress talent
float factor = 1f + 0.75f*hero.pointsInTalent(SURVIVALISTS_INTUITION);
float factor = 1f;
// Affected by both Warrior(1.75x/2.5x) and Duelist(2.5x/inst.) talents
if (item instanceof MeleeWeapon){

View File

@@ -310,6 +310,7 @@ abstract public class MissileWeapon extends Weapon {
//instant ID with the right talent
if (attacker == Dungeon.hero && Dungeon.hero.pointsInTalent(Talent.SURVIVALISTS_INTUITION) == 2){
usesLeftToID = Math.min(usesLeftToID, 0);
availableUsesToID = Math.max(usesLeftToID, 0);
}
int result = super.proc(attacker, defender, damage);