Jump to content
  • 0

buffs lost


Question

15 answers to this question

Recommended Posts

  • 0
Posted

Or else you can make noblesse skill as passive and add it in all newbie classes from skill trees ;)

And how I make the skill passive ?

  • 0
Posted

Im not 100% sure that it works.I didnt test it.

  <set name="skillType" val="PASSIVE"/>

  <set name="operateType" val="OP_PASSIVE"/>

 

No works like that need and core.

  • 0
Posted

loled at the solutions..

So what do u need it for? interlude or gracia + ?

 

Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java	(working copy)
@@ -86,6 +86,7 @@
	public static double RESPAWN_RESTORE_MP;
	public static boolean ALT_GAME_TIREDNESS;
	public static boolean ENABLE_MODIFY_SKILL_DURATION;
+	public static boolean DONT_LOSE_BUFFS_ON_DEATH;
	public static TIntIntHashMap SKILL_DURATION_LIST;
	public static boolean ENABLE_MODIFY_SKILL_REUSE;
	public static TIntIntHashMap SKILL_REUSE_LIST;
@@ -1257,8 +1258,9 @@
					MP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("MpRegenMultiplier", "100")) /100;
					CP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("CpRegenMultiplier", "100")) /100;
					ALT_GAME_TIREDNESS = Boolean.parseBoolean(Character.getProperty("AltGameTiredness", "false"));
+					DONT_LOSE_BUFFS_ON_DEATH = Boolean.parseBoolean(Character.getProperty("DontLoseBuffs", "false"));
					ENABLE_MODIFY_SKILL_DURATION = Boolean.parseBoolean(Character.getProperty("EnableModifySkillDuration", "false"));
-
+					
					// Create Map only if enabled
					if (ENABLE_MODIFY_SKILL_DURATION)
					{
Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java	(working copy)
@@ -14,6 +14,7 @@
  */
package com.l2jserver.gameserver.model.actor;

+import com.l2jserver.Config;
import com.l2jserver.gameserver.ai.CtrlEvent;
import com.l2jserver.gameserver.model.L2Effect;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -242,7 +243,7 @@
     }
     
     // Support for Soul of the Phoenix and Salvation skills
-    public final boolean isPhoenixBlessed() { return _isPhoenixBlessed; }
+    public final boolean isPhoenixBlessed() { return _isPhoenixBlessed || Config.DONT_LOSE_BUFFS_ON_DEATH; }
     public final void setIsPhoenixBlessed(boolean value) { _isPhoenixBlessed = value; }
          
     public final void startPhoenixBlessing()
Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -5603,7 +5603,10 @@
		AntiFeedManager.getInstance().setLastDeathTime(getObjectId());

		if (isPhoenixBlessed())
-			reviveRequest(this, null, false);
+		{
+			if(!Config.DONT_LOSE_BUFFS_ON_DEATH)
+				reviveRequest(this, null, false);
+		}
		else if (getCharmOfCourage() && this.isInSiege())
		{
			reviveRequest(this, null, false);
Index: E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties	(working copy)
@@ -58,6 +58,8 @@
# Default: False
AltGameTiredness = False

+# Don't lose buffs on death..
+DontLoseBuffs = false

# ---------------------------------------------------------------------------
# Skills & Effects

 

This is 1 way.. can be done in antoher.. or even another O.o or nothing to do with phx blessing ^^

 

 

EDIT: Lupu1 i wanna talk to you smth bout l2dubai.. pm me.

  • 0
Posted

loled at the solutions..

So what do u need it for? interlude or gracia + ?

 

Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java	(working copy)
@@ -86,6 +86,7 @@
	public static double RESPAWN_RESTORE_MP;
	public static boolean ALT_GAME_TIREDNESS;
	public static boolean ENABLE_MODIFY_SKILL_DURATION;
+	public static boolean DONT_LOSE_BUFFS_ON_DEATH;
	public static TIntIntHashMap SKILL_DURATION_LIST;
	public static boolean ENABLE_MODIFY_SKILL_REUSE;
	public static TIntIntHashMap SKILL_REUSE_LIST;
@@ -1257,8 +1258,9 @@
					MP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("MpRegenMultiplier", "100")) /100;
					CP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("CpRegenMultiplier", "100")) /100;
					ALT_GAME_TIREDNESS = Boolean.parseBoolean(Character.getProperty("AltGameTiredness", "false"));
+					DONT_LOSE_BUFFS_ON_DEATH = Boolean.parseBoolean(Character.getProperty("DontLoseBuffs", "false"));
					ENABLE_MODIFY_SKILL_DURATION = Boolean.parseBoolean(Character.getProperty("EnableModifySkillDuration", "false"));
-
+					
					// Create Map only if enabled
					if (ENABLE_MODIFY_SKILL_DURATION)
					{
Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java	(working copy)
@@ -14,6 +14,7 @@
  */
package com.l2jserver.gameserver.model.actor;

+import com.l2jserver.Config;
import com.l2jserver.gameserver.ai.CtrlEvent;
import com.l2jserver.gameserver.model.L2Effect;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -242,7 +243,7 @@
     }
     
     // Support for Soul of the Phoenix and Salvation skills
-    public final boolean isPhoenixBlessed() { return _isPhoenixBlessed; }
+    public final boolean isPhoenixBlessed() { return _isPhoenixBlessed || Config.DONT_LOSE_BUFFS_ON_DEATH; }
     public final void setIsPhoenixBlessed(boolean value) { _isPhoenixBlessed = value; }
          
     public final void startPhoenixBlessing()
Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -5603,7 +5603,10 @@
		AntiFeedManager.getInstance().setLastDeathTime(getObjectId());

		if (isPhoenixBlessed())
-			reviveRequest(this, null, false);
+		{
+			if(!Config.DONT_LOSE_BUFFS_ON_DEATH)
+				reviveRequest(this, null, false);
+		}
		else if (getCharmOfCourage() && this.isInSiege())
		{
			reviveRequest(this, null, false);
Index: E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties
===================================================================
--- E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties	(revision 3933)
+++ E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties	(working copy)
@@ -58,6 +58,8 @@
# Default: False
AltGameTiredness = False

+# Don't lose buffs on death..
+DontLoseBuffs = false

# ---------------------------------------------------------------------------
# Skills & Effects

 

This is 1 way.. can be done in antoher.. or even another O.o or nothing to do with phx blessing ^^

 

 

EDIT: Lupu1 i wanna talk to you smth bout l2dubai.. pm me.

 

Gracia Epilogue

Guest
This topic is now closed to further replies.


  • 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