Jump to content
  • 0

Some classes with aoe.


Question

Posted

Hello there!

I just want some help here... me and my friend, we both tried to make something like the title says...

but we didn't tested yet it, as maxcheaters has alot of good developers, I was thinking about to share this idea also...

ahh, it is from h5 servers

here is the code:

 

http://pastebin.com/QCYErG3N

6 answers to this question

Recommended Posts

  • 0
Posted

if (((!(obj instanceof L2PetInstance)) || (!(this instanceof L2PcInstance)) || (((L2PetInstance) obj).getOwner() != (L2PcInstance) this)) && (Util.checkIfInRange(maxRadius, this, obj, false)) && (Math.abs(obj.getZ() - getZ()) <= 650) && (isFacing(obj, maxAngleDiff)) && ((!(this instanceof L2Attackable)) || (!(obj instanceof L2PcInstance)) || (!(getTarget() instanceof L2Attackable))) && ((!(this instanceof L2Attackable)) || (!(obj instanceof L2Attackable)) || (((L2Attackable) this).getEnemyClan() != null) || (((L2Attackable) this).getIsChaos() != 0)) && ((!(this instanceof L2Attackable)) || (!(obj instanceof L2Attackable)) || (((L2Attackable) this).getEnemyClan().equals(((L2Attackable) obj).getClan())) || (((L2Attackable) this).getIsChaos() != 0)))

My eyes !

 

About the main idea, you could give more details : you want weapons, such as two handed weapons, to deal aoe damages ? If yes, wouldn't it simply better to call a skill on impact ? You will also have visual effect at least, and the code probably will be shorter.

  • 0
Posted

well, main idea is such as swordsinger and bladedancer should have some aoe using weapons, like dual, blunt and sword...

ahh aoe is enabled if they reach 950 atkspeed...

  • 0
Posted

well, main idea is such as swordsinger and bladedancer should have some aoe using weapons, like dual, blunt and sword...

ahh aoe is enabled if they reach 950 atkspeed...

Well the skill idea is perhaps clinky, notably for animation.

 

Correct me if I'm wrong, but using Pole calculations isn't enough ? You create a custom method (with all your checks about classes, patk, used weapon) which either return true or false, if it's false it uses regular calculation (dual, regular, etc), if it's true it uses pole system.

  • 0
Posted

doAttackBySword on yout L2Character, and add a loop depending on how many targets you want the aoe to be, but take care cause the Attack packet is tricky on aoes, just look doAttackHitByPole both on your L2Character.java

Guest
This topic is now closed to further replies.


  • Posts

    • Added: 🎁 Seasonal Bonus System When the seasonal bonus is enabled, players receive additional bonus coins equal to bonus_season_percent of their donation amount. 💡 How it works (example): A player donates through their personal account and immediately receives regular coins. At the same time, bonus coins equal to 30% of the donation are credited. Example: Donation: 1000 coins → Bonus: 300 coins (30%) These bonus coins are not available immediately — they can be claimed later when the next season begins. 📅 When the bonus can be claimed: bonus_season_claim_start_date – the date when the "Claim" button becomes available. bonus_season_claim_end_date – the date after which the bonus can no longer be claimed. During this time window, the "Claim" button will appear in the personal account, allowing players to collect their accumulated bonus. 'bonus_season_enabled' => true, // Enable/disable the seasonal bonus system 'bonus_season_percent' => 30, // Percentage of the donation to be given as bonus coins (30 = 30%) 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Date when the Claim button becomes available in the new season   'bonus_season_enabled' => true, // Вкл./Выкл Сезонную бонусную систему? 'bonus_season_percent' => 30, // Процент, при донате получает монеты в процентах 30 = 30%, которые может использовать в следующем открытии 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Дата когда доступна кнопка Claim в новом сезоне 'bonus_season_claim_end_date' => '2025-08-15 20:00:00', // Дата окончания когда кнопка Claim в новом сезоне
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
    • you can find the extender at GX-EXT Discord! http://prntscr.com/coUwKnD4Zs_w https://l2servers.com.ar/   @GX-Ext
  • 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