Difference between revisions of "Script: Hintupdater"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> [[[[hintupdate|<span style="color:#2B91AF">hintupdate</span>]]]]; <span style="color:#0000FF">trigger</span> decay { <span s...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span style="color:#0000FF">inherits</span> [[ | + | <span style="color:#0000FF">inherits</span> [[Script:_hintupdate|<span style="color:#2B91AF">hintupdate</span>]]; |
<span style="color:#0000FF">trigger</span> decay | <span style="color:#0000FF">trigger</span> decay | ||
Line 31: | Line 31: | ||
} | } | ||
} | } | ||
− | [[ | + | [[Script_Function:_hintupdate|<span style="color:#2B91AF">hintupdate</span>]](Q65M, this); |
<span style="color:#0000FF">return</span> (0x01); | <span style="color:#0000FF">return</span> (0x01); | ||
} | } |
Latest revision as of 05:42, 24 October 2018
inherits hintupdate;
trigger decay { int Q65M = 0x02; int Q45Y = 0x00; if (!getResource(Q45Y, this, "magic", 0x03, 0x02)) { if (hasObjVar(this, "hintValue")) { Q45Y = getObjVar(this, "hintValue"); } else { Q45Y = 0x01; } } if (Q45Y < 0x14) { Q65M = 0x03; } else { if (Q45Y < 0x50) { Q65M = 0x02; } else { Q65M = 0x00; } } hintupdate(Q65M, this); return (0x01); }