Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Commit

Permalink
won't abruptly stop boss progress when getting 503
Browse files Browse the repository at this point in the history
  • Loading branch information
kandoan committed Jul 1, 2018
1 parent c47fb3c commit b6b58fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/gmail/vkhanh234/SaliensAuto/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ private static int progressBoss() {
private static ReportBossDamageResponse reportBossDamage(int damage, int heal, int damageTaken) {
RequestResult result = RequestUtils.post("ITerritoryControlMinigameService/ReportBossDamage","use_heal_ability="+heal+"&damage_to_boss="+damage
+"&damage_taken="+damageTaken);
if(result.data==null) return null;
String data = result.data;
Moshi moshi = new Moshi.Builder().build();
JsonAdapter<ReportBossDamageResponse> jsonAdapter = moshi.adapter(ReportBossDamageResponse.class);
Expand Down

0 comments on commit b6b58fe

Please sign in to comment.