1222 {
1224 if (
drawinfo.drawPlayer.legs == 169)
1225 {
1226 return;
1227 }
1229 {
1231 {
1233 {
1236 {
1238 }
1239 }
1240 }
1242 {
1245 }
1246 }
1247 else if (
drawinfo.drawPlayer.legs == 140)
1248 {
1250 {
1252 bool flag = drawinfo.drawPlayer.legFrame.Y != drawinfo.drawPlayer.legFrame.Height || Main.gameMenu;
1253 int num = drawinfo.drawPlayer.miscCounter / 3 % 8;
1254 if (flag)
1255 {
1256 num = drawinfo.drawPlayer.miscCounter / 4 % 8;
1257 }
1260 if (
drawinfo.drawPlayer.bodyFrame.Height != 0)
1261 {
1262 num2 = 12f - Main.OffsetsPlayerHeadgear[drawinfo.drawPlayer.bodyFrame.Y /
drawinfo.drawPlayer.bodyFrame.Height].Y;
1263 }
1264 if (
drawinfo.drawPlayer.Directions.Y == -1f)
1265 {
1267 }
1273 {
1275 }
1281 }
1282 }
1284 {
1286 {
1287 return;
1288 }
1293 {
1294 return;
1295 }
1297 {
1298 for (
int i = 0;
i < 2;
i++)
1299 {
1300 item =
new DrawData(position: legsOffset +
new Vector2((float)Main.rand.
Next(-10, 10) * 0.125f, (float)Main.rand.
Next(-10, 10) * 0.125f) +
new Vector2((int)(
drawinfo.
Position.
X - Main.screenPosition.
X - (float)(
drawinfo.drawPlayer.legFrame.Width / 2) + (float)(
drawinfo.drawPlayer.width / 2)), (int)(
drawinfo.
Position.
Y - Main.screenPosition.
Y + (float)
drawinfo.drawPlayer.height - (float)
drawinfo.drawPlayer.legFrame.Height + 4f)) +
drawinfo.drawPlayer.legPosition +
drawinfo.legVect, texture:
TextureAssets.GlowMask[
drawinfo.legsGlowMask].
Value, sourceRect:
drawinfo.drawPlayer.legFrame, color:
drawinfo.legsGlowColor, rotation:
drawinfo.drawPlayer.legRotation, origin:
drawinfo.legVect, scale: 1f, effect:
drawinfo.playerEffect);
1303 }
1304 }
1305 else
1306 {
1310 }
1311 }
1313 {
1318 }
1319 }
void Add(TKey key, TValue value)
static bool ShouldOverrideLegs_CheckShoes(ref PlayerDrawSet drawinfo)
static void DrawSittingLegs(ref PlayerDrawSet drawinfo, Texture2D textureToDraw, Color matchingColor, int shaderIndex=0, bool glowmask=false)
static Asset< Texture2D >[] GlowMask
static Asset< Texture2D >[] ArmorLeg
static Asset< Texture2D >[] Extra
static Asset< Texture2D >[,] Players
static readonly int Count