Skip to content

Card.GetTributeRequirement ​

Signature ​

lua
Card.GetTributeRequirement(Card c) -> int,int

Description ​

Returns the minimum and maximum Tribute counts for Normal Summoning c.

Parameters ​

  • c Card

Returns ​

  • int - Minimum Tribute count.
  • int - Maximum Tribute count.

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3707

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 9 indexed script(s).
  • Search this function in the Script Explorer with Card.GetTributeRequirement.
CardIDScriptDetected Calls
Union Activation38527680Scripts/c38527680.lua2
Quick Summon10086952Scripts/c10086952.lua2
Condemned Darklord35306215Scripts/c35306215.lua1
Leo Wizard the Dark Fiend55423549Scripts/c55423549.lua1
Floowandereeze and the Unexplored Winds55521751Scripts/c55521751.lua1
Mausoleum of the Emperor80921533Scripts/c80921533.lua3
Tribute Burial80230510Scripts/c80230510.lua1
Ancient Gear Castle92001300Scripts/c92001300.lua1
Kaiser Colosseum35059553Scripts/c35059553.lua1

Script Examples ​

Union Activation (38527680) ​

Source: Scripts/c38527680.lua

lua
end
function s.thfilter2(c,e,tp)
	local minc,maxc=c:GetTributeRequirement()
	return c:IsAttackAbove(3000) and c:IsSummonable(true,nil) and c:IsSummonableCard() and c:IsAbleToHand() and s.sunthfilter(c,e,tp,minc,maxc) and Duel.IsPlayerCanSummon(tp,SUMMON_TYPE_ADVANCE,c)
end

Quick Summon (10086952) ​

Source: Scripts/c10086952.lua

lua
end
function s.thfilter2(c,e,tp)
	local minc,maxc=c:GetTributeRequirement()
	return c:IsLevelAbove(5) and (c:IsSummonable(true,nil) or c:IsMSetable(true,nil))
		and c:IsSummonableCard() and c:IsAbleToHand() and s.sunthfilter(c,e,tp,minc,maxc)

Condemned Darklord (35306215) ​

Source: Scripts/c35306215.lua

lua
end
function c35306215.ottg(e,c)
	local mi,ma=c:GetTributeRequirement()
	return mi<=2 and ma>=2 and c:IsRace(RACE_FAIRY)
end