Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. final StringBuilder sb = new StringBuilder();
  2. activeChar.sendMessage("1st conditiong passed");
  3. for (int rboss : RBOSSES)
  4. {
  5. int lol = GrandBossManager.getInstance().getBossStatus(rboss);
  6. String name = NpcTable.getInstance().getTemplate(rboss).getName().toUpperCase();
  7. activeChar.sendMessage("2nd conditiong passed");
  8. if (lol == 0)
  9. {
  10. sb.append("" + name + "&nbsp;<font color=\"FFFF00\">IS ALIVE!</font><br1>");
  11. }
  12. else
  13. {
  14. sb.append("&nbsp;" + name + "&nbsp;<font color=\"FF0000\">IS DEAD</font><br1>");
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement