Test
This commit is contained in:
parent
1b17486765
commit
83a578dabf
@ -356,6 +356,7 @@ class Server
|
|||||||
float mythraHealth=GetMythraHealth();
|
float mythraHealth=GetMythraHealth();
|
||||||
if (ayaHealth<40){
|
if (ayaHealth<40){
|
||||||
PressKey(KeyEvent.VK_F2);
|
PressKey(KeyEvent.VK_F2);
|
||||||
|
r.delay(100);
|
||||||
Heal(Target.AYA);
|
Heal(Target.AYA);
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
@ -375,6 +376,7 @@ class Server
|
|||||||
}
|
}
|
||||||
if (mythraHealth<40){
|
if (mythraHealth<40){
|
||||||
PressKey(KeyEvent.VK_F1);
|
PressKey(KeyEvent.VK_F1);
|
||||||
|
r.delay(100);
|
||||||
Heal(Target.MYTHRA);
|
Heal(Target.MYTHRA);
|
||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
@ -402,6 +404,7 @@ class Server
|
|||||||
break fightLoop;
|
break fightLoop;
|
||||||
}
|
}
|
||||||
long difference=System.currentTimeMillis()-lastFrame;
|
long difference=System.currentTimeMillis()-lastFrame;
|
||||||
|
System.out.println("Difference:"+difference);
|
||||||
bioTimer=Math.max(0,bioTimer-difference);
|
bioTimer=Math.max(0,bioTimer-difference);
|
||||||
lucidDreamingTimer=Math.max(0,lucidDreamingTimer-difference);
|
lucidDreamingTimer=Math.max(0,lucidDreamingTimer-difference);
|
||||||
nextActionTimer=Math.max(0,nextActionTimer-difference);
|
nextActionTimer=Math.max(0,nextActionTimer-difference);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user