-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Magiclysm: Cat's Grace should list Ogre's Strength in it's remove_effects code [low priority] #73593
Comments
seems when you have cats grace then activate ogres strength they will both be on for a second then cats grace deactivates itself and im currently having a look to see if this happens with any of the others but so far apart from that instance they dont activate if you got one of the others up |
Did you try the other way around? Ogre's strength then Cat's Grace? The order is important in this instance |
yup cats grace just doesnt give the buff when used if ogres strength is up |
Thank you for testing. I guess the remove effects are just a backup then in case a glitch happens? I would say that line should still be updated but if the buffs aren't actually stacking then that's a low priority housekeeping issue. I'll see if I have time to make a PR tonight when I get home but it sounds like this is more of a superfluous issue |
well that's interesting, it looks like the effects block each other except when you cast Cat's Grace then Ogre's Strength (in which case the strength overwrites the dex buff) |
Describe the bug
Update:
The spells themselves seem to recognize if a buff is up and not apply the new buff while the old one is active
The remove_effects code seems to be a failsafe in case something unexpected happens like if both get applied in the same tick or something else applies the effect without pre-checking if the other buffs are there.
Since in practice it's hard to actually cause this to happen it's a low priority issue atm.
In magiclysm there's 4 enhancement spells, one for each attribute
Their active effects are supposed to be mutually exclusive
in data/mods/Magiclysm/effects/effects.json
under Cat's Grace: removes effects (line 281)
eagles_sight is listed twice and ogres_strength is missing
I'm at work so I can't actually test but it looks like if you cast Ogre's Strength first then cast Cat's Grace you could mistakenly have both buffs active
If Cat's Grace does indeed remove Ogre's Strength then that line (281 in magiclysm/effects/effects.json) should still be updated to correctly list the removed buffs, in case it's used elsewhere
Attach save file
N/A
Steps to reproduce
make a character in magiclysm
give yourself both Ogre's Strength and Cat's Grace
cast Ogre's Strength
cast Cat's Grace
Verify you have both buffs active
Expected behavior
Cats Grace should remove Ogre's Strength
Screenshots
No response
Versions and configuration
current (I was browsing the current source code on the website)
Additional context
No response
The text was updated successfully, but these errors were encountered: