Entity Predict
Closed this issue · 4 comments
TechAle commented
Who tf coded entity predict?
switch (attackAmount.getValue()) {
case 1:
attackEntity(entityId + 1);
break;
case 2:
attackEntity(entityId + 1);
attackEntity(entityId + 2);
break;
case 3:
attackEntity(entityId + 1);
attackEntity(entityId + 2);
attackEntity(entityId + 3);
break;
case 4:
attackEntity(entityId + 1);
attackEntity(entityId + 2);
attackEntity(entityId + 3);
attackEntity(entityId + 4);
break;
case 5:
attackEntity(entityId + 1);
attackEntity(entityId + 2);
attackEntity(entityId + 3);
attackEntity(entityId + 4);
attackEntity(entityId + 5);
break;
}
Do you know that for exists?
urelNiP commented
it will be faster ur ca in openanarcy or eliteanarchy idk
gerald0mc commented
Who tf coded entity predict?
switch (attackAmount.getValue()) { case 1: attackEntity(entityId + 1); break; case 2: attackEntity(entityId + 1); attackEntity(entityId + 2); break; case 3: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); break; case 4: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); attackEntity(entityId + 4); break; case 5: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); attackEntity(entityId + 4); attackEntity(entityId + 5); break; }
Do you know that for exists?
this is used on stuff like stairs it predicts shit
TechAle commented
Stairs predict? This is bad coded entity predict lmao + i dont find any correlations with stairs predict
It's a "i dont know what a for is, i'll use a switch", one of the worst things i have ever read.
ProfKambing commented
Who tf coded entity predict?
switch (attackAmount.getValue()) { case 1: attackEntity(entityId + 1); break; case 2: attackEntity(entityId + 1); attackEntity(entityId + 2); break; case 3: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); break; case 4: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); attackEntity(entityId + 4); break; case 5: attackEntity(entityId + 1); attackEntity(entityId + 2); attackEntity(entityId + 3); attackEntity(entityId + 4); attackEntity(entityId + 5); break; }
Do you know that for exists?
zprestige