L2JMobius

Free Users => Shares/Contributions => Committed User Contributions => Topic started by: altronrain on June 19, 2022, 11:36:07 PM

Title: Adjustments and fixes to New Player Rewards system (C4+)
Post by: altronrain on June 19, 2022, 11:36:07 PM
Changes to the New Player Rewards system, to make it closer to retail.
All according to my post in discussion section: https://l2jmobius.org/forum/index.php?topic=8614.0

What's new:

I beleive it working after series of tests on my server instance.

Pastebin link (due to exceeding 20k symbols with this dif patch): https://pastebin.com/4CvYdEbd
Password: HvM59Y8Dcf
Title: Re: Adjustments and fixes to New Player Rewards system (C4+)
Post by: Mobius on June 20, 2022, 06:12:28 PM
Looks fine.
Will commit it when I have some free time.
Title: Re: Adjustments and fixes to New Player Rewards system (C4+)
Post by: altronrain on June 26, 2022, 07:34:56 PM
Looked one more time through this quests (during play process).
100x Lesser Healing Potions reward should be added to Q105_SkirmishWithTheOrcs quest. All other ones have pots as a reward except this one.
Code: [Select]
diff -U 3 dist/game/data/scripts/quests/Q105_SkirmishWithTheOrcs/Q105_SkirmishWithTheOrcs.java dist/game/data/scripts/quests/Q105_SkirmishWithTheOrcs/Q105_SkirmishWithTheOrcs.java
--- dist/game/data/scripts/quests/Q105_SkirmishWithTheOrcs/Q105_SkirmishWithTheOrcs.java Sun Jun 19 20:36:17 2022
+++ dist/game/data/scripts/quests/Q105_SkirmishWithTheOrcs/Q105_SkirmishWithTheOrcs.java Sun Jun 26 19:30:43 2022
@@ -52,6 +52,7 @@
  private static final int SOULSHOT_FOR_BEGINNERS = 5789;
  private static final int RED_SUNSET_STAFF = 754;
  private static final int RED_SUNSET_SWORD = 981;
+ private static final int LESSER_HEALING_POT = 1060;
  private static final int ECHO_BATTLE = 4412;
  private static final int ECHO_LOVE = 4413;
  private static final int ECHO_SOLITUDE = 4414;
@@ -173,6 +174,7 @@
  }
  }
 
+ st.rewardItems(LESSER_HEALING_POT, 100);
  st.giveItems(ECHO_BATTLE, 10);
  st.giveItems(ECHO_LOVE, 10);
  st.giveItems(ECHO_SOLITUDE, 10);
Title: Re: Adjustments and fixes to New Player Rewards system (C4+)
Post by: Mobius on July 01, 2022, 12:52:50 AM
Committed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/61f44340d7c3f6530bb2bd98489177751860904e
Thanks :D