Test
This commit is contained in:
parent
3e4224c095
commit
d6e9f3bdc9
89
sig/App.java
89
sig/App.java
@ -231,6 +231,9 @@ class Server
|
|||||||
long lastFrame=System.currentTimeMillis();
|
long lastFrame=System.currentTimeMillis();
|
||||||
|
|
||||||
void Heal(Target target){
|
void Heal(Target target){
|
||||||
|
if (target==Target.AYA){
|
||||||
|
allowedToAetherflow=true;
|
||||||
|
}
|
||||||
if (aetherflowStacks>0){
|
if (aetherflowStacks>0){
|
||||||
PressKey(KeyEvent.VK_C);
|
PressKey(KeyEvent.VK_C);
|
||||||
aetherflowStacks--;
|
aetherflowStacks--;
|
||||||
@ -343,57 +346,57 @@ class Server
|
|||||||
nextActionTimer=1000;
|
nextActionTimer=1000;
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
}
|
if (allowedToAetherflow&&aetherflowTimer==0){
|
||||||
if (allowedToAetherflow&&aetherflowTimer==0){
|
PressKeyWithModifier(KeyEvent.VK_ALT, KeyEvent.VK_2);
|
||||||
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;
|
|
||||||
nextActionTimer=1000;
|
|
||||||
break fightLoop;
|
|
||||||
} else
|
|
||||||
if (feyIlluminationTimer==0&&whisperingDawnTimer<30000){
|
|
||||||
PressKey(KeyEvent.VK_X);
|
|
||||||
feyIlluminationTimer=120000;
|
|
||||||
nextActionTimer=1000;
|
nextActionTimer=1000;
|
||||||
|
aetherflowStacks=3;
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
}
|
float ayaHealth=GetAyaHealth();
|
||||||
if (mythraHealth<0.4){
|
float mythraHealth=GetMythraHealth();
|
||||||
PressKey(KeyEvent.VK_F1);
|
if (ayaHealth<0.4){
|
||||||
Heal(Target.MYTHRA);
|
PressKey(KeyEvent.VK_F2);
|
||||||
break fightLoop;
|
Heal(Target.AYA);
|
||||||
}
|
|
||||||
//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;
|
break fightLoop;
|
||||||
|
}
|
||||||
|
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 {
|
} else {
|
||||||
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_1);
|
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_Z);
|
||||||
nextActionTimer=2500;
|
nextActionTimer=2500;
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_Z);
|
|
||||||
nextActionTimer=2500;
|
|
||||||
break fightLoop;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user