Details of Chen's Bad Prefix Reroller


Display Name
Chen's Bad Prefix Reroller
Name
ChensBadPrefixReroller
Version
v0.0.3
Author
blancfaye7
File
Download 26.2 KB Sync now ( Origin, Mirror 1, Mirror 7, Mirror 8, Mirror 9, Mirror 10)
Last Updated
2 years ago
Description
This mod literally just rerolls the vanilla bad prefixes into another existing one. That's it.

Do note that this mod implements a way to avoid going into an infinite loop, so only a limited number of virtual retries are implemented. If you are very unlucky, you'd still get one of the bad prefixes. Number of retries is configurable.

One can add more (or remove some) "bad" prefixes by using Mod.Call.

Adding a bad prefix:
Mod mod = ModLoader.GetMod("ChensBadPrefixReroller");
if (mod != null)
{
mod.Call("AddBadPrefix", PrefixID.Legendary);
mod.Call("AddBadPrefix", ModContent.PrefixType<MyModdedPrefix>());
}

Removing a bad prefix:
Mod mod = ModLoader.GetMod("ChensBadPrefixReroller");
if (mod != null)
{
mod.Call("RemoveBadPrefix", PrefixID.Awkward);
mod.Call("RemoveBadPrefix", ModContent.PrefixType<MyModdedPrefix>());
}
tModLoader Version
v0.11.8.5
Localizer Package
Localizer Package
Homepage
https://github.com/cheeeeeeeeeen/Chens-Bad-Prefix-Reroller
Icon
https://i.imgur.com/vPEGlik.png https://i.imgur.com/vPEGlik.png
Mod Side
Both
Downloads
1431
Hot
0
Edit | Back to List