diff options
Diffstat (limited to 'internal/action')
| -rw-r--r-- | internal/action/behavior.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/action/behavior.go b/internal/action/behavior.go index e0b8cdf..c7ed0c4 100644 --- a/internal/action/behavior.go +++ b/internal/action/behavior.go @@ -4,7 +4,7 @@ type GatherConfig struct { Skill string `yaml:"skill"` Level int `yaml:"level"` XP int `yaml:"xp"` - BaseWait int `yaml:"base_wait"` + BaseWait float64 `yaml:"base_wait"` Tools []string `yaml:"tools"` Bait string `yaml:"bait"` Success SuccessFormula `yaml:"success"` @@ -13,10 +13,10 @@ type GatherConfig struct { ExhaustedMessage string `yaml:"exhausted_message"` FailMsg string `yaml:"fail_message"` Drops []DropEntry `yaml:"drops"` - RespawnTimer int `yaml:"respawn_timer"` + RespawnTimer float64 `yaml:"respawn_timer"` RespawnMsg string `yaml:"respawn_message"` RespawnBroadcast string `yaml:"respawn_broadcast"` - DepleteTimer int `yaml:"deplete_timer"` + DepleteTimer float64 `yaml:"deplete_timer"` NestChance int `yaml:"nest_chance"` } @@ -64,7 +64,7 @@ type Condition struct { type UseConfig struct { Message string `yaml:"message"` - Wait int `yaml:"wait"` + Wait float64 `yaml:"wait"` Consume map[string]int `yaml:"consume"` Reward DropEntry `yaml:"reward"` FailMsg string `yaml:"fail_message"` |
