mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-04 09:11:39 +00:00
feat: added Conjured item
This commit is contained in:
parent
b96440778e
commit
d46757243c
@ -66,11 +66,7 @@ class Sulfuras(Item):
|
||||
|
||||
class Conjured(Item):
|
||||
name: str = "Conjured"
|
||||
def daily_step(self):
|
||||
if self.quality < 50:
|
||||
self.quality += 1
|
||||
super().daily_step()
|
||||
|
||||
degradation_per_day: int = Item.degradation_per_day * 2
|
||||
|
||||
items_mappings: dict[str, type[Item]] = {
|
||||
"Aged Brie": AgedBrie,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user