Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Fix for #1038 (generateAllowChance instead of generateCommonality) #1040

Merged
merged 1 commit into from
Feb 22, 2020

Conversation

Alicecomma
Copy link
Contributor

  • 17 months ago, during RW version change, the code in the method was changed to generateCommonality from a completely different tag which doesn't exist anymore
  • generateAllowChance is commonly used to prevent things from being generated, while generateCommonality is not for preventing, just for weighting
  • All CE XML uses generateAllowChance, not generateCommonality
  • Therefore, this code change is necessary

- 17 months ago, during RW version change, the code in the method was changed to generateCommonality from a completely different tag which doesn't exist anymore
- generateAllowChance is commonly used to prevent things from being generated, while generateCommonality is not for preventing, just for weighting
- All CE XML uses generateAllowChance, not generateCommonality
- Therefore, this code change is necessary
@Alicecomma Alicecomma changed the title Fix for #1038 Fix for #1038 (generateAllowChance instead of generateCommonality) Feb 22, 2020
@Alicecomma
Copy link
Contributor Author

To test: Check that Arrows and GreatArrows do not spawn their Plasteel variant

@zozilin zozilin linked an issue Feb 22, 2020 that may be closed by this pull request
@zozilin zozilin merged commit d90a068 into Development Feb 22, 2020
@Alicecomma Alicecomma deleted the Fix-for-#1038 branch February 22, 2020 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix in #1040] Fire, plasteel and toxic arrows spawn
2 participants