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:
@@ -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){
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user