|
|
|
@ -356,6 +356,7 @@ class Server |
|
|
|
|
float mythraHealth=GetMythraHealth(); |
|
|
|
|
if (ayaHealth<40){ |
|
|
|
|
PressKey(KeyEvent.VK_F2); |
|
|
|
|
r.delay(100); |
|
|
|
|
Heal(Target.AYA); |
|
|
|
|
break fightLoop; |
|
|
|
|
} |
|
|
|
@ -375,6 +376,7 @@ class Server |
|
|
|
|
} |
|
|
|
|
if (mythraHealth<40){ |
|
|
|
|
PressKey(KeyEvent.VK_F1); |
|
|
|
|
r.delay(100); |
|
|
|
|
Heal(Target.MYTHRA); |
|
|
|
|
break fightLoop; |
|
|
|
|
} |
|
|
|
@ -402,6 +404,7 @@ class Server |
|
|
|
|
break fightLoop; |
|
|
|
|
} |
|
|
|
|
long difference=System.currentTimeMillis()-lastFrame; |
|
|
|
|
System.out.println("Difference:"+difference); |
|
|
|
|
bioTimer=Math.max(0,bioTimer-difference); |
|
|
|
|
lucidDreamingTimer=Math.max(0,lucidDreamingTimer-difference); |
|
|
|
|
nextActionTimer=Math.max(0,nextActionTimer-difference); |
|
|
|
|