Script Function: Q45G

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q45G(obj killer, obj victim)
 {
   list Q51M;
   if (hasObjListVar(killer, "killcount"))
   {
     getObjListVar(Q51M, killer, "killcount");
   }
   if (!0x00)
   {
     if (isInList(Q51M, getName(victim)))
     {
       return ();
     }
   }
   if (0x00)
   {
     bark(killer, "Adding victim to the bounty list.");
   }
   appendToList(Q51M, getName(victim));
   setObjVar(killer, "killcount", Q51M);
   return ();
 }