TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ IsWeaponSubCategory()

static bool Terraria.ModLoader.PrefixLoader.IsWeaponSubCategory ( PrefixCategory category)
inlinestatic

Definition at line 192 of file PrefixLoader.cs.

193 {
194 if (category != 0 && category != PrefixCategory.Ranged)
195 {
196 return category == PrefixCategory.Magic;
197 }
198 return true;
199 }

Referenced by Terraria.ModLoader.PrefixLoader.CanRoll(), and Terraria.ModLoader.PrefixLoader.Roll().

+ Here is the caller graph for this function: