Difference between revisions of "Script: Cov1 smoke trap"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x03) { <span style="color:#FF0000;font-weight:bold">doLocAnimation</span>(getLocation|<span st...") |
|||
Line 8: | Line 8: | ||
{ | { | ||
[[Engine Function:_doLocAnimation|<span style="color:#FF0000;font-weight:bold">doLocAnimation</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x3709, 0x01, 0x0100, 0x00, 0x00); | [[Engine Function:_doLocAnimation|<span style="color:#FF0000;font-weight:bold">doLocAnimation</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x3709, 0x01, 0x0100, 0x00, 0x00); | ||
− | [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](target, [[ | + | [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](target, [[Engine Function:_dice|<span style="color:#FF0000;font-weight:bold">dice</span>]](0x08, 0x08)); |
<span style="color:#0000FF">return</span> (0x01); | <span style="color:#0000FF">return</span> (0x01); | ||
} | } |
Latest revision as of 21:32, 18 October 2018
trigger enterrange(0x03) { doLocAnimation(getLocation(this), 0x3709, 0x01, 0x38, 0x00, 0x00); return (0x01); }
trigger enterrange(0x00) { doLocAnimation(getLocation(this), 0x3709, 0x01, 0x0100, 0x00, 0x00); loseHP(target, dice(0x08, 0x08)); return (0x01); }