I have tried replacing:
case CONDITION_REGENERATION:
return new ConditionRegeneration(id, type, ticks, buff, subId, aggressive);
ConditionRegeneration(ConditionId_t id, ConditionType_t type, int32_t ticks, bool buff = false, uint32_t subId = 0, bool aggressive =...