Skip to content

Commit 0a7bd6d

Browse files
Remove dead code
1 parent ff7c878 commit 0a7bd6d

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

src/D2SSharp.Tests/SizeEstimationTests.cs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -270,48 +270,6 @@ private static Item CreateRarePersonalizedRing(StorePage page, int x, int y, str
270270
};
271271
}
272272

273-
private static Item CreateMaxStatRareRing(StorePage page, int x, int y)
274-
{
275-
return new Item
276-
{
277-
Flags = ItemFlags.Identified,
278-
Version = 96,
279-
Position = new ItemPosition
280-
{
281-
Mode = ItemMode.Stored,
282-
StorePage = page,
283-
InvX = (byte)x,
284-
InvY = (byte)y
285-
},
286-
ItemCodeString = "rin ",
287-
ItemSeed = 0xABCDEF01,
288-
ItemLevel = 99,
289-
Quality = ItemQuality.Rare,
290-
QualityData = new RareCraftQualityData
291-
{
292-
RarePrefixId = 100,
293-
RareSuffixId = 100,
294-
Prefixes = [200, 250, 300],
295-
Suffixes = [100, 150, 200]
296-
},
297-
Stats =
298-
[
299-
// 4 attributes (would display as "+X to all attributes" in game)
300-
new Stat(StatId.Strength, 0, 30),
301-
new Stat(StatId.Dexterity, 0, 30),
302-
new Stat(StatId.Vitality, 0, 30),
303-
new Stat(StatId.Energy, 0, 30),
304-
// 4 resists (would display as "+X% to all resistances" in game)
305-
new Stat(StatId.FireResist, 0, 40),
306-
new Stat(StatId.LightningResist, 0, 40),
307-
new Stat(StatId.ColdResist, 0, 40),
308-
new Stat(StatId.PoisonResist, 0, 40),
309-
new Stat(StatId.AttackRating, 0, 100),
310-
new Stat(StatId.IncreasedAttackSpeed, 0, 20)
311-
]
312-
};
313-
}
314-
315273
private static Item CreateSocketedPersonalizedWand(StorePage page, int x, int y, string personalizedName)
316274
{
317275
return new Item

0 commit comments

Comments
 (0)