Order of operations on magic:
I assume that Floor(dINT*M)+V has to come first, as the rest are multipliers on that.
Testing on Banshee in qufim, determined to have 35 INT using blizz 2 and 3 without weather procs, only terms are Floor(Floor(dINT*M)+V)*Monster Family Reduction)
96+7 INT me, 35 INT banshee, 50% dmg reduction on ice = 211 blizz3, 111blizz2
Add Hailstorm, and some int to make sure I land on a split point
96+15 INT, same 35int banshee, 50% dmg reduction ice = 115 blizz2 no proc, 126 blizz2 proc
Weather > SDT
Floor((96+15-35)*1)+155 = 231
Floor(231*1.1) = 254
Floor(254*0.5) = 127 Wrong
SDT > Weather
Floor((96+15-35)*1)+155 = 231
Floor(231*0.5) = 115
Floor(254*1.1) = 126 Correct
Will add in Staff, MAB, MDB(Pending results of testing vidohunir), Affinty, and Magic Burst, mutli-target reduction, Day(Assuming not just part of weather) as I find test cases.
To add:
MDT
Magic Burst
To be clear:
Code:
1. Calculate dINT*M
2. Add V
3. Multiple Target Reduction
.
k. Staff
l. Affinity
m. SDT
.
.
.
n. Weather, Day, Twilight Cape
.
o. MAB/MDB
p. MDT
Done
Aside, if Day/Weather uses a x/1024 system, it's at least +102/1024, ty Yugl (201 > 221 with a day proc)
Edit: Changed Monster Family Reduction to SDT
Edit: Confirmed, SDT is not the same as Shell. Sahagin take 50% water damage, with Bubble Armor active Water dropped to 25%, Aero fell from 100% to 50%.
Edit: MDT from Shell comes after SDT, unknown comparison to other effects.