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

    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 我们正在寻找合作伙伴和账号供应商进行合作 我们愿意与以下约会服务的可靠账号供应商建立合作关系: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating 我们考虑长期合作、稳定的供应量以及互利共赢的合作条件。 如果您有任何合作提议,我们很乐意讨论具体细节。 请通过以下联系方式与我们联系。 ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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