Difference between revisions of "Script: Gentrap"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x02) { <span style="color:#0000FF">int</span> damage; damage = dice|<span style="color:#FF0000;font-weight:bol...") |
|||
Line 2: | Line 2: | ||
{ | { | ||
<span style="color:#0000FF">int</span> damage; | <span style="color:#0000FF">int</span> damage; | ||
− | damage = [[ | + | damage = [[Engine Function:_dice|<span style="color:#FF0000;font-weight:bold">dice</span>]](0x05, 0x05); |
[[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](target, damage); | [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](target, damage); | ||
<span style="color:#0000FF">return</span> (0x00); | <span style="color:#0000FF">return</span> (0x00); | ||
} | } |
Latest revision as of 21:28, 18 October 2018
trigger enterrange(0x02) { int damage; damage = dice(0x05, 0x05); loseHP(target, damage); return (0x00); }