-
Notifications
You must be signed in to change notification settings - Fork 3
/
eff.go
52 lines (47 loc) · 1.06 KB
/
eff.go
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
42
43
44
45
46
47
48
49
50
51
52
package bg
type effHeader struct {
Signature, Version [4]byte
}
type effEffect struct {
Signature, Version [4]byte
EffectID uint32
TargetType uint32
SpellLevel uint32
EffectAmount int32
DWFlags uint32
DurationType uint32
Duration uint32
ProbabilityUpper uint16
ProbabilityLower uint16
Res [8]byte
NumDice uint32
DiceSize uint32
SavingThrow uint32
SaveMod int32
Special uint32
School uint32
JeremyIsAnIdiot uint32
MinLevel uint32
MaxLevel uint32
Flags uint32
EffectAmount2 int32
EffectAmount3 int32
EffectAmount4 int32
EffectAmound5 int32
Res2 [8]byte
Res3 [8]byte
SourceX int32
SourceY int32
TargetX int32
TargetY int32
SourceType uint32
SourceRes [8]byte
SourceFlags uint32
ProjectileType uint32
SlotNum int32
ScriptName [32]byte
CasterLevel uint32
FirstCall uint32
SecondaryType uint32
Pad [15]uint32
}