Open al3xc1985 opened 3 weeks ago
Tested the changes, It works, gives this error message. "Your skill is not high enough. REQUIRES UNKNOWN (0)" change result = SPELL_FAILED_MIN_SKILL; to result = SPELL_FAILED_FISHING_TOO_LOW; and modify the SendCastResult function to report actual required skill level.
case SPELL_FAILED_FISHING_TOO_LOW:
{
uint32 zone, subzone;
caster->GetZoneAndAreaId(zone, subzone);
int32 zone_skill = sObjectMgr.GetFishingBaseSkillLevel(subzone);
if (!zone_skill)
zone_skill = sObjectMgr.GetFishingBaseSkillLevel(zone);
data << zone_skill; // required fishing skill
break;
}
this reports the correct fishing skill requirement.
Thanks!
I have to summon the divinity: @killerwife oh wise one! Can u take a look at this pls and tell us your point of view? ty @kelbren
I also got the "too shallow" part wrong, after re-reading the original I think that check was for whether or not the bobber lands in water at all.
good addition, kelbren
Bug Details
First I have to give credits to @insunaa for the provided patch. He is a wotlk guy (Thx God for him) :)
On classic and tbc, and not woltk starting with 3.1, u have a message when try to fish into a zone. If your skill is not inoff, u get this message from the picture below.
Each zone has a specific skill min/max for fishing and getting skill. Currently we don't have that implemented. I talked with @insunaa about it and he made for me a fast patch, but I can't test it, and I let it here for disscussions
This is a list with skills by zone https://wowwiki-archive.fandom.com/wiki/Fishing_skill_requirements_by_zone
Steps to Reproduce
1. 2. 3. 4.
Expected behavior
No response
Suggested Workaround
No response
Crash Log
No response
Core SHA1 Commit Hash
4aa81134be302fed4a22f1c2e01374e3c3
Database SHA1 Commit Hash
87d213957c5f6d4e2e3679eaf81986eb43e32525
Operating System
windows 10
Client Version
2.4.3 (The Burning Crusade)