public List<StatusEffect> getNormalStatuses(int lock) {
List<StatusEffect> ret = new ArrayList<StatusEffect>();
synchronized (m_statuses) {
Iterator<StatusEffect> i = m_statuses.iterator();
while (i.hasNext()) {
StatusEffect effect = i.next();
if (!effect.isActive()) continue;
// Note: HoldItem is a subclass of IntrinsicAbility.
if (!(effect instanceof IntrinsicAbility)) {
int effLock = effect.getLock();
if ((effLock == 0) || (effLock == lock)) {
ret.add(effect);
}
}
}