Difference between revisions of "GetSpellUsageNum"
Jump to navigation
Jump to search
imported>SJML Bot (Bot creating condition functions pages.) |
imported>DavidJCobb (command's functionality verified through disassembly) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This condition function was introduced in Skyrim; it runs on an [[Actor]] and accepts a [[Spell]] as its argument. Its purpose and return value are not known at this time. | |||
Disassembly indicates that it retrieves one of the [[Magic Effect|magic effects]] from the input spell (though we don't know which effect yet). The function then loops over all active effects on the subject reference, and sums the magnitudes of any active effect that uses the same base effect that was retrieved from the spell. The sum of those magnitudes is the function's return value. | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Latest revision as of 13:46, 23 July 2018
This condition function was introduced in Skyrim; it runs on an Actor and accepts a Spell as its argument. Its purpose and return value are not known at this time.
Disassembly indicates that it retrieves one of the magic effects from the input spell (though we don't know which effect yet). The function then loops over all active effects on the subject reference, and sums the magnitudes of any active effect that uses the same base effect that was retrieved from the spell. The sum of those magnitudes is the function's return value.