Attack info
Target info
Target info
Graph
Graph settings
Exact attack barGraph settings
Save (for sharing)
precapatk = atk * (engagement) * precap
where
engagement = x1.2 (15%) x1 (45%) x0.8 (30%) x0.6 (10%)
with saiun:
engagement = x1.2 (15%) x1 (45%) x0.8 (40%)
postcapatk = floor(floor((precapatk > cap) ? cap + sqrt(precapatk - cap) : precapatk) * criticalmodifier) * postcapmultiplier
dmg = floor((attack - (0.7 * armor + 0.6 * rng.nextInt(armor))) * ammomultiplier)
min(1.0, 2 * ammorem)
if(dmg < 1) -> dmg = floor(0.06 * currentHP + 0.08 * rng.nextInt(currentHP))
if(dmg >= currentHP) -> dmg = floor(0.5 * currentHP + 0.3 * rng.nextInt(currentHP))
postring = prering + [4, 4, 4, 5, 6, 7, 7, 8, 8, 9][floor(prering/10)]
nextInt
returns uniformly, 0 inclusive up to argument exclusivesetDamageValue
in
Server_Controllers.BattleLogic\BattleLogicBase.cs