Add runeword flag (#24)

This commit is contained in:
Arto Simonyan
2024-07-01 16:30:29 +03:00
committed by GitHub
parent 3d4b0bc7a4
commit a141c9a110
2 changed files with 4 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ type Item struct {
BaseStats stat.Stats
Stats stat.Stats
Identified bool
IsRuneword bool
}
type Drop struct {

View File

@@ -241,4 +241,7 @@ func setProperties(item *data.Item, flags uint32) {
if 0x00000010&flags != 0 {
item.Identified = true
}
if 0x04000000&flags != 0 {
item.IsRuneword = true
}
}