API
Choose the reference for the scripting layer you need. These pages follow this project's MDPro4/YGOPro core and helper sources; available functions can differ between simulators.
Choose a Reference
| Reference | What you will find |
|---|---|
| Core and standard helper functions | Card, Effect, Group, Duel, and standard Lua helpers. |
| Standard constants | Locations, events, effect codes, and standard-format flags. |
| Rush Duel helpers | The RushDuel namespace and its RD alias. |
| Rush Duel constants | Constants defined by the Rush rules and helper library. |
Using the Rush API
Rush scripts use Card, Effect, Group, and Duel alongside the Rush helpers, so you will use both references. The matching Rush bootstrap must load the helper library and rules before your card script runs; the database's Rush label alone does not enable them.
Start with the Rush API overview, or follow the Rush Duel learning path for complete examples. Keep Rush-specific constants separate from the standard definitions.
Sources
ygopro-core/lib*.cppDefine/def.luaUtilities/utility.luaUtilities/procedure.luaRush/Utilities/RD*.luaandRush/Utilities/special.lua