Advertisement
kolton

Untitled

Oct 21st, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (i = 0; i < NTConfig_Precast.length; i += 1) {
  2.     if (isNaN(NTConfig_Precast[i])) { // when using skill name
  3.         NTConfig_Precast[i] = NTConfig_Precast[i].replace(/ /g, "").toLowerCase(); // standardize. Battle Orders becomes battleorders
  4.     }
  5.    
  6.     switch (NTConfig_Precast[i]) {
  7.     case 149:
  8.     case "battleorders":
  9.         if (NTP_BOSwitch()) {
  10.             NTC_CastSkill(149, NTC_HAND_RIGHT);
  11.         }
  12.        
  13.         break;
  14.     case 117:
  15.     case "holyshield":
  16.         NTC_CastSkill(117, NTC_HAND_RIGHT);
  17.         break;
  18.     }
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement