Terraria invedit 1.47/9/2023 canGhostHeal is set to true by default in all enemy files, though some enemies have it directly set to false. If it's set to false, the player will not be healed. If the item or projectile checks for canGhostHeal in the hit enemy's file and finds that it's set to true, then the player will be healed. The variable is defined in the files of certain NPCs, and checked for in the files of many lifestealing items and projectiles. The variable increases by 0.5 / 0.35 / 0.3 / 0.25 instead of 0.6 / 0.5 in vanilla.ĬanGhostHeal This section primarily describes vanilla Terraria behavior.ĬanGhostHeal is an internal Boolean variable that pertains to whether or not the player can steal life from enemies. Several lifesteal effects will fail to heal the player if the cooldown variable is at or below 0, preventing the player from abusing lifesteal to keep themselves alive for longer than intended. Whenever a player is healed with a lifesteal effect, the cooldown variable is decreased by a certain amount that is typically proportional to damage. There is a hidden lifesteal cooldown variable in Terraria which is constantly increasing every frame, up to a maximum which varies depending on the current difficulty mode. Lifesteal cooldown This section primarily describes vanilla Terraria behavior.
0 Comments
Leave a Reply. |