magefree / magefree/mage

{Any} mana can growing explosive (game freeze)

Open
#11,490 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

From related issue https://github.com/magefree/mage/issues/11285#issuecomment-1831260668

Some combo can generates 250 000 {any} mana for one permanent. ~~P.S. I forget to check player's life -- maybe it's the reason too (e.g. some player get's 250k life and [[Mana Confluence]] take it for calculation)~~.

TODO:
* [ ] create unit test to reproduce it;
* [ ] fix mana optimization code;

Example with 25 permanents on battlefield:
![shot_231129_094002](https://github.com/magefree/mage/assets/8344157/9dfda7d5-f5d4-4d55-af2a-33b6e764aa63)
![shot_231129_093820](https://github.com/magefree/mage/assets/8344157/f7c279ad-0d10-4364-a72d-03ff467f1ca9)
![shot_231129_093435](https://github.com/magefree/mage/assets/8344157/7fcc6536-b512-437e-8d7a-8d7cebefb71a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.