Package lineage2.gameserver.model

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


            {
              owner.sendMessage(new CustomMessage("YOU_HAVE_RESTORED_S1_HP_OF_YOUR_PET", owner).addNumber(Math.round(addToHp)));
            }
            else
            {
              owner.sendMessage(new CustomMessage("S1_HAS_BEEN_RESTORED_S2_HP_OF_YOUR_PET", owner).addString(activeChar.getName()).addNumber(Math.round(addToHp)));
            }
          }
        }
        getEffects(activeChar, target, getActivateRate() > 0, false);
      }
View Full Code Here


      _log.info("Event 'Last Hero' activated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.LastHero.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Last Hero' already active.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      _log.info("Event 'Last Hero' deactivated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.LastHero.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'LastHero' not active.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event: Master of Enchanting started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.MasOfEnch.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Master of Enchanting' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event: Master of Enchanting stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.MasOfEnch.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'Master of Enchanting' not started.");
    }
    _active = false;
    show("html/admin/events.htm", player);
  }
 
View Full Code Here

      activateAI();
      System.out.println("Event 'The Flow Of The Horror' started.");
    }
    else
    {
      player.sendMessage("Event 'The Flow Of The Horror' already started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here

      deactivateAI();
      System.out.println("Event 'The Flow Of The Horror' stopped.");
    }
    else
    {
      player.sendMessage("Event 'The Flow Of The Horror' not started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here

      System.out.println("Event 'Summer Meleons' started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.SummerMeleons.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Summer Meleons' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event 'Summer Meleons' stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.SummerMeleons.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'Summer Meleons' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event: Coffer of Shadows started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.CofferofShadows.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Coffer of Shadows' already started.");
    }
    _active = true;
    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.