Hyo Posted February 20, 2015 Posted February 20, 2015 (edited) I want to make a code for when you equip a set, appear the hero aura. I see a post about that but now im search it and cant be found The code consist in edit the CharInfo.java and UserInfo.java writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Hero Aura I dont remember how to make the code exactly but i remember need add it, but need to put the id of each item set (i dont know how to make the code for that) + 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); My question is, how i can reform the code to put the CHEST,LEGS,HEAD,GLOVES and FEET ID. How i can make to put 2 or more sets? Thx Edited February 20, 2015 by Hyo
0 Tessa Posted March 12, 2015 Posted March 12, 2015 Well, if all of your development time is just copy / paste, I can't help you a lot. Forget about the code, indeed it's useless in your case.
0 Ayami- Posted March 12, 2015 Posted March 12, 2015 (edited) Not exactly , I showed you an example of how it worked had thought the code I'm looking for .. But you instead of helping , showed another code which is useless for my help ... because it is for other chronicle and not exactly what I was asking . If a lot of java and not well ask for help , I never do reluctantly .. And not for a project (just a hobby) not rush to find what I want . Refute my post with your interlude code did not help me at all, thank you very much Tessa :happyforever: Edited March 12, 2015 by Ayami-
Question
Hyo
I want to make a code for when you equip a set, appear the hero aura.
I see a post about that but now im search it and cant be found
The code consist in edit the CharInfo.java and UserInfo.java
I dont remember how to make the code exactly but i remember need add it, but need to put the id of each item set (i dont know how to make the code for that)
+ 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);
My question is, how i can reform the code to put the CHEST,LEGS,HEAD,GLOVES and FEET ID.
How i can make to put 2 or more sets?
Thx
Edited by Hyo32 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now