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

EVENT_BE_MATERIAL will be triggered when summon fusion monster from grave #2535

Open
mercury233 opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@mercury233
Copy link
Collaborator

Replay: be material.zip
(To test this, we need to disable the r==REASON_FUSION check in the script of Tamtam the Melodious Diva(c79757784.damcon))

Steps to reproduce:
Fusion summon a monster (trigger EVENT_BE_MATERIAL of the material monsters), send it to grave, special summon it to field again, EVENT_BE_MATERIAL will be triggered again with matreason=0 .

Most EVENT_BE_MATERIAL effect will check the reason so it wasn't a bug unless we mistake the check.

https://github.com/Fluorohydride/ygopro-core/blob/02254c8ce092e671d49a75e9d84554da83711e27/operations.cpp#L3377
I think we should reset material_cards and summon type somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant