v0.6.5b: buffs to warlock and huntress
This commit is contained in:
parent
dbdc60e435
commit
cfaf6eeb82
|
@ -144,7 +144,7 @@ public abstract class Wand extends Item {
|
||||||
protected void processSoulMark(Char target, int chargesUsed){
|
protected void processSoulMark(Char target, int chargesUsed){
|
||||||
if (target != Dungeon.hero &&
|
if (target != Dungeon.hero &&
|
||||||
Dungeon.hero.subClass == HeroSubClass.WARLOCK &&
|
Dungeon.hero.subClass == HeroSubClass.WARLOCK &&
|
||||||
Random.Float() < .09f + (level()*chargesUsed*0.06f)){
|
Random.Float() > Math.pow(0.9f, (level()*chargesUsed)+1)){
|
||||||
SoulMark.prolong(target, SoulMark.class, SoulMark.DURATION + level());
|
SoulMark.prolong(target, SoulMark.class, SoulMark.DURATION + level());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,7 +173,7 @@ abstract public class MissileWeapon extends Weapon {
|
||||||
float usage = MAX_DURABILITY/10f;
|
float usage = MAX_DURABILITY/10f;
|
||||||
|
|
||||||
if (Dungeon.hero.heroClass == HeroClass.HUNTRESS) usage /= 1.5f;
|
if (Dungeon.hero.heroClass == HeroClass.HUNTRESS) usage /= 1.5f;
|
||||||
else if (holster) usage /= MagicalHolster.HOLSTER_DURABILITY_FACTOR;
|
if (holster) usage /= MagicalHolster.HOLSTER_DURABILITY_FACTOR;
|
||||||
|
|
||||||
usage /= RingOfSharpshooting.durabilityMultiplier( Dungeon.hero );
|
usage /= RingOfSharpshooting.durabilityMultiplier( Dungeon.hero );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user