Add runeword flag (#24)
This commit is contained in:
@@ -61,6 +61,7 @@ type Item struct {
|
|||||||
BaseStats stat.Stats
|
BaseStats stat.Stats
|
||||||
Stats stat.Stats
|
Stats stat.Stats
|
||||||
Identified bool
|
Identified bool
|
||||||
|
IsRuneword bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type Drop struct {
|
type Drop struct {
|
||||||
|
|||||||
@@ -241,4 +241,7 @@ func setProperties(item *data.Item, flags uint32) {
|
|||||||
if 0x00000010&flags != 0 {
|
if 0x00000010&flags != 0 {
|
||||||
item.Identified = true
|
item.Identified = true
|
||||||
}
|
}
|
||||||
|
if 0x04000000&flags != 0 {
|
||||||
|
item.IsRuneword = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user