mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
added more line breaks so its easier to read on github
This commit is contained in:
parent
24271306f0
commit
89e739e374
@ -20,7 +20,9 @@ Pretty simple, right? Well this is where it gets interesting:
|
|||||||
- "Aged Brie" actually increases in Quality the older it gets
|
- "Aged Brie" actually increases in Quality the older it gets
|
||||||
- The Quality of an item is never more than 50
|
- The Quality of an item is never more than 50
|
||||||
- "Sulfuras", being a legendary item, never has to be sold or decreases in Quality
|
- "Sulfuras", being a legendary item, never has to be sold or decreases in Quality
|
||||||
- "Backstage passes", like aged brie, increases in Quality as it's SellIn value approaches; Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but Quality drops to 0 after the concert
|
- "Backstage passes", like aged brie, increases in Quality as it's SellIn value approaches;
|
||||||
|
Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but
|
||||||
|
Quality drops to 0 after the concert
|
||||||
|
|
||||||
We have recently signed a supplier of conjured items. This requires an update to our system:
|
We have recently signed a supplier of conjured items. This requires an update to our system:
|
||||||
|
|
||||||
@ -30,7 +32,7 @@ Feel free to make any changes to the UpdateQuality method and add any new code a
|
|||||||
still works correctly. However, do not alter the Item class or Items property as those belong to the
|
still works correctly. However, do not alter the Item class or Items property as those belong to the
|
||||||
goblin in the corner who will insta-rage and one-shot you as he doesn't believe in shared code
|
goblin in the corner who will insta-rage and one-shot you as he doesn't believe in shared code
|
||||||
ownership (you can make the UpdateQuality method and Items property static if you like, we'll cover
|
ownership (you can make the UpdateQuality method and Items property static if you like, we'll cover
|
||||||
for you).
|
for you).
|
||||||
|
|
||||||
Just for clarification, an item can never have its Quality increase above 50, however "Sulfuras" is a
|
Just for clarification, an item can never have its Quality increase above 50, however "Sulfuras" is a
|
||||||
legendary item and as such its Quality is 80 and it never alters.
|
legendary item and as such its Quality is 80 and it never alters.
|
||||||
Loading…
Reference in New Issue
Block a user