Skip to content
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

Closed
Xpyder opened this issue May 8, 2024 · 6 comments · Fixed by #73599
Closed
Labels
Mechanics: Enchantments / Spells Enchantments and spells Mods: Magiclysm Anything to do with the Magiclysm mod (S2 - Confirmed) Bug that's been confirmed to exist

Comments

@Xpyder
Copy link
Contributor

Xpyder commented May 8, 2024

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

@Xpyder Xpyder added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label May 8, 2024
@Icantthinkofanameforthis

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

@Xpyder
Copy link
Contributor Author

Xpyder commented May 8, 2024

Did you try the other way around? Ogre's strength then Cat's Grace? The order is important in this instance

@Icantthinkofanameforthis

yup cats grace just doesnt give the buff when used if ogres strength is up

@Xpyder
Copy link
Contributor Author

Xpyder commented May 8, 2024

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

@Xpyder Xpyder changed the title Magiclysm: Cat's Grace should remove Ogre's Strength [needs confirmation] Magiclysm: Cat's Grace should list Ogre's Strength in it's remove_effects code May 8, 2024
@Xpyder Xpyder changed the title Magiclysm: Cat's Grace should list Ogre's Strength in it's remove_effects code Magiclysm: Cat's Grace should list Ogre's Strength in it's remove_effects code [low priority] May 8, 2024
@Icantthinkofanameforthis

note that i got fox's cunning at max lvl which is why its not getting exp

cat's grace
image

eagle's sight
image

ogre's strength
image

fox's cunning
image

@Xpyder
Copy link
Contributor Author

Xpyder commented May 8, 2024

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)

Maleclypse added a commit to Maleclypse/Cataclysm-DDA that referenced this issue May 9, 2024
@Maleclypse Maleclypse added (S2 - Confirmed) Bug that's been confirmed to exist Mods: Magiclysm Anything to do with the Magiclysm mod Mechanics: Enchantments / Spells Enchantments and spells and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels May 9, 2024
dseguin pushed a commit that referenced this issue May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mechanics: Enchantments / Spells Enchantments and spells Mods: Magiclysm Anything to do with the Magiclysm mod (S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants