Script: Manaup

From Ultima Online: The Second Age
Revision as of 19:42, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> spelskil; <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4KR(<span style="color:#0000F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits spelskil;
function void Q4KR(obj user, obj usedon)
{
  restoreMana(usedon);
  setCurMana(usedon, 0x5A);
  return ();
}
trigger use
{
  targetObj(user, this);
  return (0x00);
}
trigger targetobj
{
  Q4KR(user, usedon);
  return (0x00);
}