Difference between revisions of "Script: Decayinfo"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">trigger</span> use { <span style="color:#FF0000;font-weight:bold">targetObj</span>(user, this); <span style="color:#0000FF">r...")
 
(No difference)

Latest revision as of 22:53, 5 October 2018

trigger use
{
  targetObj(user, this);
  return (0x01);
}
trigger targetobj
{
  int Q63B;
  string Q63C;
  string Q5N7;
  Q63C = objToStr(usedon);
  concat(Q5N7, Q63C);
  concat(Q5N7, " ");
  Q63B = getDecayCount(usedon);
  Q63C = Q63B;
  concat(Q5N7, Q63C);
  concat(Q5N7, " ");
  Q63B = getDecayMax(usedon);
  Q63C = Q63B;
  concat(Q5N7, Q63C);
  barkTo(usedon, user, Q5N7);
  return (0x01);
}