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

Remove unused FATIGUE energy source from spells #47852

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

Fris0uman
Copy link
Contributor

Summary

None

Purpose of change

Fatigue is not used by any spell, this streamlines the spell casting code by removing dead code.

Describe the solution

Remove Fatigue enum and the code using it
Edit documentation accordingly
Remove debug fatigue spell

Describe alternatives you've considered

Testing

  • load magiclysm without removing debug spell > get error as expected
  • load magiclysm withotu debug spell > no error
  • lear all spell
  • cast debug HP spell > lose HP
  • cast debug bionic spell > lose bionic power
  • cast magic light > lose mana

Additional context

@Fris0uman Fris0uman requested a review from KorGgenT as a code owner March 3, 2021 17:26
@ZhilkinSerg ZhilkinSerg changed the base branch from master to 0.F-dev March 3, 2021 23:15
@ZhilkinSerg ZhilkinSerg merged commit 5b466f4 into CleverRaven:0.F-dev Mar 3, 2021
@ZhilkinSerg ZhilkinSerg mentioned this pull request Mar 3, 2021
14 tasks
@anothersimulacrum anothersimulacrum added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style 0.F String Freeze labels Mar 4, 2021
@Fris0uman Fris0uman deleted the sleep_now branch March 4, 2021 07:10
chaosvolt added a commit to chaosvolt/cdda-arcana-mod that referenced this pull request Mar 4, 2021
Updated Magic Signs in the DDA version to use mana instead of fatigue.

Caused by CleverRaven/Cataclysm-DDA#47852
existing basically solely to fuck over modders, because evidently if a
feature is underused in-repo the answer is to axe it instead of find a
use for it.

Of course Arcana being the only thing that used it probably added some
encouragment to remove it.
@adamkad1
Copy link
Contributor

adamkad1 commented Mar 5, 2021

Its not broken, why remove it? Do you hate modders that much? Hurts potentiall for future maglysm spells too

@Zireael07
Copy link
Contributor

@adamkad1: Can be easily reverted if/when someone does make a spell requiring it.

@adamkad1
Copy link
Contributor

adamkad1 commented Mar 5, 2021

But will they want to revert it? i feel like this is here to perpetuate the vendetta against chaosvolt that everyone has. But if they would be willing to revert it, i'd be more than eager to come up with something

@ZhilkinSerg
Copy link
Contributor

Its not broken, why remove it? Do you hate modders that much? Hurts potentiall for future maglysm spells too

It was not used in mods.

@adamkad1
Copy link
Contributor

adamkad1 commented Mar 5, 2021

Its not broken, why remove it? Do you hate modders that much? Hurts potentiall for future maglysm spells too

It was not used in mods.

Besdies the one that doesnt exist

@CleverRaven CleverRaven locked as resolved and limited conversation to collaborators Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants