-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
familiar functions changes #317
Conversation
replaced forbidFamChange() with canChangeFamiliar() replaced forbidFamChange(familiar target) with canChangeToFamiliar(familiar target) This is not a rename, but an inversion of the logic from asking a negative to asking a positive. Adjusted the functions to have inverted logic. Adjusted all instances in which it is used to invert the logic. (by adding or removing ! as appropriate)
And just to note. Yes I have seen some places where the code that uses those functions can be improved. at the moment I am just doing a rename and ! flip because this touches too many files and I don't want it to get constantly blocked. not to mention being too big to handle for reviewers. I had already previously addressed those long ago in my old old pokefam branch. I will reapply improvements as needed in future PRs. each being reasonably sized and easy to review |
I hadn't read this when I started reviewing. The only change I'd request in this case is #317 (comment) |
Change made. |
Git is auto hiding this comment so reposting it.
|
I figured it out. machine elf pet is used as an alternative to louder than bomb. so that one specific line should have been done @ commit 8ceb0c4 |
see PR loathers#317 for discussion about it
* ed can't funksling * Issue #194 - Dr. Aquard is a puzzle boss * Heavy Rains skill Thunder Bird fixed. it would debuff bosses 31 times then lose. * issue #198 subissue 3 * fix to reserve adventures calculation * after bear verb orgy is used to get wand of nagamar actually fight sorceress * Heavy Rains final boss [The Rain King] handling. prep and combat strategy. * rollover adv maximizer now considers Left-Hand Man * don't assume success when adventuring in bandit crossroads (fantasy realm IOTM) to prevent infinite loops * community service. small fix, see PR #317 for discussion about it * various small fixes
replaced forbidFamChange() with canChangeFamiliar()
replaced forbidFamChange(familiar target) with canChangeToFamiliar(familiar target)
This is not a rename, but an inversion of the logic from asking a negative to asking a positive.
Adjusted the functions to have inverted logic.
Adjusted all instances in which it is used to invert the logic. (by adding or removing ! as appropriate)
How Has This Been Tested?
Validated autoscend.ash
Checklist: