Jump to content
  • 0

Reflect


Question

Posted

Ok guys i have a problem with reflect.. when i use reflect buffs for example reflect 20% with vengeance, if i hit for example 100 dmg i take 20 reflect but to the enemy it says that he recieved only 80 dmg.. so 100 dmg = 80 dmg +reflect it should be 100 dmg +reflect any ideas?

I use interlude l2j

4 answers to this question

Recommended Posts

  • 0
Posted

maybe this will help you

 

Index: /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java (revision 2808)
+++ /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java (revision 2819)
@@ -5048,6 +5048,6 @@
						damage -= reflectedDamage;

-						if(reflectedDamage > getMaxHp()) // to prevent extreme damage when hitting a low lvl char...
-							reflectedDamage = getMaxHp();
+						if(reflectedDamage > target.getMaxHp()) // to prevent extreme damage when hitting a low lvl char...
+							reflectedDamage = target.getMaxHp();
					}
				}

  • 0
Posted

maybe this will help you

 

Index: /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java (revision 2808)
+++ /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java (revision 2819)
@@ -5048,6 +5048,6 @@
						damage -= reflectedDamage;

-						if(reflectedDamage > getMaxHp()) // to prevent extreme damage when hitting a low lvl char...
-							reflectedDamage = getMaxHp();
+						if(reflectedDamage > target.getMaxHp()) // to prevent extreme damage when hitting a low lvl char...
+							reflectedDamage = target.getMaxHp();
					}
				}

no it didnt helped me at all..

  • 0
Posted

request to lock, i found the fix if you want to fix it too then delete damage -= reflectdamage from l2character.java

  • 0
Posted

request to lock, i found the fix if you want to fix it too then delete damage -= reflectdamage from l2character.java

 

Locked.

Guest
This topic is now closed to further replies.


×
×
  • Create New...