Script: Activate

From Ultima Online: The Second Age
Jump to: navigation, search
 function void activate(obj victim)
 {
   loc Q61V = getLocation(this);
   doLocAnimation(Q61V, 0x119B, 0x0A, 0x05, 0x00, 0x00);
   list Q67L;
   getObjectsAt(Q67L, Q61V);
   appendToList(Q67L, victim);
   int Q53A = numInList(Q67L);
   for(int i = 0x00; i < Q53A; i++)
   {
     if (isMobile(Q67L[i]))
     {
       loseHP(Q67L[i], 0x0A);
     }
   }
   return ();
 }