
well... if it helps..., I use MQ2Melee to forage (/melee forage=1) and MQ2cursor to control what to do with the foraged items. Have no issues with crashing from foraging here
But that is just me =)
That part I o not know off hand, never needed to know how to adjust it in there. (but hey, no crashes!) will research some when I get home tonight, I am curious.
public:
long ID; // Ability ID
long TYPE; // Ability Type
CHAR NAME[128]; // Ability Name
int SEARCH; // Ability Searched
int Avail() {
SEARCH = 1;
EFFECT = 0;
if (ID > NOID) {
if (TYPE == SKILL || TYPE == UNKNOWN) {
if (SKCheck(ID)) {
strcpy_s(NAME, szSkills[ID]);
REUSE = (ID == i_forage) ? 101750 : delay * 3;
TYPE = SKILL;
return true;
}
}