Skip to content

Card.GetPreviousRankOnField ​

Signature ​

lua
Card.GetPreviousRankOnField(Card c) -> int

Description ​

Returns the Rank value c had while it was previously on the field.

Parameters ​

  • c Card

Returns ​

  • int

Source ​

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

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 Card.GetPreviousRankOnField.
CardIDScriptDetected Calls
Seven Stars Slash - Army Annihilator Hagun65114115Scripts/c65114115.lua1

Script Examples ​

Seven Stars Slash - Army Annihilator Hagun (65114115) ​

Source: Scripts/c65114115.lua

lua
end
function s.thcfilter(c,tp)
	return (c:GetPreviousLevelOnField()>=8 or c:GetPreviousRankOnField()>=8) and c:IsPreviousControler(1-tp)
end
function s.thcon2(e,tp,eg,ep,ev,re,r,rp)