Browse Source

BETA: Minor fix for skills without abnormal type and multiple effects.

Reported by: FinalDestination
Zoey76 12 years ago
parent
commit
e973c710b8

+ 6 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/CharEffectList.java

@@ -925,11 +925,16 @@ public final class CharEffectList
 							// Add Funcs of this effect to the Calculator set of the L2Character
 							_owner.addStatFuncs(effect.getStatFuncs());
 						}
-						return;
 					}
 				}
 			}
 			
+			// Effects without abnormal shouldn't stack.
+			if (skill.getAbnormalType().isNone())
+			{
+				return;
+			}
+			
 			if (_stackedEffects == null)
 			{
 				_stackedEffects = new ConcurrentHashMap<>();