Skip to content

Duel.SetCoinResult ​

Signature ​

lua
Duel.SetCoinResult(int res, ... any) -> void

Description ​

Sets the stored coin results in the core result slots; only 0 and 1 are preserved, and other values are stored as 0.

Parameters ​

  • res int
  • ... 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.
CardIDScriptDetected Calls
Proton Blast49511705Scripts/c49511705.lua1

Script Examples ​

Proton Blast (49511705) ​

Source: Scripts/c49511705.lua

lua
		res[i]=1
	end
	Duel.SetCoinResult(table.unpack(res))
end