Auxiliary.GiveUpNormalDraw
Signature
lua
Auxiliary.GiveUpNormalDraw(Effect e, int tp, [int property]) -> voidDescription
Makes tp give up the normal draw for the current Draw Phase by setting EFFECT_DRAW_COUNT to 0 and registering FLAG_ID_NO_NORMAL_DRAW.
Parameters
eEffecttpintpropertyintoptional
Source
Utilities/utility.lua:1867
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 17 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.GiveUpNormalDraw.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Rank-Up-Magic Astral Force | 45950291 | Scripts/c45950291.lua | 1 |
| Black Luster Soldier - Legendary Swordsman | 70551291 | Scripts/c70551291.lua | 1 |
| Legacy of the Duelist | 88851326 | Scripts/c88851326.lua | 1 |
| Tachyon Chaos Hole | 59650656 | Scripts/c59650656.lua | 1 |
| Fandora, the Flying Furtress | 64400161 | Scripts/c64400161.lua | 1 |
| Dark General Freed | 70676581 | Scripts/c70676581.lua | 1 |
| Spirit Burner | 50418970 | Scripts/c50418970.lua | 1 |
| Gearbreed | 27979109 | Scripts/c27979109.lua | 1 |
| Freed the Matchless General | 49681811 | Scripts/c49681811.lua | 1 |
| Infernity Pawn | 82434071 | Scripts/c82434071.lua | 1 |
| Meteor Flare | 56856951 | Scripts/c56856951.lua | 1 |
| Sylvan Waterslide | 49838105 | Scripts/c49838105.lua | 1 |
| Magical Blast | 91819979 | Scripts/c91819979.lua | 1 |
| Malefic World | 27564031 | Scripts/c27564031.lua | 1 |
| Iron Core of Koa'ki Meiru | 36623431 | Scripts/c36623431.lua | 1 |
| Flying Saucer Muusik'i | 97697678 | Scripts/c97697678.lua | 1 |
| Flame Tiger | 66499018 | Scripts/c66499018.lua | 1 |
Script Examples
Rank-Up-Magic Astral Force (45950291)
Source: Scripts/c45950291.lua
lua
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
aux.GiveUpNormalDraw(e,tp,EFFECT_FLAG_OATH)
end
function c45950291.splimit(e,c,sump,sumtype,sumpos,targetp,se)Black Luster Soldier - Legendary Swordsman (70551291)
Source: Scripts/c70551291.lua
lua
function s.thop(e,tp,eg,ep,ev,re,r,rp)
if not aux.IsPlayerCanNormalDraw(tp) then return end
aux.GiveUpNormalDraw(e,tp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)Legacy of the Duelist (88851326)
Source: Scripts/c88851326.lua
lua
function c88851326.thop(e,tp,eg,ep,ev,re,r,rp)
if not aux.IsPlayerCanNormalDraw(tp) then return end
aux.GiveUpNormalDraw(e,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c88851326.thfilter,tp,LOCATION_GRAVE,0,1,1,nil)