Jump to content

Recommended Posts

Posted (edited)

Hello Member I Create One Not Use Augment Skills in Olympiad...Thanks Mate


:-*  :-*  :-*  :-*  :-*  :-*  :-* 


Base:Acis




Index: java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java
===================================================================
--- java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java (revision 26)
+++ java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java (working copy)
@@ -71,6 +71,14 @@
  // If Alternate rule Karma punishment is set to true, forbid skill Return to player with Karma
  if (skill.getSkillType() == L2SkillType.RECALL && !Config.KARMA_PLAYER_CAN_TELEPORT && activeChar.getKarma() > 0)
  return;
+ if(activeChar.isInOlympiadMode())
+ {
+   if (skill.getId() >= 3124 && skill.getId() <= 3259)
+   {
+ activeChar.sendMessage("Can't not Use "+skill.getName()+" in Olympiad!");
+     return;
+   }
+ }
 
  // players mounted on pets cannot use any toggle skills
  if (skill.isToggle() && activeChar.isMounted())

Edited by madarismenos
  • 1 month later...
Posted

 

Hello Member I Create One Not Use Augment Skills in Olympiad...Thanks Mate

:-*  :-*  :-*  :-*  :-*  :-*  :-* 

Base:Acis

Index: java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java
===================================================================
--- java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java (revision 26)
+++ java/com/l2jfresh/gameserver/network/clientpackets/RequestMagicSkillUse.java (working copy)
@@ -71,6 +71,14 @@
  // If Alternate rule Karma punishment is set to true, forbid skill Return to player with Karma
  if (skill.getSkillType() == L2SkillType.RECALL && !Config.KARMA_PLAYER_CAN_TELEPORT && activeChar.getKarma() > 0)
  return;
+ if(activeChar.isInOlympiadMode())
+ {
+    if (skill.getId() >= 3124 && skill.getId() <= 3259)
+    {
+   activeChar.sendMessage("Can't not Use "+skill.getName()+" in Olympiad!");
+      return;
+    }
+ }
  
  // players mounted on pets cannot use any toggle skills
  if (skill.isToggle() && activeChar.isMounted())
And what about pp and cardinals and this classes which fights with augment skills..is this included at this id's?
Posted

And what about pp and cardinals and this classes which fights with augment skills..is this included at this id's?

make an exception on those class ids  using a check 

Posted

make an exception on those class ids  using a check

 

I dont need this just i say my opinion to update this code better than this one..
  • 6 months later...
Posted

And what about pp and cardinals and this classes which fights with augment skills..is this included at this id's?

 

I think Is better with out augment is more retail...How play oly cardinals in c4/c5..I mean cardinals and others have curse for empty mp and more to play in oly..

with augment i bealieve Prophets is OP with a lot of buffs in oly and skill? :/ and a lot of curse. I think you can win with cardinal if play clever and keep your mp..

 

Anyway :)

Posted

You could remove the skills on enter and give them again after the match, bht if its not done properly it will be buggy

I really want to see how you doing it properly... :lol:

Posted

im not sure if its possible but on enter to make the skills invisible from the panel. Or add some custom skills with no effects and on enter check if the character has the skills you dont want to have an remove them and add the custom and on exit check if the character has the custom and remove them and add the banned skills

Posted

im not sure if its possible but on enter to make the skills invisible from the panel. Or add some custom skills with no effects and on enter check if the character has the skills you dont want to have an remove them and add the custom and on exit check if the character has the custom and remove them and add the banned skills

All is impossible but this will and why to remove skills and add custom skills?just dont do nothink..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock