-
Notifications
You must be signed in to change notification settings - Fork 6
/
Enchantment.psc
41 lines (28 loc) · 1.3 KB
/
Enchantment.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Scriptname Enchantment extends Form Hidden
; Is this enchantment classified as hostile?
bool Function IsHostile() native
; SKSE additions built 2015-05-24 00:46:48.937000 UTC
; return the number of the effects
int Function GetNumEffects() native
; return the magnitude of the specified effect
float Function GetNthEffectMagnitude(int index) native
; return the area of the specified effect
int Function GetNthEffectArea(int index) native
; return the duration of the specified effect
int Function GetNthEffectDuration(int index) native
; return the magic effect of the specified effect
MagicEffect Function GetNthEffectMagicEffect(int index) native
; return the index of the costliest effect
int Function GetCostliestEffectIndex() native
; sets the magnitude of the specified effect
Function SetNthEffectMagnitude(int index, float value) native
; sets the area of the specified effect
Function SetNthEffectArea(int index, int value) native
; sets the duration of the specified effect
Function SetNthEffectDuration(int index, int value) native
; returns the base enchantment of this enchantment
Enchantment Function GetBaseEnchantment() native
; Returns a Formlist of Keywords
FormList Function GetKeywordRestrictions() native
; Sets the FormList of keywords
Function SetKeywordRestrictions(FormList newKeywordList) native