Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.46 KB

critstars.md

File metadata and controls

35 lines (29 loc) · 1.46 KB

Crit stars

Crit stars formula

dropChancePerHit =
        (
(30)      baseStarRate
(31)      + firstCardBonus + (cardStarValue * max(1 + cardMod, 0))
(32)      + serverRate
(33)      + starDropMod
(34)      + enemyStarDropMod
(35)      + criticalModifier
        )
(36)    * overkillModifier
(37)    + overkillAdd

Mapping of damage formula terms to buff actions:

  • cardMod = atkSvt.commandStarAtk - defSvt.commandStarDef
  • starDropMod = atkSvt.criticalPoint
  • enemyStarDropMod = defSvt.criticalStarDamageTaken
    • Previously: enemyStarDropMod = -defSvt.criticalPoint

Other constants lookup:

  • baseStarRate: NiceServant.starGen
  • firstCardBonus, cardStarValue:
    • firstCardBonus: NiceCard.card.order.addCritical
    • cardStarValue: NiceCard.card.order.adjustCritical
  • serverRate: sent from server cache.replaced.battleInfo.userSvt.starRate
  • criticalModifier: NiceConstant.CRITICAL_STAR_RATE = 0.2
  • overkillModifier: NiceConstant.OVER_KILL_STAR_RATE = 1
  • overkillAdd: NiceConstant.OVER_KILL_STAR_ADD = 0.3