Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc.
That's his mail address evgesha.nrnr@gmail.com , stay away!
@Atom @Celestine
Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc.
That's his mail address evgesha.nrnr@gmail.com , stay away!
@Celestine
@Atom
Question
tazerman2
hello all i need a little help i need make evasion from raidboss/monster/minions
like now a raidboss have same accuracy with evasion i need make a code for take
accuracy from player and sub -5 / - 10 from evasion like same this
public int getEvasionRate(final L2Character target)
{
if (_activeChar == null)
return 1;
float SubEvasion = -20;
if(_activeChar instanceof L2RaidBossInstance)
{
return (int) calcStat(Stats.EVASION_RATE, _activeChar.getEvasionRate(_activeChar) - SubEvasion, target, null);
}
return (int) (calcStat(Stats.EVASION_RATE, 0, target, null) / _activeChar.getArmourExpertisePenalty());
}
but i am not sure how to do that if any can help i am happy
6 answers to this question
Recommended Posts