Duel.SetCoinResult
Signature
lua
Duel.SetCoinResult(int res, ... any) -> voidDescription
Sets the stored coin results in the core result slots; only 0 and 1 are preserved, and other values are stored as 0.
Parameters
resint...any
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:5041
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1 indexed script(s).
- Search this function in the Script Explorer with
Duel.SetCoinResult.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Proton Blast | 49511705 | Scripts/c49511705.lua | 1 |
Script Examples
Proton Blast (49511705)
Source: Scripts/c49511705.lua
lua
res[i]=1
end
Duel.SetCoinResult(table.unpack(res))
end