Script Function: Q4SX

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4SX(int Q52T)
 {
   int Q4EF = 0x00;
   switch (Q52T)
   {
   case 0x01
     Q4EF = 0x04;
     break;
   case 0x02
     Q4EF = 0x06;
     break;
   case 0x03
     Q4EF = 0x09;
     break;
   case 0x04
     Q4EF = 0x0B;
     break;
   case 0x05
     Q4EF = 0x0E;
     break;
   case 0x06
     Q4EF = 0x14;
     break;
   case 0x07
     Q4EF = 0x28;
     break;
   case 0x08
     Q4EF = 0x32;
     break;
   }
   return (Q4EF);
 }