Damage

From Salem Wiki
Revision as of 11:32, 6 June 2012 by ©TriMoon™ (talk | contribs) (Explaining damage, using info from forum)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There are currently two kinds of damage you can cause in Salem:

Blood Damage

This is the damage you do to other players (and creatures?)
The formula used was explained on irc by loftar:

Posted by sabinati on Salem-forum

well, it's possible that it changed, but i doubt it.  chatlogs ahoy:

16:48   loftar [swords] didn't get knocked per se. They merely got updated to the new(er) damage model.
16:48   loftar    They now do twice as much damage as punch.
16:48   loftar    Of course, they'll be replaced altogether with the new fighting system. It was just a stop-gap.
16:50   sabinati   punch was sqrt(sqrt(ybile)) or something right
16:51   loftar    No, it works such that it draws an amount of your own ybile, which scales as sqrt(current ybile).
16:51   loftar    And then does 5 times that amount in blood damage on the target.
16:51   loftar    The sword now works the same, except it draws twice the amount of ybile, and therefore does twice the damage.
16:55   loftar    For punch, [the amount of yellow bile drained] is sqrt(ybile / 10k) * 0.05 * 10k
16:55   sabinati   with 5k being the starting value for ybil
16:55   loftar    Yes.
16:57   loftar    Note that it's your current amount of ybile that counts, not your cap.
16:59   sabinati   what about stomp/uppercut
17:00   sabinati   do they use similar damage forumulas w/r/t drain vs damage
17:00   loftar    Stomp uses 0.15 instead of 0.05, and uppercut 0.1 instead of 0.05.
17:00   loftar    However, they translate worse into blood damage.
17:00   loftar    Uppercut does 4 times the drained ybile in blood damage, and stomp 3.

So to sum it up with current numbers and simplified:

  • cYB = Current Yellow-Bile
  • YBd = Yellow-Bile drain
  • Dmg = Blood-Damage done
Attack type: YBd: Dmg:
Stomp 1.5 * SQRT(cYB/10) 3 * YBd eg. 4.5 * SQRT(cYB/10)
Uppercut 1 * SQRT(cYB/10) 4 * YBd eg. 4 * SQRT(cYB/10)
Punch 0.5 * SQRT(cYB/10) 5 * YBd eg. 2.5 * SQRT(cYB/10)

Example, stomp with 5 YB:

Structure Damage

Posted by sabinati on Salem-forum

The stone wall absorbs the first 5 points of damage that you deal to it per "tick" of damage.
Your damage is currently calculated as the square root of your phlegm, meaning 25 phlegm deals 5 damage.
So just 25 phlegm will deal 0 damage to the wall.

I seem to think that stone axes give a damage boost?
It might be a base of one or two points (I'm fairly certain it increases flat damage, that's how it worked in haven).
So you might be able to get away with 16+ phlegm.