mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-26 13:15:56 -04:00
06202a2ddf
* adding comments to d2interface for linter * moved d2render renderer interfaces and types into d2interface * fixed most lint errors for monstats loader
18 lines
507 B
Go
18 lines
507 B
Go
package d2enum
|
|
|
|
// MonsterAlignmentType determines the hostility of the monster towards players
|
|
type MonsterAlignmentType int
|
|
|
|
const (
|
|
// MonsterEnemy flag will make monsters hostile towards players
|
|
MonsterEnemy MonsterAlignmentType = iota
|
|
|
|
// MonsterFriend will make monsters friendly towards players
|
|
// this is likely used by NPC's and summons
|
|
MonsterFriend
|
|
|
|
// MonsterNeutral will make monsters not care about players or monsters
|
|
// this flag is used for `critter` type monsters
|
|
MonsterNeutral
|
|
)
|