Hello everyone. I am making my own balance system on Acis, and i got stuck on changing Pdef, Mdef, CritRate. I need to multiply calculated Pdef, Mdef or CritRate on activeChar based on his class. I found getPdef() function in CreatureStat.java.
public int getPDef(Creature target)
{
return (int) calcStat(Stats.POWER_DEFENCE, _activeChar.getTemplate().getBasePDef() * ((_activeChar.isRaid()) ? Config.RAID_DEFENCE_MULTIPLIER : 1), target, null);
}
But then i multiply this return, it also applies on targets. So how do i make it apply only on players based on class?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello, I would like to create the same quest as in the video but I will need help because this is my first time doing something like this. Any advice and tutorial would be helpful.
My opinion there is nothing close to official package. As muche we developers try to update + fix skills quests and many other shit on all those packages , we never or they never gonna succeed!!
all packs use the same l2j base just different emmprovments.
dose it matter what is l2jmobius / Acis / Lucera and many many more that we see 15 years now all are the same packs with similar problems a and many issues..... the difference is some smart people make money from
newbies that they believe that if they purchase a pack from premium projects
they will have something special they really stupid themselves...
any way Lineage2 is dead many years now so.
hapy Christmas to all and peace
The Ultimate Winter Skin for Lineage 2
Experience frosty armor that melds luxurious furs, glacial spikes, and breathtaking metallic finishes - all designed to strike fear into your foes.
2 Epic Roman Skins for Lineage 2 | Any protocol | All classes
Inspired by the unstoppable might of the ancient legions, these skins feature towering crests, ornate shields, and fearsome metal plating that radiates authority from regal red capes to radiant golden finishes.
Question
dobriux
Hello everyone. I am making my own balance system on Acis, and i got stuck on changing Pdef, Mdef, CritRate. I need to multiply calculated Pdef, Mdef or CritRate on activeChar based on his class. I found getPdef() function in CreatureStat.java.
public int getPDef(Creature target) { return (int) calcStat(Stats.POWER_DEFENCE, _activeChar.getTemplate().getBasePDef() * ((_activeChar.isRaid()) ? Config.RAID_DEFENCE_MULTIPLIER : 1), target, null); }
But then i multiply this return, it also applies on targets. So how do i make it apply only on players based on class?
Sorry for very bad english.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.