Script Function: Q41M

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q41M(obj Q4P2, obj target, int Q463)
 {
   if (Q41L(Q4P2, target))
   {
     sfx(getLocation(target), 0x0208, 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(), Q463, this, target, 0x04, 0x00);
   }
   return ();
 }