Card.GetPreviousSequence
Signature
lua
Card.GetPreviousSequence(Card c) -> intDescription
Returns c's previous sequence value.
Parameters
cCard
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3521
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 59 indexed script(s).
- Search this function in the Script Explorer with
Card.GetPreviousSequence.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Hojo the Vaylantz Warrior | 88919365 | Scripts/c88919365.lua | 1 |
| Arktos XII - Chronochasm Vaylantz | 50687050 | Scripts/c50687050.lua | 1 |
| Enlilgirsu, the Orcust Mekk-Knight | 74820316 | Scripts/c74820316.lua | 1 |
| Cyberse Contract Witch | 37458564 | Scripts/c37458564.lua | 1 |
| Neo Super Quantal Mech King Blaster Magna | 95493471 | Scripts/c95493471.lua | 1 |
| Cyberse Witch | 11674673 | Scripts/c11674673.lua | 1 |
| Salamangreat Sunlight Wolf | 87871125 | Scripts/c87871125.lua | 1 |
| Zefra Metaltron | 85216896 | Scripts/c85216896.lua | 1 |
| Firewall Dragon Singularity | 21637210 | Scripts/c21637210.lua | 1 |
| Life Extreme | 36148308 | Scripts/c36148308.lua | 1 |
| Qliphort Genius | 22423493 | Scripts/c22423493.lua | 1 |
| Battle Shogun of the Six Samurai | 74752631 | Scripts/c74752631.lua | 1 |
| Transcendosaurus Exaraptor | 56818742 | Scripts/c56818742.lua | 1 |
| Ogdoadic Hollow | 96433300 | Scripts/c96433300.lua | 1 |
| True Light | 62089826 | Scripts/c62089826.lua | 1 |
| Topologic Blaster Dragon | 30064423 | Scripts/c30064423.lua | 1 |
| Xtra HERO Wonder Driver | 1948619 | Scripts/c1948619.lua | 1 |
| Flash Charge Dragon | 95372220 | Scripts/c95372220.lua | 1 |
| Tindangle Base Gardna | 94365540 | Scripts/c94365540.lua | 1 |
| Subterror Behemoth Fiendess | 74937659 | Scripts/c74937659.lua | 1 |
| Firewall Dragon | 5043010 | Scripts/c5043010.lua | 1 |
| Vaylantz Mad Marquess | 87897777 | Scripts/c87897777.lua | 1 |
| Vaylantz Wave - Master Phase | 84281045 | Scripts/c84281045.lua | 1 |
| Saion the Vaylantz Archer | 15130912 | Scripts/c15130912.lua | 1 |
| ...and 35 more |
Script Examples
Hojo the Vaylantz Warrior (88919365)
Source: Scripts/c88919365.lua
lua
local ph=Duel.GetCurrentPhase()
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsLocation(LOCATION_MZONE)
and (c:GetPreviousSequence()~=c:GetSequence() or c:GetPreviousControler()~=tp)
and ph~=PHASE_DAMAGE and ph~=PHASE_DAMAGE_CAL
endArktos XII - Chronochasm Vaylantz (50687050)
Source: Scripts/c50687050.lua
lua
function s.cfilter(c)
return c:IsLocation(LOCATION_MZONE) and c:IsPreviousLocation(LOCATION_MZONE)
and (c:GetPreviousSequence()~=c:GetSequence() or c:GetPreviousControler()~=c:GetControler())
end
function s.descon(e,tp,eg,ep,ev,re,r,rp)Enlilgirsu, the Orcust Mekk-Knight (74820316)
Source: Scripts/c74820316.lua
lua
function s.regcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:GetPreviousSequence()>4 and c:IsPreviousLocation(LOCATION_MZONE)
end
function s.regop(e,tp,eg,ep,ev,re,r,rp)