Definition at line 11114 of file Player.cs.
11115 {
11120 {
11122 if (
whoAmI == Main.myPlayer)
11123 {
11125 }
11126 }
11128 {
11131 }
11135 {
11137 }
11139 {
11140 case 3797:
11144 break;
11145 case 3798:
11148 break;
11149 case 3799:
11153 break;
11154 case 3800:
11157 break;
11158 case 3801:
11161 break;
11162 case 3802:
11166 break;
11167 case 3806:
11170 break;
11171 case 3807:
11174 break;
11175 case 3808:
11179 break;
11180 case 3803:
11183 break;
11184 case 3804:
11188 break;
11189 case 3805:
11192 break;
11193 case 3871:
11197 break;
11198 case 3872:
11201 break;
11202 case 3873:
11206 break;
11207 case 3874:
11211 break;
11212 case 3875:
11216 break;
11217 case 3876:
11221 break;
11222 case 3877:
11226 break;
11227 case 3878:
11231 break;
11232 case 3879:
11236 break;
11237 case 3880:
11241 break;
11242 case 3881:
11246 break;
11247 case 3882:
11251 break;
11252 }
11254 {
11256 }
11258 {
11260 }
11262 {
11264 if (Main.tenthAnniversaryWorld)
11265 {
11267 }
11268 }
11270 {
11272 }
11274 {
11276 }
11278 {
11281 }
11283 {
11287 }
11289 {
11293 }
11295 {
11297 }
11299 {
11304 }
11306 {
11310 }
11312 {
11314 }
11316 {
11318 }
11320 {
11322 }
11324 {
11326 }
11328 {
11330 }
11332 {
11334 }
11336 {
11339 }
11341 {
11343 }
11345 {
11348 }
11350 {
11353 }
11355 {
11358 }
11360 {
11362 }
11364 {
11366 }
11368 {
11370 }
11372 {
11374 }
11376 {
11378 }
11380 {
11382 }
11384 {
11388 }
11390 {
11393 }
11395 {
11398 }
11400 {
11402 }
11404 {
11407 }
11409 {
11412 }
11414 {
11417 }
11419 {
11422 }
11424 {
11426 }
11428 {
11430 }
11432 {
11434 }
11436 {
11440 }
11442 {
11445 }
11447 {
11450 }
11452 {
11454 }
11456 {
11459 }
11461 {
11464 }
11466 {
11469 }
11471 {
11475 }
11477 {
11480 }
11482 {
11485 }
11487 {
11491 }
11493 {
11496 }
11498 {
11501 }
11503 {
11505 }
11507 {
11510 }
11512 {
11516 }
11518 {
11521 }
11523 {
11527 }
11529 {
11532 }
11534 {
11538 }
11540 {
11544 }
11546 {
11550 }
11552 {
11555 }
11557 {
11560 }
11562 {
11564 }
11566 {
11569 }
11571 {
11574 }
11576 {
11579 }
11581 {
11584 }
11586 {
11589 }
11591 {
11594 }
11596 {
11600 }
11602 {
11605 }
11607 {
11610 }
11612 {
11617 }
11619 {
11622 }
11624 {
11627 }
11629 {
11632 }
11634 {
11637 }
11639 {
11642 }
11644 {
11648 }
11650 {
11653 }
11655 {
11658 }
11660 {
11663 }
11665 {
11668 }
11670 {
11673 }
11675 {
11678 }
11680 {
11683 }
11685 {
11687 }
11689 {
11691 }
11693 {
11696 }
11698 {
11700 }
11702 {
11704 }
11706 {
11708 }
11710 {
11712 }
11714 {
11719 }
11721 {
11724 }
11726 {
11729 }
11731 {
11734 }
11736 {
11739 }
11741 {
11744 }
11746 {
11749 }
11751 {
11754 }
11756 {
11759 }
11761 {
11763 }
11765 {
11767 }
11769 {
11771 }
11773 {
11775 }
11777 {
11779 }
11781 {
11783 }
11785 {
11787 }
11789 {
11791 }
11793 {
11795 }
11797 {
11800 }
11802 {
11805 }
11807 {
11811 }
11813 {
11817 }
11819 {
11823 }
11825 {
11829 }
11831 {
11836 }
11838 {
11841 }
11843 {
11847 }
11849 {
11853 }
11855 {
11860 }
11862 {
11865 }
11867 {
11870 }
11872 {
11875 }
11877 {
11880 }
11882 {
11886 }
11888 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
static void UpdateEquip(Item item, Player player)
Hook at the end of Player.VanillaUpdateEquip can be called to apply additional code related to access...
This serves as the central class from which item-related functions are carried out....
float moveSpeed
The multiplier on this player's F:Terraria.Player.maxRunSpeed and F:Terraria.Player....
float whipRangeMultiplier
ref StatModifier meleeDamage
int statManaMax2
The maximum mana this player can have, adjusted by buffs and equipment.
ref StatModifier rangedDamage
ref float armorPenetration
ref StatModifier magicDamage
void RefreshInfoAccsFromItemType(Item item)
StatModifier bulletDamage
DefenseStat statDefense
The defense value of this player. The Defense wiki pageteaches how player defense affects incoming d...
StatModifier specialistDamage
int maxMinions
The maximum value of minions this player can have summoned at once. A minion's value is stored as F...
void RefreshMechanicalAccsFromItemType(int accType)
ref StatModifier minionDamage
bool DoBootsEffect_PlaceFlowersOnTile(int X, int Y)
ref StatModifier allDamage
void DoBootsEffect(Utils.TileActionAttempt theEffectMethod)
float manaCost
The percent of mana actually used when mana is consumed. Cannot reduce an item's mana cost below 0.
int lifeRegen
The rate of this player's life regeneration in health/ticks, divided by 120. For example,...
void SpawnHallucination(Item item)
References Terraria.Player.accDivingHelm, Terraria.Player.aggro, Terraria.Player.allCrit, Terraria.Player.allDamage, Terraria.Player.ammoCost75, Terraria.Player.ammoCost80, Terraria.Player.armorPenetration, Terraria.Player.arrowDamage, Terraria.Player.bulletDamage, Terraria.Player.canFloatInWater, Terraria.Player.chloroAmmoCost80, Terraria.Player.DoBootsEffect(), Terraria.Player.DoBootsEffect_PlaceFlowersOnTile(), Terraria.Player.fishingSkill, Terraria.Player.flowerBoots, Terraria.Player.hasRaisableShield, Terraria.Player.huntressAmmoCost90, Terraria.Player.lifeRegen, Terraria.Player.magicCrit, Terraria.Player.magicDamage, Terraria.Player.manaCost, Terraria.Player.maxMinions, Terraria.Player.maxTurrets, Terraria.Player.meleeCrit, Terraria.Player.meleeDamage, Terraria.Player.meleeSpeed, Terraria.Player.minionDamage, Terraria.Player.moonLordLegs, Terraria.Player.moveSpeed, Terraria.Main.myPlayer, Terraria.Player.nightVision, Terraria.Player.pickSpeed, Terraria.Player.rangedCrit, Terraria.Player.rangedDamage, Terraria.Player.RefreshInfoAccsFromItemType(), Terraria.Player.RefreshMechanicalAccsFromItemType(), Terraria.Player.slowFall, Terraria.Player.SpawnHallucination(), Terraria.Player.specialistDamage, Terraria.Player.statDefense, Terraria.Player.statManaMax2, Terraria.Main.tenthAnniversaryWorld, Terraria.ModLoader.ItemLoader.UpdateEquip(), Terraria.Player.whipRangeMultiplier, and Terraria.Entity.whoAmI.
Referenced by Terraria.ModLoader.ModAccessorySlot.ApplyEquipEffects(), and Terraria.Player.UpdateEquips().