v0.9.2: corrected stacking inconsistencies with on-eat talent buffs
This commit is contained in:
parent
2408b677ee
commit
6310fe09c8
|
@ -198,7 +198,7 @@ public enum Talent {
|
||||||
}
|
}
|
||||||
if (hero.hasTalent(ENERGIZING_MEAL)){
|
if (hero.hasTalent(ENERGIZING_MEAL)){
|
||||||
//5/8 turns of recharging
|
//5/8 turns of recharging
|
||||||
Buff.affect( hero, Recharging.class, 2 + 3*(hero.pointsInTalent(ENERGIZING_MEAL)) );
|
Buff.prolong( hero, Recharging.class, 2 + 3*(hero.pointsInTalent(ENERGIZING_MEAL)) );
|
||||||
ScrollOfRecharging.charge( hero );
|
ScrollOfRecharging.charge( hero );
|
||||||
}
|
}
|
||||||
if (hero.hasTalent(MYSTICAL_MEAL)){
|
if (hero.hasTalent(MYSTICAL_MEAL)){
|
||||||
|
@ -208,7 +208,7 @@ public enum Talent {
|
||||||
}
|
}
|
||||||
if (hero.hasTalent(INVIGORATING_MEAL)){
|
if (hero.hasTalent(INVIGORATING_MEAL)){
|
||||||
//effectively 1/2 turns of haste
|
//effectively 1/2 turns of haste
|
||||||
Buff.affect( hero, Haste.class, 0.67f+hero.pointsInTalent(INVIGORATING_MEAL));
|
Buff.prolong( hero, Haste.class, 0.67f+hero.pointsInTalent(INVIGORATING_MEAL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user