Difference between revisions of "Script: Sha fire circle"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">trigger</span> message(<span style="color:#800000">"poof"</span>) { <span style="color:#0000FF">list</span> Q67G; <span style="color:#0000F...")
 
 
Line 11: Line 11:
 
     {
 
     {
 
       Q67D = Q67G[i];
 
       Q67D = Q67G[i];
       [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](Q67D, [[dice|<span style="color:#FF0000;font-weight:bold">dice</span>]](0x08, 0x08));
+
       [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](Q67D, [[Engine Function:_dice|<span style="color:#FF0000;font-weight:bold">dice</span>]](0x08, 0x08));
 
     }
 
     }
 
   }
 
   }
 
   <span style="color:#0000FF">return</span> (0x00);
 
   <span style="color:#0000FF">return</span> (0x00);
 
  }
 
  }

Latest revision as of 21:51, 18 October 2018

trigger message("poof")
{
  list Q67G;
  obj Q67D;
  loc Q59R = getLocation(this);
  doLocAnimation(Q59R, 0x3709, 0x01, 0x0100, 0x00, 0x00);
  getMobsInRange(Q67G, Q59R, 0x01);
  if (numInList(Q67G) != 0x00)
  {
    for(int i = 0x00; i < numInList(Q67G); i++)
    {
      Q67D = Q67G[i];
      loseHP(Q67D, dice(0x08, 0x08));
    }
  }
  return (0x00);
}