20130 {
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20146 for (int i = 0; i < 1000; i++)
20147 {
20148 if (Main.projectile[i].active && Main.projectile[i].type == 456 && Main.projectile[i].ai[1] == (
float)
whoAmI)
20149 {
20151 break;
20152 }
20153 }
20154 if (
num != -1 && !(Main.projectile[
num].ai[0] < 0
f))
20155 {
20156 Projectile projectile = Main.projectile[
num];
20157 Vector2
vector =
default(Vector2);
20159 Vector2 value = Main.npc[(int)
Math.Abs(projectile.ai[0]) - 1].Center - base.Center +
vector;
20160 if (((Vector2)(
ref value)).Length() > 200
f)
20161 {
20162 Vector2
vector2 = Vector2.Normalize(value);
20164 }
20165 }
20166 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Vector2 position
The position of this Entity in world coordinates.