mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-04 17:27:16 -05:00
9e58b134e5
* Refactored animation mode enum * More d2enum changes * Refactored tile enum * Refactored weapon class enum * Refactored more enums * Refactored item event enum * Fixed init_functions animation mode * Removed string2enum from MonsterAnimationMode * Refactored ItemStatCost description * Last enum lint errors * Regenerated monster stringer file
19 lines
451 B
Go
19 lines
451 B
Go
package d2enum
|
|
|
|
// from levels.txt, field `Teleport`
|
|
// https://d2mods.info/forum/kb/viewarticle?a=301
|
|
|
|
// TeleportFlag Controls if teleport is allowed in that level.
|
|
// 0 = Teleport not allowed
|
|
// 1 = Teleport allowed
|
|
// 2 = Teleport allowed, but not able to use teleport throu walls/objects
|
|
// (maybe for objects)
|
|
type TeleportFlag int
|
|
|
|
// Teleport flag types
|
|
const (
|
|
TeleportDisabled TeleportFlag = iota
|
|
TeleportEnabled
|
|
TeleportEnabledLimited
|
|
)
|