terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ApplyNPCOnHitEffects()

void Terraria.Player.ApplyNPCOnHitEffects ( Item sItem,
Rectangle itemRectangle,
int damage,
float knockBack,
int npcIndex,
int dmgRandomized,
int dmgDone )
inlineprivate

Definition at line 14869 of file Player.cs.

14870 {
14871 int num = 1;
14872 if (num == 0)
14873 {
14874 }
14875 int type = sItem.type;
14876 int direction = this.direction;
14877 if (num == 0)
14878 {
14879 }
14880 if (type == 0)
14881 {
14882 }
14884 int whoAmI = this.whoAmI;
14885 if (type == 0)
14886 {
14887 }
14888 int num2 = 32768;
14889 bool flag = this.beetleOffense;
14890 float num3 = this.beetleCounter;
14892 byte b = this.meleeEnchant;
14893 if (num2 == 0)
14894 {
14895 }
14896 int whoAmI2 = this.whoAmI;
14897 int type2 = sItem.type;
14898 int num4 = 16256;
14899 this.stealth = (float)num4;
14900 if (num4 == 0)
14901 {
14902 }
14903 bool netClientOnly = Main.NetClientOnly;
14904 int whoAmI3 = this.whoAmI;
14905 if (sItem.type == 0)
14906 {
14907 }
14908 if (sItem.type == 0)
14909 {
14910 }
14911 if (sItem.type == 0)
14912 {
14913 }
14914 if (sItem.type == 0)
14915 {
14916 }
14917 if (sItem.type == 0)
14918 {
14919 }
14920 bool flag2 = this.strongBees;
14921 if (flag2)
14922 {
14923 if (!flag2)
14924 {
14925 }
14926 }
14927 int num5 = 21846;
14928 int direction2 = this.direction;
14929 if (num5 == 0)
14930 {
14931 }
14933 int num6 = this.beeType();
14934 int num7 = this.beeDamage(damage);
14935 int whoAmI4 = this.whoAmI;
14936 bool flag3 = this.makeStrongBee;
14937 if (num5 == 0)
14938 {
14939 }
14940 int type3 = sItem.type;
14942 if (spawnMuramasaCut)
14943 {
14944 if (!spawnMuramasaCut)
14945 {
14946 }
14947 if (num5 == 0)
14948 {
14949 }
14950 int num8 = 30;
14951 int num9 = 16;
14954 Point point;
14955 Microsoft.Xna.Framework.Vector2 vector = point.ToVector2();
14956 int direction3 = this.direction;
14957 float num10 = this.gravDir;
14959 int whoAmI5 = this.whoAmI;
14960 }
14961 bool flag4 = this.hasLuckyCoin;
14962 if (flag4)
14963 {
14964 if (!flag4)
14965 {
14966 }
14967 int num11;
14968 if (num11 == 0)
14969 {
14970 if (!flag4)
14971 {
14972 }
14973 int direction4 = this.direction;
14974 bool netClientOnly2 = Main.NetClientOnly;
14975 }
14976 }
14977 }
class f__AnonymousType0<< Count > j__TPar
float beetleCounter
Definition Player.cs:20402
IEntitySource GetProjectileSource_Item(Item item)
Definition Player.cs:3853
bool _spawnMuramasaCut
Definition Player.cs:23117
int beeDamage(int dmg)
Definition Player.cs:4230
void Inflate(int horizontalValue, int verticalValue)
Definition Rectangle.cs:423

References Terraria.Player._spawnMuramasaCut, Terraria.Player.beeDamage(), Terraria.Player.beetleCounter, Terraria.Player.beetleOffense, Terraria.Player.beeType(), Terraria.Entity.direction, Terraria.Player.GetProjectileSource_Item(), Terraria.Player.gravDir, Terraria.Player.hasLuckyCoin, Microsoft.Xna.Framework.Rectangle.Inflate(), j__TPar, Terraria.Player.makeStrongBee, Terraria.Player.meleeEnchant, Terraria.Main.NetClientOnly, Terraria.Player.strongBees, Terraria.Item.type, and Terraria.Entity.whoAmI.