Script Function: Q4CM

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4CM(obj user, obj usedon, int Q52T)
 {
   if (isDead(usedon))
   {
     return (0x00);
   }
   if (testAndLearnSkill(usedon, 0x1A, Q42Q(Q52T), 0x32) > 0x00)
   {
     systemMessage(usedon, "You feel yourself resisting magical energy!");
     return (0x01);
   }
   return (0x00);
 }