weirdgloop / osrs-dps-calc

Web-based DPS calculator for Old School RuneScape
GNU General Public License v3.0
29 stars 46 forks source link

Soulreaper axe effect #80

Closed LlemonDuck closed 10 months ago

LlemonDuck commented 10 months ago

https://oldschool.runescape.wiki/w/Soulreaper_axe

Calc

UI

LlemonDuck commented 10 months ago

Tested this today and found that the bonus is applied to the base strength level, and does not stack with prayers:

// sr independent
val prayed = level * PIETY_DMG .. "prayer"
val srBoost = level * Factor(stacks * 5, 100) .. "sr boost"
val independent = prayed + srBoost .. "independent"

// sr additive
val boostedPrayer = Factor(PIETY_DMG.num + (stacks * 5), PIETY_DMG.den)
val additive = level * boostedPrayer .. "additive"

val indEff = independent + stanceBonus .. "independent: effective"
val addEff = additive + stanceBonus .. "additive: effective"

val indMax = maxHit(indEff, gearBonus) .. "independent: max"
val addMax = maxHit(addEff, gearBonus) .. "additive: max"
if (indMax != addMax) {
    println("IND $indMax // ADD $addMax @ S$stacks GB$gearBonus L$level SB$stanceBonus")
}
// IND 63 // ADD 64 @ S6 GB188 L99 SB11

image