Package net.sf.l2j.gameserver.skills

Examples of net.sf.l2j.gameserver.skills.Stats


      if (Config.L2JMOD_CHAMPION_ENABLE && _activeChar.isChampion())
        bonusAtk = Config.L2JMOD_CHAMPION_ATK;
      double attack = _activeChar.getTemplate().baseMAtk * bonusAtk;
    // Get the skill type to calculate its effect in function of base stats
    // of the L2Character target
    Stats stat = skill == null ? null : skill.getStat();

    if (stat != null)
    {
      switch (stat)
      {
View Full Code Here


    @Override
  public int getMAtk(L2Character target, L2Skill skill)
    {
        double attack = getActiveChar().getPetData().getPetMAtk();
        Stats stat = skill == null? null : skill.getStat();
        if (stat != null)
        {
            switch (stat)
            {
            case AGGRESSION: attack += getActiveChar().getTemplate().baseAggression; break;
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.skills.Stats

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.