Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.GameObject.sendMessage()


      }
      _snowmanState = SnowmanState.SAVED;
    }
    else
    {
      player.sendMessage("Event 'SavingSnowman' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here


      }
      _snowmanState = SnowmanState.SAVED;
    }
    else
    {
      player.sendMessage("Event 'SavingSnowman' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event: TvT Arena 1 started.");
      Announcements.getInstance().announceToAll("�?ачал�?�? TvT Arena 1 �?вент.");
    }
    else
    {
      player.sendMessage("TvT Arena 1 Event already started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here

      System.out.println("TvT Arena 1 Event stopped.");
      Announcements.getInstance().announceToAll("TvT Arena 1 �?вент окончен.");
    }
    else
    {
      player.sendMessage("TvT Arena 1 Event not started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here

      return value;
    }
    Double attDiff = attacker.calcStat(element.getAttack(), power) - defender.calcStat(element.getDefence(), 0.);
    if ((pAttacker != null) && pAttacker.isDebug())
    {
      pAttacker.sendMessage("Element: " + element.name());
      pAttacker.sendMessage("Attack: " + attacker.calcStat(element.getAttack(), power));
      pAttacker.sendMessage("Defence: " + defender.calcStat(element.getDefence(), 0.));
      pAttacker.sendMessage("Modifier: " + (attDiff < 0 ? "On defense " : "On attack ") + AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff));
    }
    if(attDiff < 0)
View Full Code Here

    }
    Double attDiff = attacker.calcStat(element.getAttack(), power) - defender.calcStat(element.getDefence(), 0.);
    if ((pAttacker != null) && pAttacker.isDebug())
    {
      pAttacker.sendMessage("Element: " + element.name());
      pAttacker.sendMessage("Attack: " + attacker.calcStat(element.getAttack(), power));
      pAttacker.sendMessage("Defence: " + defender.calcStat(element.getDefence(), 0.));
      pAttacker.sendMessage("Modifier: " + (attDiff < 0 ? "On defense " : "On attack ") + AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff));
    }
    if(attDiff < 0)
    {
View Full Code Here

    Double attDiff = attacker.calcStat(element.getAttack(), power) - defender.calcStat(element.getDefence(), 0.);
    if ((pAttacker != null) && pAttacker.isDebug())
    {
      pAttacker.sendMessage("Element: " + element.name());
      pAttacker.sendMessage("Attack: " + attacker.calcStat(element.getAttack(), power));
      pAttacker.sendMessage("Defence: " + defender.calcStat(element.getDefence(), 0.));
      pAttacker.sendMessage("Modifier: " + (attDiff < 0 ? "On defense " : "On attack ") + AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff));
    }
    if(attDiff < 0)
    {
      return value / AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff);
View Full Code Here

    if ((pAttacker != null) && pAttacker.isDebug())
    {
      pAttacker.sendMessage("Element: " + element.name());
      pAttacker.sendMessage("Attack: " + attacker.calcStat(element.getAttack(), power));
      pAttacker.sendMessage("Defence: " + defender.calcStat(element.getDefence(), 0.));
      pAttacker.sendMessage("Modifier: " + (attDiff < 0 ? "On defense " : "On attack ") + AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff));
    }
    if(attDiff < 0)
    {
      return value / AttributeDamageResistTable.getInstance().getAttributeBonus(attDiff);
    }
View Full Code Here

        long tax = TradeHelper.getTax(seller, totalCost);
        if (tax > 0)
        {
          totalCost -= tax;
          seller.sendMessage(new CustomMessage("trade.HavePaidTax", seller).addNumber(tax));
        }
        seller.addAdena(totalCost);
        seller.saveTradeList();
      }
      finally
View Full Code Here

      System.out.println("Event: TvT Arena 3 started.");
      Announcements.getInstance().announceToAll("�?ачал�?�? TvT Arena 3 �?вент.");
    }
    else
    {
      player.sendMessage("TvT Arena 3 Event already started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.