Script Function: Q41K

From Ultima Online: The Second Age
Revision as of 15:52, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q41K(<span style="color:#0000FF">obj</span> Q4P2, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }