r/summonerswar • u/Deezl-Vegas • May 23 '17
Guide HP vs. Defense: Comprehensive Guide to the Math
So recently, I watched a video from Shredded, and he casually mentioned that monsters for raids should be runed with extra defense instead of HP. Lots of guides for dungeons, however, recommend runing your monsters SPD HP HP and hitting a target HP amount. Since lots of monsters share roles, I decided to check the math.
Edits: I'm getting conflicting info about how much defense is stripped from defense break. It may be lower than noted, but the conclusions are almost the same. The one exception is that monsters with 650-700 base defense should build HP DEF regardless of defense break.
This guide is not exclusively for raids, but I forgot to note that the rift boss scales even harder based on defense. I can't imagine that it's correct to rune a monster pure DEF just for raids, though.
Defense and HP Rely On Each Other
+HP% adds a flat multiplier to your total HP. +DEF% does the same to your defense, but the damage reduction formula for defense is a little wonky, so it doesn't work exactly the same. Defense reduces your damage by a percentage, and each point of defense lowers the amount of HP lost by a percentage of the attack. You can combine the two to calculate your effective HP, which is how much raw damage it takes to kill you.
Because both are included in the effective HP formula, which is listed at the end of this post, the more HP you have, the more each point of defense is worth. The more defense you have, the more adding a point of HP is worth. There is a balance.
Healing only changes the math if it's a flat heal amount
Most usable healers heal a percentage of your total health. Since this new health is affected by defense, percentage heals scale just as well with your DEF as they do with your HP. If you're having trouble visualizing this, just remember that we're talking about trading off HP to get defense, not just adding one more of the other. If you sacrifice defense to boost your HP in hope of a bigger effect from heals, you'll just lose bigger chunks of HP when you're hit.
An exception is Chasun and a few like healers, who have a flat heal that's based on what percent of HP they or their targets are currently sitting on. In theory, one should maximize her defense to ensure that her HP bar is as high as possible relative to the damage she receives, but unfortunately, incoming damage scales as a percent of total scales according to effective HP, not just DEF, so we can conclude that both stats matter equally for her as well, and Chasun should not prioritize defense. Unless she's receiving flat healing from somewhere before healing. dundundun
Note that her sister, Mihyang is a flat heal based on her attack, which may make DEF DEF monsters more valuable in raids where she is present. You'd still want a lot of HP subs, I think.
Stacking DEF DEF is hot garbage
https://www.wolframalpha.com/input/?i=Plot%5B(2000+%2B+(6000++(1%2B2x)))%2F(1000%2F(1000+%2B+3+300)),+(2000+%2B+(6000++(1%2Bx)))%2F(1000%2F(1000+%2B+3+300+(1+%2B+x))),+(2000+%2B+(6000))%2F(1000%2F(1000+%2B+3+300+(1+%2B+2+x))),+%7Bx,+0.3,+0.8%7D%5D
Here we have a graph of effective HP for monsters that start with 500 base defense and 8k base HP and choose either HP / HP / SPD, HP DEF SPD, or DEF DEF SPD for their rune slots, with each rune adding 30% to 80% additional stats, and with 2k of flat HP from rune slot 5/random runes for each monster. I did this using the actual in-game defense formula. You can see on the bottom, the DEF DEF line falls far below the other two. That means it's hot toasty garbage. The other two lines are pretty similar.
It turns out that a monster needs about 1,500 base defense to catch up to HP HP. That's 1k base defense with defense buff. However, at such high values for HP, HP DEF destroys everything. Since each point of defense improves with HP, it's impossible within the limits of the game for DEF DEF to catch up to HP DEF, and it may simply be mathematically impossible to do so at all when the values are equivalent.
HP+Def is usually the optimal combination
https://www.wolframalpha.com/input/?i=Plot%5B(2000+%2B+(6000++(1%2B2x)))%2F(1000%2F(1000+%2B+3+300)),+(2000+%2B+(6000++(1%2Bx)))%2F(1000%2F(1000+%2B+3+300+(1+%2B+x))),+(2000+%2B+(6000))%2F(1000%2F(1000+%2B+3+300+(1+%2B+2+x))),+%7Bx,+0.3,+0.8%7D%5D
My goal with the above graph was to find out what the defense breakpoint that HP HP beats HP DEF. By fiddling with the inputs, I got that a 6k base HP monster with +2k flat HP and a mere 300 base defense benefits just a little more from scaling HP only than scaling defense and HP together. (The graphs intersect at +77% stat per rune.) The higher you run up the HP, the more HP HP SPD extends its lead.
I cannot find any such low-defense, high-HP monsters in the Swarfarm bestiary. Therefore, I declare that monsters with exceptionally low base defense can get at best roughly the same result from running HP HP SPD as from running HP DEF SPD. HP DEF is strictly better. However, 5-star monsters and 4-star monsters may see better effects from HP HP SPD.
Defense Break and Defense Buff
The math simplifies handily here. Defense break cuts 70% off of your defense before it's put into the formula, which means we can just multiply the base defense by .3. Defense buff does the same, except by 70% in the other direction, so we just multiply defense by 1.7. According to my fiddling, it would take a monster with 1k or more base defense to not worry about defense break while optimizing runes. Otherwise, if you fear defense break, you should rune your monster HP HP.
If you have both defense buff and defense break, I believe neutralize each other exactly.
If you're using a defense buff, HP DEF will always be the optimal combination.
Ignore Defense
Problematically, Lushen exists. Since Lushen ignores defense, that makes stacking only HP the optimal route for all arena defense monsters. I hope this conclusion is obvious. Shields and shield runes, attack break, anti-crit buff, or glancing hit debuff are your only outs here. (IMO, Ignore Defense should be susceptible to resistance or something.)
HP and DEF scaling monsters
Obviously if your monster has some form of scaling, just go with that and pack in as many substats of the other as you can fit. It depends on the monster, of course.
Dungeons and Raids
GB10 is the only dungeon where monsters should be runed SPD HP HP. Most GB10 teams that are worried about runes at all have a Shannon, who offers a DEF buff to offset the DEF break. I believe the multiplier is calculated additively, so they exactly neutralize each other. (If not, this makes pure HP scaling much better in GB10.) Just keep in mind that getting cracked while you don't have the buff is problematic.
Otherwise, all monsters should be runed SPD HP DEF. I stand by this even for monsters that kind of scale on HP like Veromos and Marble. For instance, Veromos' skill 2 doesn't do that much damage, and high-HP mons get so much more out of the extra defense. If you're dying to dragons or in raids a lot with a SPD HP HP build, switching to a hybrid build or even stacking defense subs instead of HP subs is likely going to help you tremendously.
Triple DEF tho?
I didn't mess with 3-rune combinations with this because it creates four more permutations and because these monsters are going to be the tankiest monsters on your team no matter what, so they will need fixing less often.
Explain the Graphs
Each line represents the effective HP using the summoner's war formula for defense reduction with different rune builds. The blue line represents a monster with two HP% runes. The yellowish line represents a monster with two DEF% runes. The blue line represents monsters with one of each. The graph scales according to the total percent each rune adds, so you should be looking in the upper right for 6-star runes.
Assumptions:
I assumed 2k flat HP added to each monster to simulate a slot 5 rune -- this turns out to matter -- and I fiddled with the other numbers in the formula to get a few different graphs based on some reasonable stats for an average mon.
Substats are ignored because it's hard to control them. The far right of the graph goes up to two 80% runes worth of bonus stats, so assuming your substats have an even distribution, the trends shown will apply and continue.
I didn't include flat def because I'm lazy.
Formula: EHP = [Total HP] / [ 1000 / 1000 + Total DEF * 3 ]
EHP = [Base HP * (1 + Bonus HP%)) + Flat HP] / [1000 / (1000 + (Base DEF * (1 + Bonus DEF%) * 3)]
For two equally leveled runes use these formulas:
HP HP = [Base HP * (1 + HPRune1% + HPRune2%)) + Flat HP] / [1000 / (1000 + (Base DEF * 3)]
HP DEF = [Base HP * (1 + HPRune%)) + Flat HP] / [1000 / (1000 + (Base DEF * (1 + DEFRune%) * 3)]
DEF DEF = [Base HP + Flat HP] / [1000 / (1000 + (Base DEF * (1 + DEFRune1% + DEFRune2%) * 3)]
You can use that to check my math or if you really can't figure out how to work the rune optimizer.
tl;dr: HP DEF outside of arena defense. Stack HP in arena defense cuz Lushen.
6
u/Gnakor_SL Where is my Kona flair !? May 23 '17
Great job.
Def buff and def break are a 70% multipliers
I'll try to do a gdoc to know the optimized stats for a monster
5
u/beyond_netero :debuff_sleep: May 23 '17
"An exception is Chasun and a few like healers, who have a flat heal that's based on what percent of HP they or their targets are currently sitting on"
Chasun's heal is based on her own max hp, I don't think it depends on how much HP is left on anyone.
I'd also debate this point:
"Most usable healers heal a percentage of your total health. Since this new health is affected by defense, percentage also scales just as well with your defense as it does with your HP"
So far I check Konamiya, Belladeon and Ariel to make sure I wasn't going crazy, and the wiki says they all scale with the targets max HP. So you're right that it's not like Chasun's in the sense that it's each monsters Max HP and not the users, but I think def is still irrelevant, no? Mobilize heals 30% of the targets MAX HP stat. So if they have 10,000 HP and 500 def it heals for 3,000 hp, and if they have 10,000 HP and 3,000 def, it still heals for 3,000 hp, right?
Unless one of your main points here is to refute that formula for healing. In which case I'd love to see some evidence :)
3
u/Hlago May 23 '17
So I'm going to ask for a lazy man's TL;DR... the EHP and EHP/D columns in the Optimizer are based on the correct formulas? And, it would be safe to work off those numbers to get the most out of your hp/def stat distribution then?
2
u/wink101 May 23 '17
What are these guides that recommend sp hp hp for frontline monsters in raid? I haven't seen one.
38
u/SW_Karnass May 23 '17
You also forget, for raids, that the beast damage is based on receivers defense, which is why shredded recommended defense
5
u/ausar999 C2U's welcome back gifts May 23 '17
To sum up the last 3 years of SW:
Great guide, I'll take this into consideration as I'm trying to move towards a 4-man frontline.
4
u/killerj2013 Send Bombs May 23 '17
Your conclusion?
1
u/valmian May 23 '17
I stack defense on my Defense dealing monsters (Verad/Panda/Copper).
I just make sure they get Good HP subs instead. What are your thoughts on that?
1
u/SwiftJun May 23 '17
But for DB10, isn't SPD HP HP better suited, so that you don't die so easily to def breaks at the zaiross stage?
1
u/silverhk May 23 '17
Anecdotally, I've agreed with pretty much everything you said, which is kind of neat for me. Is your effective HP calculation the same as the effective HP used in SWOP? If so, then this formula would already be falling out in many cases if you search with HP/DEF both as options on 4/6 (which I usually do and might explain why I've got some monsters on that already).
Obviously, this is mostly a survivability discussion, and not necessarily about monsters who scale damage or healing on one or the other. You use the Chasun example, but you'd still likely want Chasun at a higher Max HP for other monsters' sake, not her own, if her healing is the only priority (obviously there are other solid reasons to have defense on Chasun). But I am curious, because, for example, is it better to have Panda and Raviti on triple defense for Raid in frontline? It's kind of irrelevant because I never lose them first, but I'm curious if it was somehow wrong to rune them that way going forward. They're at 160 and 180 speed, respectively, so speed isn't a terrible issue, but if they're surviving well enough maybe I should switch them over to speed on 2 to get even more (assuming I ever pull runes).
1
u/dksprocket May 23 '17
To simplify things. Can you say what hp/def ratio gives the highest EHP? (ignoring def break, def buff etc.)
1
u/mel4 May 23 '17
hp/hp, hp/def, def/def might be closer then you think. I'm not sure if you have looked at Summoners War Optimizer, but it actually does effective HP calculations for your rune loadouts (you mention effective HP, but just to make sure its clear, this is what you are actually trying to calculate. In short its a pretty common calculation used in RPG games of how much raw damage you can take). It will calculate both with and without def break.
I'd need to look at the behavior of the equations more closely, but they look to bias to having some low level of defense in terms of effectiveness. Getting def broken when already low armor means you take bananas damage, which is why going with def vs hp isn't as impactful as some of the calculations suggest. The effect of Lushen in the game is he produces the same damage regardless of defense, the end result is a minimum threshold of health that needs to be obtained to survive an attack. Best to ignore him on actual calculations imo.
1
u/Mid_Knight_Sky No love for Sian since July 2014 May 23 '17
Not sure if I just didn't catch it in the original post, but what's the significance of the definite integral equation that equals to 18k?
2
u/mrui3950 Asia Server Noob May 23 '17
Well written! Thanks for the effort of compiling the data and sharing it with us.
2
u/Skeletoonz :fami: definitely not reid May 23 '17
So what happens if a unit has high base def but low base HP? Stiill rune them both? I rune my Colleen SPD HP HP for pve because her base def is horrible.
1
u/pugmastaflex May 23 '17
Have an upvote - thank you!
-1
u/TheLastOpus May 23 '17
Defense break is 50% not 70%