master
sigonasr2 2 years ago
parent 3e4224c095
commit d6e9f3bdc9
  1. 87
      sig/App.java

@ -231,6 +231,9 @@ class Server
long lastFrame=System.currentTimeMillis();
void Heal(Target target){
if (target==Target.AYA){
allowedToAetherflow=true;
}
if (aetherflowStacks>0){
PressKey(KeyEvent.VK_C);
aetherflowStacks--;
@ -343,57 +346,57 @@ class Server
nextActionTimer=1000;
break fightLoop;
}
}
if (allowedToAetherflow&&aetherflowTimer==0){
PressKeyWithModifier(KeyEvent.VK_ALT, KeyEvent.VK_2);
nextActionTimer=1000;
aetherflowStacks=3;
break fightLoop;
}
float ayaHealth=GetAyaHealth();
float mythraHealth=GetMythraHealth();
if (ayaHealth<0.4){
PressKey(KeyEvent.VK_F2);
Heal(Target.AYA);
break fightLoop;
}
if (ayaHealth<0.6){
if (whisperingDawnTimer==0&&feyIlluminationTimer<60000){
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_C);
whisperingDawnTimer=60000;
if (allowedToAetherflow&&aetherflowTimer==0){
PressKeyWithModifier(KeyEvent.VK_ALT, KeyEvent.VK_2);
nextActionTimer=1000;
aetherflowStacks=3;
break fightLoop;
} else
if (feyIlluminationTimer==0&&whisperingDawnTimer<30000){
PressKey(KeyEvent.VK_X);
feyIlluminationTimer=120000;
nextActionTimer=1000;
}
float ayaHealth=GetAyaHealth();
float mythraHealth=GetMythraHealth();
if (ayaHealth<0.4){
PressKey(KeyEvent.VK_F2);
Heal(Target.AYA);
break fightLoop;
}
}
if (mythraHealth<0.4){
PressKey(KeyEvent.VK_F1);
Heal(Target.MYTHRA);
break fightLoop;
}
//Looks like we're attacking.
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_8);
float targetHealth=GetTargetHealth();
if (!MultipleTargets()){
if (targetHealth>50&&bioTimer==0){
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_2);
bioTimer=30000;
nextActionTimer=2500;
if (ayaHealth<0.6){
if (whisperingDawnTimer==0&&feyIlluminationTimer<60000){
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_C);
whisperingDawnTimer=60000;
nextActionTimer=1000;
break fightLoop;
} else
if (feyIlluminationTimer==0&&whisperingDawnTimer<30000){
PressKey(KeyEvent.VK_X);
feyIlluminationTimer=120000;
nextActionTimer=1000;
break fightLoop;
}
}
if (mythraHealth<0.4){
PressKey(KeyEvent.VK_F1);
Heal(Target.MYTHRA);
break fightLoop;
}
//Looks like we're attacking.
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_8);
float targetHealth=GetTargetHealth();
if (!MultipleTargets()){
if (targetHealth>50&&bioTimer==0){
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_2);
bioTimer=30000;
nextActionTimer=2500;
break fightLoop;
} else {
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_1);
nextActionTimer=2500;
break fightLoop;
}
} else {
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_1);
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_Z);
nextActionTimer=2500;
break fightLoop;
}
} else {
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_Z);
nextActionTimer=2500;
break fightLoop;
}
}
break fightLoop;

Loading…
Cancel
Save