Axelut

Hero Effect New Player

May 15th, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: net.sf.l2j.Config.java
  2. ====================================
  3.  
  4. +   public static boolean HERO_AURA_SYSTEM;
  5.  
  6.  
  7. +   OLYMPIAD_END_ANNOUNE = player.getProperty("HeroAuraSystem", true);
  8.  
  9.  
  10.  
  11. Index: sf/l2j/gameserver/clientpackets/EnterWorld.java
  12.  
  13. // Announcements, welcome & Seven signs period messages
  14.  
  15. +if (Config.HERO_AURA_SYSTEM)
  16. +   {
  17. +    if (player.getExp() <= 0)
  18. +       player.setHero(true);
  19. +    player.sendMessage("[Auto Messenger]: You get Hero Aura until restart");
  20. +}
Add Comment
Please, Sign In to add comment