when i'm changing Sub-Class weapon is disarmed and many times is disappear!!!
how to fix this?
i think for here
model.actor.instande.L2pcInstance
/**
* Changes the character's class based on the given class index.
* <BR><BR>
* An index of zero specifies the character's original (base) class,
* while indexes 1-3 specifies the character's sub-classes respectively.
*
* @param classIndex
*/
public boolean setActiveClass(int classIndex)
{
for (L2ItemInstance temp : getInventory().getAugmentedItems())
if (temp != null && temp.isEquipped()) temp.getAugmentation().removeBoni(this);
if(_forceBuff != null)
abortCast();
for(L2Character character : getKnownList().getKnownCharacters())
{
if(character.getForceBuff() != null && character.getForceBuff().getTarget() == this)
character.abortCast();
}
store();
I will buy the code to the source for an overview of real states with char, p.atk/m.atk, pve damage / pve defense, pvp damage, pvp defense. I have l2jsunrise files
Question
EdenEternal
hello maxchaters ! i have problem on my pack!
when i'm changing Sub-Class weapon is disarmed and many times is disappear!!!
how to fix this?
i think for here
model.actor.instande.L2pcInstance
/** * Changes the character's class based on the given class index. * <BR><BR> * An index of zero specifies the character's original (base) class, * while indexes 1-3 specifies the character's sub-classes respectively. * * @param classIndex */ public boolean setActiveClass(int classIndex) { for (L2ItemInstance temp : getInventory().getAugmentedItems()) if (temp != null && temp.isEquipped()) temp.getAugmentation().removeBoni(this); if(_forceBuff != null) abortCast(); for(L2Character character : getKnownList().getKnownCharacters()) { if(character.getForceBuff() != null && character.getForceBuff().getTarget() == this) character.abortCast(); } store();but i don't know what change!
4 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