calcSpellmakingPrice⚓︎
This event is called when determining the cost of making a spell. The price can be modified.
--- @param e calcSpellmakingPriceEventData
local function calcSpellmakingPriceCallback(e)
end
event.register(tes3.event.calcSpellmakingPrice, calcSpellmakingPriceCallback)
Tip
An event can be claimed by setting e.claim
to true
, or by returning false
from the callback. Claiming the event prevents any lower priority callbacks from being called.
Event Data⚓︎
mobile
(tes3mobileActor): Read-only. The mobile actor of the spellmaking service npc the player is interacting with.price
(number): The price of the spell.reference
(tes3reference): Read-only. Mobile's related reference.
Related events⚓︎
calcBarterPricecalcEnchantmentPricecalcRepairPricecalcSpellmakingPricecalcSpellPricecalcTrainingPricecalcTravelPrice