hello im trying to create more stacktypes like stacktype3 stacktype4 but i really confused on this part and i cant make it works assembly l2p
PHP код:
<?php
public static boolean checkStackType(EffectTemplate ef1, EffectTemplate ef2, EffectTemplate ef3, EffectTemplate ef4, EffectTemplate ef5, EffectTemplate ef6)
{
if(ef1._stackType != EffectTemplate.NO_STACK && ef1._stackType.equalsIgnoreCase(ef2._stackType))
return true;
if(ef1._stackType != EffectTemplate.NO_STACK && ef1._stackType.equalsIgnoreCase(ef2._stackType2))
return true;
if(ef1._stackType2 != EffectTemplate.NO_STACK && ef1._stackType2.equalsIgnoreCase(ef2._stackType))
return true;
if(ef1._stackType2 != EffectTemplate.NO_STACK && ef1._stackType2.equalsIgnoreCase(ef2._stackType2))
return false;
}
if anyone can help me?