Difference between revisions of "Script Function: Q4DB"
From Ultima Online: The Second Age
| Line 7: | Line 7: | ||
[[Engine Function:_setCurHP|<span style="color:#FF0000;font-weight:bold">setCurHP</span>]](this, 0x00); | [[Engine Function:_setCurHP|<span style="color:#FF0000;font-weight:bold">setCurHP</span>]](this, 0x00); | ||
[[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](this, 0x2710); | [[Engine Function:_loseHP|<span style="color:#FF0000;font-weight:bold">loseHP</span>]](this, 0x2710); | ||
| + | <span style="color:#0000FF">return</span> (); | ||
| + | } | ||
| + | |||
| + | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4DB() | ||
| + | { | ||
| + | [[Engine Function:_removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVar</span>]](this, <span style="color:#800000">"trapLevel"</span>); | ||
| + | [[Engine Function:_removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVar</span>]](this, <span style="color:#800000">"trapType"</span>); | ||
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } | ||
Revision as of 04:08, 10 October 2018
function void Q4DB() { bark(this, "I regret nothing!"); list args; message(getBackpack(this), "cleanup", args); makeVulnerable(this); setCurHP(this, 0x00); loseHP(this, 0x2710); return (); }
function void Q4DB() { removeObjVar(this, "trapLevel"); removeObjVar(this, "trapType"); return (); }