mirror of
https://github.com/2006Scape-Scripts/ParaScript.git
synced 2026-07-03 00:38:36 +00:00
update experience gained (attack only)
This commit is contained in:
@@ -32,6 +32,7 @@ public class Fighting implements Strategy {
|
|||||||
Time.sleep(2000);
|
Time.sleep(2000);
|
||||||
// Wait for the Player to finish attacking (max 30 seconds)
|
// Wait for the Player to finish attacking (max 30 seconds)
|
||||||
Time.sleep(() -> !Players.getMyPlayer().isInCombat(), 30000);
|
Time.sleep(() -> !Players.getMyPlayer().isInCombat(), 30000);
|
||||||
|
Variables.updateExpGained();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Npc victim(){
|
private Npc victim(){
|
||||||
|
|||||||
Reference in New Issue
Block a user