mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Enable fishing fix after upstream change
This commit is contained in:
@@ -834,16 +834,14 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Once this PR is merged, this will be required: https://github.com/azerothcore/azerothcore-wotlk/pull/12996
|
bool OnUpdateFishingSkill(Player* player, int32 /*skill*/, int32 /*zone_skill*/, int32 chance, int32 roll) override
|
||||||
// Currently, due to AC bug, the "enabled" behavior is actually the current behavior anyway
|
{
|
||||||
// bool OnUpdateFishingSkill(Player* player, int32 /*skill*/, int32 /*zone_skill*/, int32 chance, int32 roll) override
|
if (!sIndividualProgression->enabled || !sIndividualProgression->fishingFix)
|
||||||
// {
|
return true;
|
||||||
// if (!enabled || !fishingFix)
|
if (chance < roll)
|
||||||
// return true;
|
return false;
|
||||||
// if (chance < roll)
|
return true;
|
||||||
// return false;
|
}
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add all scripts in one
|
// Add all scripts in one
|
||||||
|
|||||||
Reference in New Issue
Block a user