isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
30 lines • 1.52 kB
TypeScript
/** This represents the kinds of stats that a player can have. */
export declare enum PlayerStat {
/** Corresponds to `CacheFlag.DAMAGE` (1 << 0) and `EntityPlayer.Damage`. */
DAMAGE = 0,
/** Corresponds to `CacheFlag.FIRE_DELAY` (1 << 1) and `EntityPlayer.MaxFireDelay`. */
FIRE_DELAY = 1,
/** Corresponds to `CacheFlag.SHOT_SPEED` (1 << 2) and `EntityPlayer.ShotSpeed`. */
SHOT_SPEED = 2,
/** Corresponds to `CacheFlag.RANGE` (1 << 3) and `EntityPlayer.TearHeight`. */
TEAR_HEIGHT = 3,
/** Corresponds to `CacheFlag.RANGE` (1 << 3) and `EntityPlayer.TearRange`. */
TEAR_RANGE = 4,
/** Corresponds to `CacheFlag.RANGE` (1 << 3) and `EntityPlayer.TearFallingAcceleration`. */
TEAR_FALLING_ACCELERATION = 5,
/** Corresponds to `CacheFlag.RANGE` (1 << 3) and `EntityPlayer.TearFallingSpeed`. */
TEAR_FALLING_SPEED = 6,
/** Corresponds to `CacheFlag.SPEED` (1 << 4) and `EntityPlayer.MoveSpeed`. */
MOVE_SPEED = 7,
/** Corresponds to `CacheFlag.TEAR_FLAG` (1 << 5) and `EntityPlayer.TearFlags`. */
TEAR_FLAG = 8,
/** Corresponds to `CacheFlag.TEAR_COLOR` (1 << 6) and `EntityPlayer.TearColor`. */
TEAR_COLOR = 9,
/** Corresponds to `CacheFlag.FLYING` (1 << 7) and `EntityPlayer.CanFly`. */
FLYING = 10,
/** Corresponds to `CacheFlag.LUCK` (1 << 10) and `EntityPlayer.Luck`. */
LUCK = 11,
/** Corresponds to `CacheFlag.SIZE` (1 << 11) and `EntityPlayer.SpriteScale`. */
SIZE = 12
}
//# sourceMappingURL=PlayerStat.d.ts.map