This commit is contained in:
sigonasr2 2023-05-29 20:46:20 -05:00
parent d6e9f3bdc9
commit 1b17486765

View File

@ -354,12 +354,12 @@ class Server
} }
float ayaHealth=GetAyaHealth(); float ayaHealth=GetAyaHealth();
float mythraHealth=GetMythraHealth(); float mythraHealth=GetMythraHealth();
if (ayaHealth<0.4){ if (ayaHealth<40){
PressKey(KeyEvent.VK_F2); PressKey(KeyEvent.VK_F2);
Heal(Target.AYA); Heal(Target.AYA);
break fightLoop; break fightLoop;
} }
if (ayaHealth<0.6){ if (ayaHealth<60){
if (whisperingDawnTimer==0&&feyIlluminationTimer<60000){ if (whisperingDawnTimer==0&&feyIlluminationTimer<60000){
PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_C); PressKeyWithModifier(KeyEvent.VK_CONTROL, KeyEvent.VK_C);
whisperingDawnTimer=60000; whisperingDawnTimer=60000;
@ -373,7 +373,7 @@ class Server
break fightLoop; break fightLoop;
} }
} }
if (mythraHealth<0.4){ if (mythraHealth<40){
PressKey(KeyEvent.VK_F1); PressKey(KeyEvent.VK_F1);
Heal(Target.MYTHRA); Heal(Target.MYTHRA);
break fightLoop; break fightLoop;