diff options
Diffstat (limited to 'internal/world/mob.go')
| -rw-r--r-- | internal/world/mob.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/world/mob.go b/internal/world/mob.go index 59c8a20..c161e10 100644 --- a/internal/world/mob.go +++ b/internal/world/mob.go @@ -28,11 +28,11 @@ type MobDef struct { Strength int `yaml:"strength"` Defense int `yaml:"defense"` HP int `yaml:"hp"` - Speed int `yaml:"speed"` + Speed float64 `yaml:"speed"` Aggressive bool `yaml:"aggressive"` Protected bool `yaml:"protected"` Unique bool `yaml:"unique"` - RespawnTicks int `yaml:"respawn_ticks"` + RespawnTicks float64 `yaml:"respawn_ticks"` Drops DropTable `yaml:"drops"` } @@ -46,17 +46,17 @@ type MobInstance struct { Attack int Strength int Defense int - Speed int + Speed float64 Aggressive bool Protected bool Unique bool - RespawnTicks int + RespawnTicks float64 RoomID int HomeRoomID int Drops DropTable IdleDescription string WanderRooms []int - WanderInterval int + WanderInterval float64 WanderTickCounter int regenerateTick int } |
