Jump to content

SSnakEE

Members
  • Posts

    112
  • Credits

  • 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...