Skip to content

Duel.NegateSummon ​

Signature ​

lua
Duel.NegateSummon(Card|Group targets) -> void

Description ​

Negates a current Normal Summon, Flip Summon, or Special Summon for targets. targets may be a Card or Group. Normal and Flip Summon negation require a single card; Special Summon negation can process a group and only negates cards whose Summon is negatable by the current reason effect. The core raises the matching *_SUMMON_NEGATED event and returns no Lua value. This is Summon negation, not Chain activation negation; pass the Summoned card or Group, not a Chain Link number.

How To Use It ​

Use this for effects that negate a Summon before it becomes successful.

lua
local g=eg
Duel.NegateSummon(g)
Duel.Destroy(g,REASON_EFFECT)

This is separate from Chain negation. It expects the Card or Group being Summoned, not a Chain Link number.

Parameters ​

  • targets Card|Group

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4932

Guided Examples ​

Learn how to use this function in context:

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 51 indexed script(s).
  • Search this function in the Script Explorer with Duel.NegateSummon.
CardIDScriptDetected Calls
Stardust Warrior74892653Scripts/c74892653.lua1
Jurrac Astero52553102Scripts/c52553102.lua1
Number C79: Battlin' Boxer General Kaiser10300821Scripts/c10300821.lua1
Daedalus Maelstrom64233143Scripts/c64233143.lua1
The Weather Painter Rainbow54178659Scripts/c54178659.lua1
Cosmic Blazar Dragon21123811Scripts/c21123811.lua1
Axon Kicker Oracle33171768Scripts/c33171768.lua1
Infernoid Flood34446231Scripts/c34446231.lua1
T.G. Halberd Cannon/Assault Mode47027714Scripts/c47027714.lua1
Borreload Riot Dragon7987191Scripts/c7987191.lua1
T.G. Halberd Cannon97836203Scripts/c97836203.lua1
Koa'ki Meiru Overload14309486Scripts/c14309486.lua1
Predaplant Triphyoverutum79864860Scripts/c79864860.lua1
Varar, Vaalmonican Concord1340142Scripts/c1340142.lua1
El Shaddoll Grysta48424886Scripts/c48424886.lua1
Dark World Punishment3167439Scripts/c3167439.lua1
Paradox Fusion57355219Scripts/c57355219.lua1
Herald of Ultimateness48546368Scripts/c48546368.lua1
Angel Statue - Azurune44822037Scripts/c44822037.lua1
Elemental Grace Doriado32965616Scripts/c32965616.lua1
Primite Scream27556460Scripts/c27556460.lua1
Seed-Spitting Saplings35263180Scripts/c35263180.lua1
Bending Destiny94662235Scripts/c94662235.lua1
Sauravis, the Ancient and Ascended4810828Scripts/c4810828.lua1
...and 27 more

Script Examples ​

Stardust Warrior (74892653) ​

Source: Scripts/c74892653.lua

lua
end
function c74892653.operation(e,tp,eg,ep,ev,re,r,rp)
	Duel.NegateSummon(eg)
	Duel.Destroy(eg,REASON_EFFECT)
	e:GetHandler():RegisterFlagEffect(74892653,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)

Jurrac Astero (52553102) ​

Source: Scripts/c52553102.lua

lua
end
function s.disop(e,tp,eg,ep,ev,re,r,rp)
	Duel.NegateSummon(eg)
	Duel.Destroy(eg,REASON_EFFECT)
end

Number C79: Battlin' Boxer General Kaiser (10300821) ​

Source: Scripts/c10300821.lua

lua
	local c=e:GetHandler()
	if c:IsRelateToChain() and c:RemoveOverlayCard(tp,2,2,REASON_EFFECT)>0 then
		Duel.NegateSummon(eg)
		Duel.Destroy(eg,REASON_EFFECT)
	end