Card.GetTurnCounter
Signature
lua
Card.GetTurnCounter(Card c) -> intDescription
Returns c's turn counter.
Parameters
cCard
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3568
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 37 indexed script(s).
- Search this function in the Script Explorer with
Card.GetTurnCounter.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Future Fusion | 77565204 | Scripts/c77565204.lua | 3 |
| Synchro Panic | 83962752 | Scripts/c83962752.lua | 1 |
| Performapal Turn Trooper | 220414 | Scripts/c220414.lua | 1 |
| Ancient Warriors Saga - Three Visits | 11711438 | Scripts/c11711438.lua | 1 |
| Photon Change | 42925441 | Scripts/c42925441.lua | 1 |
| Cyber Network | 12670770 | Scripts/c12670770.lua | 1 |
| Time Magic Hammer | 10960419 | Scripts/c10960419.lua | 2 |
| U.A. Penalty Box | 70043345 | Scripts/c70043345.lua | 1 |
| SPYRAL MISSION - Recapture | 39373426 | Scripts/c39373426.lua | 1 |
| SPYRAL MISSION - Assault | 27642961 | Scripts/c27642961.lua | 1 |
| Number 62: Galaxy-Eyes Prime Photon Dragon | 31801517 | Scripts/c31801517.lua | 1 |
| Infernoble Knight Astolfo | 95953557 | Scripts/c95953557.lua | 1 |
| Seismic Shockwave | 79569173 | Scripts/c79569173.lua | 1 |
| SPYRAL MISSION - Rescue | 9212051 | Scripts/c9212051.lua | 1 |
| Overdoom Line | 87046457 | Scripts/c87046457.lua | 1 |
| Break! Draw! | 63851864 | Scripts/c63851864.lua | 1 |
| Ancient Warriors Saga - East-by-South Winds | 62528292 | Scripts/c62528292.lua | 1 |
| Paradox Fusion | 57355219 | Scripts/c57355219.lua | 1 |
| Cocoon of Evolution | 40240595 | Scripts/c40240595.lua | 1 |
| Soul Devouring Bamboo Sword | 51670553 | Scripts/c51670553.lua | 1 |
| Ekibyo Drakmord | 69954399 | Scripts/c69954399.lua | 2 |
| Depth Amulet | 8279188 | Scripts/c8279188.lua | 1 |
| Explosive Urchin | 52140003 | Scripts/c52140003.lua | 1 |
| Resonant Destruction | 59593925 | Scripts/c59593925.lua | 1 |
| ...and 13 more |
Script Examples
Future Fusion (77565204)
Source: Scripts/c77565204.lua
lua
function c77565204.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=c:GetTurnCounter()
if not c:IsRelateToEffect(e) or ct>=2 then
c:SetTurnCounter(0)Synchro Panic (83962752)
Source: Scripts/c83962752.lua
lua
function c83962752.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=c:GetTurnCounter()
ct=ct+1
c:SetTurnCounter(ct)Performapal Turn Trooper (220414)
Source: Scripts/c220414.lua
lua
function c220414.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=c:GetTurnCounter()
ct=ct+1
c:SetTurnCounter(ct)