Pills
Overview
GetFalsePHDPillEffect(PillEffect
pillEffect)
GetHorsePillCollor(PillColor
pillColor)
GetPHDPillEffect(PillEffect
pillEffect)
string
GetPillEffectName(PillEffect
pillEffect)
GetPillEffectType(PillEffect
pillEffect)
boolean
IsHorsePill(PillColor
pillColor)
Functions
GetFalsePHDPillEffect()
PillEffect
GetFalsePHDPillEffect(
PillEffect
pillEffect)
Helper function to get the corresponding pill effect a pill effect would be converted into after picking up False PHD. If the pill wouldn't transform, it returns the same pill effect.
GetHorsePillCollor()
PillColor
GetHorsePillCollor(
PillColor
pillColor)
Helper function to get the corresponding horse pill color from a normal pill color
GetNormalPillColorFromHorsePill()
PillColor
GetNormalPillColorFromHorsePill(
PillColor
pillColor)
Helper function to get the corresponding normal pill color from a horse pill color
GetPHDPillEffect()
PillEffect
GetPHDPillEffect(
PillEffect
pillEffect)
Helper function to get the corresponding pill effect a pill effect would be converted into after picking up PHD. If the pill wouldn't transform, it returns the same pill effect.
GetPillEffectName()
string GetPillEffectName(
PillEffect
pillEffect)
Helper function to get the name of a given pill effect. For modded pill effects it returns the name set in the xml.
GetPillEffectType()
PillEffectType
GetPillEffectType(
PillEffect
pillEffect)
Helper function to get the PillEffectType
of a given pill effect. Due to API limitations, it'll returns PillEffectType.MODDED
for modded pills.
IsHorsePill()
boolean IsHorsePill(
PillColor
pillColor)
Helper function to check if a pill color corresponds to a horse pill.
Last updated