Script: Ordershield

From Ultima Online: The Second Age
Revision as of 16:54, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> virtueshield; <span style="color:#0000FF">trigger</span> equip { <span style="color:#0000FF">if</span> (isNPC|<span st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits virtueshield;
trigger equip
{
  if (isNPC(equippedon))
  {
    return (0x01);
  }
  if (getCompileFlag(0x01))
  {
    if (hasScript(equippedon, "orderguild"))
    {
      return (0x01);
    }
  }
  else
  {
    if (Q4SN(equippedon) >= 0x05)
    {
      return (0x01);
    }
  }
  Q4HV();
  return (0x00);
}