Jump to content

SSnakEE

Members
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Community Answers

  1. SSnakEE's post in Armor's Set Effect With Hero Aura was marked as the answer   
    Hmm, i tested It now, and it works :P 
    UserInfo.java: (you see hero aura on yourself)
     
    if (_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HEAD)==helmId && _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) ==glovesId && _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_CHEST) == chestId && activeChar.getInventory()..getPaperdollItemId(Inventory.PAPERDOLL_LEGS) == legsId && _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET) == bootsId) { writeC(1); } else { writeC((_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA)) ? 1 : 0); // Hero Aura } 
    CharInfo.java (other players see hero aura on you)
     

    if (_inv.getPaperdollItemId(Inventory.PAPERDOLL_HEAD)==helmId && _inv.getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) ==glovesId && _inv.getPaperdollItemId(Inventory.PAPERDOLL_CHEST) == chestId && _inv.getPaperdollItemId(Inventory.PAPERDOLL_LEGS) == legsId && _inv.getPaperdollItemId(Inventory.PAPERDOLL_FEET) == bootsId) { writeC(1); } else { writeC((_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA)) ? 1 : 0); // Hero Aura }  
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..