Duel.AdjustInstantly
Signature
lua
Duel.AdjustInstantly([Card c]) -> voidDescription
Runs immediate field adjustment. When c is supplied, the core refreshes disable relations for cards related to c before adjusting the field.
Parameters
cCardoptional
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4963
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 43 indexed script(s).
- Search this function in the Script Explorer with
Duel.AdjustInstantly.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Sacred Beasts Combined Assault | 50147815 | Scripts/c50147815.lua | 1 |
| Traptrix Atypus | 48183890 | Scripts/c48183890.lua | 1 |
| Borrelshroud Dragon | 66452432 | Scripts/c66452432.lua | 1 |
| Red Cocoon | 2542230 | Scripts/c2542230.lua | 1 |
| S-Force Justify | 35334193 | Scripts/c35334193.lua | 1 |
| Scourge of the White Forest | 93723936 | Scripts/c93723936.lua | 1 |
| Primite Imperial Dragon | 81418467 | Scripts/c81418467.lua | 1 |
| The Chaotic Phantasmal Sacred Beasts | 7894706 | Scripts/c7894706.lua | 1 |
| Rank-Down-Magic Numeron Fall | 71345905 | Scripts/c71345905.lua | 1 |
| Baelgrill de Nouvelles | 88890658 | Scripts/c88890658.lua | 1 |
| Update Jammer | 88093706 | Scripts/c88093706.lua | 1 |
| Chaos Angel | 22850702 | Scripts/c22850702.lua | 2 |
| Realm Eulogy | 54851325 | Scripts/c54851325.lua | 1 |
| Flower Cardian Lightflare | 87460579 | Scripts/c87460579.lua | 1 |
| Ultimate Leo Utopia Ray | 68679595 | Scripts/c68679595.lua | 1 |
| Magnificent Machine Angel | 27331568 | Scripts/c27331568.lua | 1 |
| Cosmo Queen the Queen of Prayers | 85314178 | Scripts/c85314178.lua | 1 |
| Primite Drillbeam | 29095457 | Scripts/c29095457.lua | 1 |
| Spell Power Attainment | 39123673 | Scripts/c39123673.lua | 1 |
| Mind Mirror Force | 66247039 | Scripts/c66247039.lua | 1 |
| Dracotail Flame | 5431722 | Scripts/c5431722.lua | 1 |
| Fist of Fate | 79868386 | Scripts/c79868386.lua | 1 |
| Stare of the Snake Hair | 54077752 | Scripts/c54077752.lua | 1 |
| Tearlaments Sulliek | 74920585 | Scripts/c74920585.lua | 1 |
| ...and 19 more |
Script Examples
Sacred Beasts Combined Assault (50147815)
Source: Scripts/c50147815.lua
lua
nc:RegisterEffect(e3)
end
Duel.AdjustInstantly()
Duel.NegateRelatedChain(nc,RESET_TURN_SET)
Duel.Destroy(nc,REASON_EFFECT)Traptrix Atypus (48183890)
Source: Scripts/c48183890.lua
lua
tc=g:GetNext()
end
Duel.AdjustInstantly(c)
if Duel.IsExistingMatchingCard(aux.NecroValleyFilter(s.rmfilter),tp,LOCATION_GRAVE,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(id,1)) thenBorrelshroud Dragon (66452432)
Source: Scripts/c66452432.lua
lua
sc:RegisterEffect(e4)
end
Duel.AdjustInstantly(sc)
if tc:IsRelateToChain() and tc:IsType(TYPE_MONSTER) then
Duel.BreakEffect()