Skip to content

Auxiliary.imval1 ​

Signature ​

lua
Auxiliary.imval1(Effect e, Card c) -> bool

Description ​

Default value helper for EFFECT_CANNOT_BE_BATTLE_TARGET; it returns true when c is not immune to e.

Parameters ​

  • e Effect
  • c Card

Returns ​

  • bool

Source ​

  • Utilities/utility.lua:823

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 Auxiliary.imval1.
CardIDScriptDetected Calls
Duel Link Dragon, the Duel Dragon60025883Scripts/c60025883.lua1
The Winged Dragon of Ra - Sphere Mode10000080Scripts/c10000080.lua1
Ultimaya Tzolkin1686814Scripts/c1686814.lua1
Rokket Recharger5969957Scripts/c5969957.lua1
Performapal Miss Director92932860Scripts/c92932860.lua1
Princess Cologne75574498Scripts/c75574498.lua1
Selene, Queen of the Master Magicians45819647Scripts/c45819647.lua1
Appliancer Celtopus78225596Scripts/c78225596.lua1
Gullveig of the Nordic Ascendant90207654Scripts/c90207654.lua1
Performage Trapeze Witch33206889Scripts/c33206889.lua1
Brotherhood of the Fire Fist - Peacock20265095Scripts/c20265095.lua1
Ancient Warriors - Virtuous Liu Xuan40428851Scripts/c40428851.lua1
Poseidra, the Storming Atlantean99193444Scripts/c99193444.lua1
Raidraptor Replica54423935Scripts/c54423935.lua1
Meizen the Battle Ninja11825276Scripts/c11825276.lua1
Ghostrick Socuteboss32224143Scripts/c32224143.lua1
Ancient Warriors - Masterful Sun Mou40140448Scripts/c40140448.lua1
Yuki-Onna, the Ice Mayakashi66870733Scripts/c66870733.lua1
Shinobi Insect Hagakuremino70709488Scripts/c70709488.lua1
Earthbound Immortal Wiraqocha Rasca41181774Scripts/c41181774.lua1
Rescue-ACE Hydrant37617348Scripts/c37617348.lua1
Earthbound Immortal Uru15187079Scripts/c15187079.lua1
Raidraptor - Rudder Strix6552938Scripts/c6552938.lua1
Otoshidamashi14957440Scripts/c14957440.lua1
...and 27 more

Script Examples ​

Source: Scripts/c60025883.lua

lua
	e2:SetRange(LOCATION_MZONE)
	e2:SetCondition(c60025883.tgcon)
	e2:SetValue(aux.imval1)
	c:RegisterEffect(e2)
	local e3=e2:Clone()

The Winged Dragon of Ra - Sphere Mode (10000080) ​

Source: Scripts/c10000080.lua

lua
	e7:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET)
	e7:SetRange(LOCATION_MZONE)
	e7:SetValue(aux.imval1)
	c:RegisterEffect(e7)
	local e8=e7:Clone()

Ultimaya Tzolkin (1686814) ​

Source: Scripts/c1686814.lua

lua
	e4:SetRange(LOCATION_MZONE)
	e4:SetCondition(c1686814.tgcon)
	e4:SetValue(aux.imval1)
	c:RegisterEffect(e4)
	local e5=e4:Clone()