Script Function: Q45G

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