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.


×
×
  • 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