ddon-server/Arrowgene.Ddon.Scripts/scripts/point_modifiers
Paul Campbell cdfe4685c5 fixes: Fix issues reported
- Fixed an issue where death still dropped loot and exp when running
  away.
- Replaced bonus_exp_equipment.csx with the scripts
  - bonus_exp_enemyequipment.csx
  - bonus_exp_questequipment.csx
- Fixed an issue where Severely Infected Scourge was used instead of
  Scourge in EM5.
2025-04-24 23:51:48 -04:00
..
base_ap_scaledpoints.csx
base_exp_enemyscaledpoints.csx
base_exp_pawncatchup.csx
base_exp_penalty_ptlvdiff.csx
base_exp_penalty_tgtlvdiff.csx
base_exp_questscaledpoints.csx
base_jp_scaledpoints.csx
base_pp_scaledpoints.csx
bonus_ap_questcourse.csx
bonus_exp_enemycourse.csx
bonus_exp_enemyequipment.csx
bonus_exp_questcourse.csx
bonus_exp_questequipment.csx
bonus_pp_enemycourse.csx
README.md

Point Modifiers

The scripts in this module define different types of point modifiers (such as exp, jp and pp).

A point modifier can have 2 types

  • Base Modifier
  • Bonus Modifier

Base modifiers are applied to the base point amount. Bonus modifiers are applied to the new base amount after all modifiers have been applied.

Each modifier also has 3 actions when calculating the final percentage

  • Additive
  • Multiplicative

The algorithm which will calculate the final modifier does as follows

  1. Add together all Additive multipliers.
  2. Apply all the Multiplicative multipliers.

Guidelines

All point modifiers should be able to have their settings be updated by a hot load event while the server is running.

Script naming

  • Scripts which define modifications to the base amount should be base_<point_type>_<name>.csx
    • example base_exp_globalmodifiers.csx
    • example base_exp_ptlvdiff.csx
  • Scripts which define a bonus should be named as bonus_<point_type>_<name>.csx.
    • example bonus_exp_equipment.csx.
    • example bonus_exp_gpcourse.csx.