āš”ļøDamage System

How the plugin calculate damage based on stat?

  • DamageSystem:

    • max_resistance: <int>: Max resistance stat

    • max_dodge: <int>: Max dodge chance stat

    • mob_reduced_physic: <int>: Percent physic damage reduced on attack monster

    • mob_reduced_magic: <int>: Percent magic damage reduced on attack monster

    • message:

      • on_cooldown: <string>: message when using item on cooldown

      • crit: <string>: message when doing a critical attack

      • block: <string>: message when block an attack

      • be_blocked: <string>: message when be blocked an attack

      • dodge: <string>: message when dodge an attack

      • miss: <string>: message when miss an attack

      • parry: <string>: message when parry an attack

      • absorb: <string>: message when aborb an attack

Attack Speed

Time between two attack. Based on player attack speed stat. Higher make this shorter

cooldown=1/AtkSpdcooldown = 1 / AtkSpd

Example: AtkSpd = 1 <=> cooldown = 1(s) AtkSpd = 3 <=> cooldown = 0.33(s) AtkSpd = 0.2 <=> cooldown = 5(s)

Damage

Why you need to know that? - For a balance server (not have any overpower item) All function below are in case of PVP

Damage=VanillaDamage+StatDamageDamage = VanillaDamage + StatDamage

StatDamage=PhysicDamage+MagicDamageStatDamage = PhysicDamage + MagicDamage

PhysicDamage=(PsDmgāˆ—20)/(20+(PsArmorāˆ’PsPier))PhysicDamage = (PsDmg*20)/(20+(PsArmor-PsPier))

MagicDamage=(MDmgāˆ—20āˆ—1.2)/(20+(MArmorāˆ’MPier))MagicDamage = (MDmg*20*1.2)/(20+(MArmor-MPier))

Last updated