Jump to content

Question

11 answers to this question

Recommended Posts

  • 0
Posted

Nah ill try but im not skilled i want to learn from this :3

 

u said that u are good on Java also Skilled Person now what happened? someone reported you on another Community that u bought something and u didnt paid to person why u dont tell to people what u really are?

  • 0
Posted

if u can, im searching a code for put hero aura in a specific set like, draco or imperial crusader only

  • 0
Posted (edited)

if u can, im searching a code for put hero aura in a specific set like, draco or imperial crusader only

 

Inventory.java

 +if (armorSet.isEnchanted20(player))
  +                     {
   +                        player.setHero(true);
    +                   }
+else
+return;
         +           
					if (armorSet.isEnchanted6(player)) // has all parts of set enchanted to 6 or more
					{

L2Armorset.java In the end add

   public boolean isEnchanted20(L2PcInstance player)
	    {
	         // Player don't have full set
	        if(!containAll(player))
	            return false;
	
	       Inventory inv = player.getInventory();
	
	        L2ItemInstance chestItem  = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST);
	        L2ItemInstance legsItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS);
	        L2ItemInstance headItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD);
	        L2ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES);
	        L2ItemInstance feetItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET);
	
	        if (chestItem.getId=Id) ||(chestItem.getEnchantLevel() < 20)
	            return false;
	        if (legsItem.getId=Id) ||(_legs != 0 && legsItem.getEnchantLevel() < 20)
	            return false;
	        if (glovesItem.getId=Id) ||(_gloves != 0 && glovesItem.getEnchantLevel() < 20)
	            return false;
	        if (headItem.getId=Id) ||(_head != 0 && headItem.getEnchantLevel() < 20)
	            return false;
	        if (feetItem.getId=Id) ||(_feet != 0 && feetItem.getEnchantLevel() < 20)
	            return false;
	
	        return true;
	    }
Edited by alextoti13
  • 0
Posted

 

Inventory.java

 +if (armorSet.isEnchanted20(player))
  +                     {
   +                        player.setHero(true);
    +                   }
+else
+return;
         +           
					if (armorSet.isEnchanted6(player)) // has all parts of set enchanted to 6 or more
					{

L2Armorset.java In the end add

   public boolean isEnchanted20(L2PcInstance player)
	    {
	         // Player don't have full set
	        if(!containAll(player))
	            return false;
	
	       Inventory inv = player.getInventory();
	
	        L2ItemInstance chestItem  = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST);
	        L2ItemInstance legsItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS);
	        L2ItemInstance headItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD);
	        L2ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES);
	        L2ItemInstance feetItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET);
	
	        if (chestItem.getId=Id) ||(chestItem.getEnchantLevel() < 20)
	            return false;
	        if (legsItem.getId=Id) ||(_legs != 0 && legsItem.getEnchantLevel() < 20)
	            return false;
	        if (glovesItem.getId=Id) ||(_gloves != 0 && glovesItem.getEnchantLevel() < 20)
	            return false;
	        if (headItem.getId=Id) ||(_head != 0 && headItem.getEnchantLevel() < 20)
	            return false;
	        if (feetItem.getId=Id) ||(_feet != 0 && feetItem.getEnchantLevel() < 20)
	            return false;
	
	        return true;
	    }

he wants aura not the player to be hero he will get the aura but player gets hero 

 

Also credits to Tessa for the code you just changed abnormaleffect with player.setHero lol

  • 0
Posted

 

Inventory.java

 +if (armorSet.isEnchanted20(player))

 

if u can, im searching a code for put hero aura in a specific set like, draco or imperial crusader only

 

Who's talk you for +20 armor?

also Hyo say "draco or imperial only".

Guest
This topic is now closed to further replies.


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