Jump to content

Balancer For Acis


te0x

Recommended Posts

  • 4 weeks later...
  • 3 weeks later...

have bug you remove -200 on class and take off armor you have pdef 0...Failed i fixed change that for alll

Fixed By:Thanks Fofas

CharStat.java

 

double val = calcStat(Stats.POWER_DEFENCE, _activeChar.getTemplate().getBasePDef() * ((_activeChar.isRaid()) ? Config.RAID_DEFENCE_MULTIPLIER : 1), target, null);
if (_activeChar instanceof L2PcInstance && ((L2PcInstance) _activeChar).getClassId().getId() >= 88)
{
val += BalanceLoad.PDef[((L2PcInstance) _activeChar).getClassId().getId() - 88];
}


if (val >= 0)
return (int) val;
else
return 0;

      Change to

double val = calcStat(Stats.POWER_DEFENCE, _activeChar.getTemplate().getBasePDef() * ((_activeChar.isRaid()) ? Config.RAID_DEFENCE_MULTIPLIER : 1), target, null);
if (_activeChar instanceof L2PcInstance && ((L2PcInstance) _activeChar).getClassId().getId() >= 88)
{
val += BalanceLoad.PDef[((L2PcInstance) _activeChar).getClassId().getId() - 88];
}


if (val >= 0)
return (int) val;
else
return (int) calcStat(Stats.POWER_DEFENCE, _activeChar.getTemplate().getBasePDef() * ((_activeChar.isRaid()) ? Config.RAID_DEFENCE_MULTIPLIER : 1), target, null);
Edited by madarismenos
Link to comment
Share on other sites

  • 8 months later...
  • 6 months later...
  • 2 weeks later...
  • 1 year later...
2 minutes ago, Xenokage said:

where can it fail ?

You can do exactly the same by just adding one custom passive skill to each class.
And handle everything by using //reload skills don't need this code. Also its really OLD code.

Start with editing your server buffs and class retail passive skills first to find the balance.
 

Link to comment
Share on other sites

1 minute ago, Xenokage said:

i already do that i just need a ingame support like this , if it wont fail me somewhere else later why should i not use ? it may be old but thats not reason for not using it , would i notice future problems ?

Already told you its old hardcoded code.. make custom passive skill for your classes and you have more options then this code.
Up to you if you want to use it.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...