Fixed Debuff Resistance.
This commit is contained in:
parent
7eb8114e0d
commit
1e90b76a98
Binary file not shown.
@ -3741,7 +3741,7 @@ public class GenericFunctions {
|
||||
PlayerStructure pd = PlayerStructure.GetPlayerStructure(p);
|
||||
double removechance = CustomDamage.CalculateDebuffResistance(p);
|
||||
if (removechance>0) {
|
||||
if (!pd.lasteffectlist.containsAll(p.getActivePotionEffects())) {
|
||||
if (pd.lasteffectlist.size()<p.getActivePotionEffects().size()) {
|
||||
int level=0;
|
||||
PotionEffectType type=null;
|
||||
for (PotionEffect pe : p.getActivePotionEffects()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user