mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 11:34:15 -04:00
- made an enum for NPCActionType to get rid of magic numbers - moved the enum to d2enum - fixed lint errors in npc.go - fixed lint errors in mapstamp.go (because it was using npc.go)
15 lines
282 B
Go
15 lines
282 B
Go
package d2enum
|
|
|
|
// NPCActionType determines composite mode animations for NPC's as they move around
|
|
type NPCActionType int
|
|
|
|
// NPCAction types
|
|
// TODO: Figure out what 1-3 are for
|
|
const (
|
|
NPCActionInvalid NPCActionType = iota
|
|
NPCAction1
|
|
NPCAction2
|
|
NPCAction3
|
|
NPCActionSkill1
|
|
)
|