Jump to content
  • 0

[Help] Reward for loose in tvt


Question

Posted

hello i will like to know if someone can make a code for me.

 

I search how can i reward the loose player in tvt same win but for lose i don't find how reward.

 

Thanks you if someone can make it for me

6 answers to this question

Recommended Posts

  • 0
Posted

My guess would be L2PcInstance.doDie();

	/**
 * Kill the L2Character, Apply Death Penalty, Manage gain/loss Karma and Item Drop.<BR><BR>
 *
 * <B><U> Actions</U> :</B><BR><BR>
 * <li>Reduce the Experience of the L2PcInstance in function of the calculated Death Penalty </li>
 * <li>If necessary, unsummon the Pet of the killed L2PcInstance </li>
 * <li>Manage Karma gain for attacker and Karam loss for the killed L2PcInstance </li>
 * <li>If the killed L2PcInstance has Karma, manage Drop Item</li>
 * <li>Kill the L2PcInstance </li><BR><BR>
 *
 *
 * @param i The HP decrease value
 * @param attacker The L2Character who attacks
 *
 */
@Override
public boolean doDie(L2Character killer)

 

As for the code, I'm not going to do it :c

  • 0
Posted

My guess would be L2PcInstance.doDie();

	/**
 * Kill the L2Character, Apply Death Penalty, Manage gain/loss Karma and Item Drop.<BR><BR>
 *
 * <B><U> Actions</U> :</B><BR><BR>
 * <li>Reduce the Experience of the L2PcInstance in function of the calculated Death Penalty </li>
 * <li>If necessary, unsummon the Pet of the killed L2PcInstance </li>
 * <li>Manage Karma gain for attacker and Karam loss for the killed L2PcInstance </li>
 * <li>If the killed L2PcInstance has Karma, manage Drop Item</li>
 * <li>Kill the L2PcInstance </li><BR><BR>
 *
 *
 * @param i The HP decrease value
 * @param attacker The L2Character who attacks
 *
 */
@Override
public boolean doDie(L2Character killer)

 

As for the code, I'm not going to do it :c

 

I don't understand the difference between Dead and reward the player who lose on a TVT.

  • 0
Posted

Generally, the easiest mean to track something is to rely on "visual" things.

 

By "visual" things, I guess you got a message about victory/defeat. Track those messages and you will go on a method near the good method, if not directly on the good method.

 

You said too the winner earn things. If it's a config (crap), you can track the use of that variable, or even the a-beep-t of reward if it's somewhat unique. If you fall on a mthod who rewards only the winner, then simply create (c/ping) or evolve the current method to reward loser too.

 

PS : why "mou n" from "amou nt" is censored ? Greek insult ? lol

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • id watch the movie   ill have tryskel and some other fellas again to attack the project and me for the commits no thanks "free work is over"
    • The best sequence everyone saw today on the forum... ... 🤔 ...😮 ... ops...  😅... ... and always remember..... 😘...
    • MaxCheaters lore goes deep. Here's to the end of another chapter 🍻
    • You talk too much go open L2Jhellas 😞 
    • 🌟 L2Avalon – Interlude Rework x20 – Grand Opening July 4! 🌟 📅 Server Launch: Open Beta: June 26, 18:00 GMT+3 Grand Opening: July 4, 2025 📦 Chronicle & Client: Reworked Interlude (based on latest High Five features) Custom launcher with up-to-date client support ⚔️ Rates & Progression: EXP/SP: Lv 1–39: x20 Lv 40–52: x15 Lv 52–60: x10 Lv 61–70: x8 Lv 71–75: x5 Lv 76–79: x4 → x3 Lv 80+: x2 Adena: x1 (subject to adjustment) Drop/Spoil/Raid Drop: x5 Quest Drop: custom Party Bonus: up to +290% EXP 🛠️ Core Features: Auto-loot (normal drops) Auto-learn skills up to level 75 High Five-style skill system with full rebalancing Passive MP regen: +1000 MP / 15s Inventory space: 150 slots Weight limit increased Auto CP/HP/MP potions Global chat from level 40 (!), offline shop (.offline), buff selling system (.sellbuff) 🔼 Class Progression: 1st & 2nd class: Free 3rd class: Kill 700 mobs → get 1 Giant Codex Subclass: Custom quest + 4 raid bosses + 1000 B-grade Crystals Noblesse: Either via Caradine's Letter (Lv 65+) or Noblesse box from raid bosses 🏪 NPC Shops & Support: GM Shop: Full D/C gear, Low B gear Luxury Shop: TOP B gear Donation Shop: Cosmetics, premium, etc. NPC Buffer: Save & load buff schemes (premium buffs for Premium Account) Mammon functions via NPC in Giran (unseal, augment, etc.) Offline Traders, Coin of Luck auction system Special blacksmiths and unique item services 💡 Why L2Avalon? Balanced seasonal x20 rates – smooth and long-term growth Quality-of-life systems for casual & hardcore players alike Custom skill system, refined raid rewards, and unique gear upgrades Active community, continuous development, and fair monetization Beta rewards & early start advantage 🔗 Useful Links: 🌐 Website: https://www.l2avalon.net 📘 Full Server Info: https://l2avalon-net.gitbook.io/info 💬 Discord: https://discord.gg/NbM2cXmAem 📝 Join the adventure this July! Prepare your characters during Beta and get rewarded at launch!  
  • 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