Script Function: Q41K

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q41K(obj Q4P2, obj target, int Q4GH)
 {
   if (Q41L(Q4P2, target))
   {
     sfx(getLocation(target), 0x0211, 0x00);
     obj caster = Q4RM(Q4P2);
     if ((Q4W8) || (target == caster))
     {
       caster = NULL();
     }
     else
     {
       list Q5DT;
       appendToList(Q5DT, caster);
       messageToRange(getLocation(this), 0x04, "hitsomething", Q5DT);
     }
     Q556(target);
     int Q527 = Q427(NULL(), Q4GH, this, target, 0x02, 0x00);
   }
   return ();
 }