4 using Microsoft.Xna.Framework;
12 public override int EssenceCraftCost => 10;
13 protected override string CubeName =>
"Black Cube";
14 protected override Color? OverrideNameColor => Color.LightSlateGray;
16 protected override TooltipLine ExtraTooltip =>
new TooltipLine(mod,
"BlackCube::Description::Add_Box",
17 "Always rolls 4 lines" +
18 "\nMaximum potential: Legendary" +
19 "\nCan roll 25% stronger modifiers" +
20 "\n+4 luck with this cube")
22 overrideColor = OverrideNameColor
27 item.value = Item.buyPrice(copper: 1);
Defines a set of rolling utilities
float ExtraLuck
Gives extra luck when rolling modifiers
Defines properties that will be used when an item is being rolled in a IRollingStrategy<T> These can ...
override void SafeDefaults()
static DefaultRollingStrategy Default
override void SafeStaticDefaults()
float MagnitudePower
The minimum strength of lines to roll
override RollingStrategy GetRollingStrategy(Item item, RollingStrategyProperties properties)
int MinRollableLines
The minimum amount of modifiers to roll
Defines a rerolling cube that opens the rerolling UI on right click The method M:GetRollingStrategy c...