Script Function: Q4K6

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q4K6(obj this, obj target)
 {
   string Q5N7;
   list Q5N8;
   string Q5H4;
   int Q602;
   string Q4GZ;
   int Q4H0;
   if (!getCompileFlag(0x01))
   {
     Q4H0 = getNotoriety(target);
   }
   else
   {
     Q4H0 = getKarma(target);
   }
   Q4GZ = Q4H0;
   Q5N8 = "Thou'rt wanted!", "Flee now before I behead thee, scum!", "How nice of thee to come to meet my blade.", "Stand back, everyone, a dastardly criminal approaches.", "Now, I shall kill thee.", "A warrant is outstanding for thy execution.", "Thou hast made a fatal mistake by showing thy filthy face.", "'Twill be a pleasure to dispatch a scoundrel such as thee.", "Beware, all, whilst I dispose of this evildoer.", "'Tis a shame that thou canst not reform, for now I shall have to kill thee.", "Thy sort is not welcome here. Thou hadst best run now.", "Get out of our city, scum!";
   Q5N7 = Q5N8[random(0x00, 0x0B)];
   Q5H4 = getName(target) + "! " + Q5N7;
   Q602 = getDirectionInternal(getLocation(this), getLocation(target));
   faceHere(this, Q602);
   bark(this, Q5H4);
   walkTo(this, getLocation(target), 0x11);
   setObjVar(this, "guyToKill", target);
   return ();
 }