weirdgloop / osrs-dps-calc

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

zcb bolt details #152

Open crab-pancake opened 8 months ago

crab-pancake commented 8 months ago

What went wrong?

https://github.com/weirdgloop/osrs-dps-calc/blob/main/src/lib/CombatCalc.ts#L1241

pearl bolts (on non-fiery target) boost changes from RANGELVL/20 to RANGELVL/18. did not test fiery

diamond bolts: believe multiplier is actually 126.5% not 126%

dragonstone: i think extra damage is actually RANGELVL2/9 instead of RANGELVL22%, tho tests were done a long time ago and idek if these can be distinguished

What did you expect to happen?

No response

What browsers are you seeing the problem on?

Chrome

What device(s) are you seeing the problem on?

Windows

Any other information

No response

SuperNerdEric commented 8 months ago

On diamond bolts:

https://twitter.com/JagexAsh/status/1691880489802445187 image

LlemonDuck commented 8 months ago

pearl bolts (on non-fiery target) boost changes from RANGELVL/20 to RANGELVL/18.

This makes sense to me but it would be good to test this in-game / get a tweet and then add the information to the wiki.

dragonstone: i think extra damage is actually RANGELVL2/9 instead of RANGELVL22%

These are off by one at a lot of points so it would be easy to test. At level 99, the difference is a max effect damage of 21 using 22 / 100 and 22 using 2 / 9.

I don't have a zcb to test either.

LlemonDuck commented 8 months ago

Dragonstone bolts are confirmed to be 2/9 using 99 ranged no prayer zcb + dragonstone bolts (e): image image

Corresponding calc update in 8877dd5a5eccc8568af456435944f08e406f1428

LlemonDuck commented 8 months ago

Current hypothesis on pearl bolts is that ZCB subtracts 2 from the denominator. 1/20 => 1/18 for non-fiery, and 1/15 => 1/13 for fiery. https://discord.com/channels/177206626514632704/1098698914498101368/1201068883243716618

I've updated the calc to match in d32277c65110b4b1e82014ff66ce577e56ce4696, but let's keep this open as a research ticket for pearl bolts.

jmyaeger commented 8 months ago

If the common theme here is that the denominator is being multiplied by 9/10 and truncated—which lines up with the pearl bolt findings here as well as dragonstone bolts and opal bolts—then rubies might actually be dealing currentHP 2 / 9 damage instead of currentHP 22 / 100. Have not tested it as I don't have a ZCB.

EDIT: Tested on a beta world, and I hit 99 on Skotizo at full HP (would be 100 if it were 2/9). So it's definitely 22/100 for rubies.