This event is called when determining the cost of training, and can be used to modify the given price.
--- @param e calcTrainingPriceEventData local function calcTrainingPriceCallback(e) end event.register(tes3.event.calcTrainingPrice, calcTrainingPriceCallback)
An event can be claimed by setting
true, or by returning
false from the callback. Claiming the event prevents any lower priority callbacks from being called.
basePrice(number): Read-only. The price before adjustment.
mobile(tes3mobileActor): Read-only. The mobile actor of the trainer the player is interacting with.
price(number): The adjusted price of the training.
reference(tes3reference): Read-only. mobile’s related reference.
skill(tes3statisticSkill): Read-only. The ID of the skill to be trained.
skillId(number): Read-only. The ID of the skill to be trained.
Created: August 10, 2021 18:38:47