1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 14:15:23 +00:00
OpenDiablo2/d2common/d2enum/monster_alignment_type.go
dk 06202a2ddf
fixed monstats lint errors, added doc file for d2datadict (#494)
* adding comments to d2interface for linter

* moved d2render renderer interfaces and types into d2interface

* fixed most lint errors for monstats loader
2020-06-29 18:46:31 -04:00

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
)