Skip to content

Duel.CheckMustMaterial ​

Signature ​

lua
Duel.CheckMustMaterial(int player, Group|Card cards, int ecode) -> bool

Description ​

Checks whether the card group satisfies mandatory material requirements.

Parameters ​

  • player int
  • cards Group|Card
  • ecode int - for example, EFFECT_MUST_BE_FMATERIAL

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4988

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

No indexed local card script currently calls this function.

This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.