Difference between revisions of "Script: Remprtct"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> spelskil; <span style="color:#0000FF">trigger</span> callback(0x13) { <span style="color:#0000FF">if</span> (hasObjVar...") |
(No difference)
|
Latest revision as of 14:41, 5 October 2018
inherits spelskil;
trigger callback(0x13) { if (hasObjVar(this, "defenseBonus")) { int Q48Q = getObjVar(this, "defenseBonus"); int Q5MX = getNaturalAC(this) - Q48Q; setNaturalAC(this, Q5MX); removeObjVar(this, "defenseBonus"); } detachScript(this, "remprtct"); return (0x00); }