diff options
| author | workhorse <workhorse@localhost.localdomain> | 2026-06-19 03:57:06 -0400 |
|---|---|---|
| committer | workhorse <workhorse@localhost.localdomain> | 2026-06-19 03:57:06 -0400 |
| commit | 52a3ce6a4b4a254dc5d3067979a09e93c060fa20 (patch) | |
| tree | 167c62990013733bc8669c1387078bc86ea48db5 /internal/world/mob.go | |
| parent | fbd1c30d7b9777c9df6653f0c393afa7a7dfa519 (diff) | |
| download | thehouseoficarus-52a3ce6a4b4a254dc5d3067979a09e93c060fa20.tar.gz | |
feat: shops and rough assassin skill
Diffstat (limited to 'internal/world/mob.go')
| -rw-r--r-- | internal/world/mob.go | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/internal/world/mob.go b/internal/world/mob.go index daf73dc..ce9eddd 100644 --- a/internal/world/mob.go +++ b/internal/world/mob.go @@ -47,7 +47,15 @@ type MobDef struct { ScienceDefense int `yaml:"science_defense"` RangedDefense int `yaml:"ranged_defense"` - Weakness string `yaml:"weakness"` + Weakness string `yaml:"weakness"` + StealTable string `yaml:"steal_table"` + StealLevel int `yaml:"steal_level"` + StealXP int `yaml:"steal_xp"` + StealSpeed float64 `yaml:"steal_speed"` + + AssassinLevel int `yaml:"assassin_level"` + FinishingBlow string `yaml:"finishing_blow"` + DamageWithout string `yaml:"damage_without"` } type MobInstance struct { @@ -86,7 +94,15 @@ type MobInstance struct { ScienceDefense int RangedDefense int - Weakness string + Weakness string + StealTable string + StealLevel int + StealXP int + StealSpeed float64 + + AssassinLevel int + FinishingBlow string + DamageWithout string } const ( @@ -292,6 +308,13 @@ func (s *MobStore) SeedMobs(roomID int, entries []RoomMob) { ScienceDefense: dw.def.ScienceDefense, RangedDefense: dw.def.RangedDefense, Weakness: dw.def.Weakness, + StealTable: dw.def.StealTable, + StealLevel: dw.def.StealLevel, + StealXP: dw.def.StealXP, + StealSpeed: dw.def.StealSpeed, + AssassinLevel: dw.def.AssassinLevel, + FinishingBlow: dw.def.FinishingBlow, + DamageWithout: dw.def.DamageWithout, } inst.IdleDescription = pickIdleDescription(dw.def.IdleDescriptions) s.instances[instID] = inst |
