Skip to content

RushDuel.AttachExtraAttack ​

Alias: RD.AttachExtraAttack. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.AttachExtraAttack(any e, any card, any value, any desc, any reset, any forced) -> any

Description ​

Rush Duel helper declared in RDAttach.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.

Upstream source comment ​

text
赋予: 多次攻击

Parameters ​

  • e any: Type and behavior are not yet reviewed; see the source.
  • card any: Type and behavior are not yet reviewed; see the source.
  • value any: Type and behavior are not yet reviewed; see the source.
  • desc any: Type and behavior are not yet reviewed; see the source.
  • reset any: Type and behavior are not yet reviewed; see the source.
  • forced any: Type and behavior are not yet reviewed; see the source.

Returns ​

  • any: Return contract has not been reviewed; inspect the source below.

Source ​

Rush/Utilities/RDAttach.lua:26

lua
function RushDuel.AttachExtraAttack(e, card, value, desc, reset, forced)
    return RushDuel.CreateSingleEffect(e, desc, card, EFFECT_EXTRA_ATTACK, value, reset, forced)
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 26 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AttachExtraAttack.
CardIDScriptDetected Calls
Volcalizing Salamandeus120272039Rush/Scripts/c120272039.lua1
The Trinity Dragiastar120109031Rush/Scripts/c120109031.lua1
The Dragiastar120235035Rush/Scripts/c120235035.lua1
Voidvelg Chrysaor120244008Rush/Scripts/c120244008.lua1
Mega Jointech Fortrex [L]120249003Rush/Scripts/c120249003.lua1
Transam Variable Linac120245002Rush/Scripts/c120245002.lua1
Metarion King Cobrastar120205039Rush/Scripts/c120205039.lua1
Gias x Gias120246032Rush/Scripts/c120246032.lua1
Lightning Volteagle120246001Rush/Scripts/c120246001.lua1
Purple-Eyes Star Cat120235014Rush/Scripts/c120235014.lua1
Voidvelg Gigantomachia120244040Rush/Scripts/c120244040.lua1
Dark Matter Enigmight Geodiver120264041Rush/Scripts/c120264041.lua1
Madrhea Aquila120244030Rush/Scripts/c120244030.lua1
Solid Strike Dragon Metagiastar F120217004Rush/Scripts/c120217004.lua1
Double Chill Dragons120235034Rush/Scripts/c120235034.lua1
Steel Steed Martin Vainari120238016Rush/Scripts/c120238016.lua1
Ghost Vicious120228033Rush/Scripts/c120228033.lua1
Hyperstrike Dragon Dragiastar F120196022Rush/Scripts/c120196022.lua1
Cybersepice Queen Turmeric120264044Rush/Scripts/c120264044.lua1
Multistrike Dragon Dragias120110001Rush/Scripts/c120110001.lua1
Vice Jacker120170025Rush/Scripts/c120170025.lua1
Digracheon the Skysavior Radiaknight120301036Rush/Scripts/c120301036.lua1
Abad the Negahell Emperor120290100Rush/Scripts/c120290100.lua1
Hydra Viper120109047Rush/Scripts/c120109047.lua1
...and 2 more

Script Examples ​

Volcalizing Salamandeus (120272039) ​

Source: Rush/Scripts/c120272039.lua

lua
	if c:IsFaceup() and c:IsRelateToEffect(e) 
		and RD.IsSpecialSummonMainPhase(c) and e:GetLabel()==1 then
		RD.AttachExtraAttack(e,c,2,aux.Stringid(m,3),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
	end
end

The Trinity Dragiastar (120109031) ​

Source: Rush/Scripts/c120109031.lua

lua
	local c=e:GetHandler()
	if c:IsFaceup() and c:IsRelateToEffect(e) then
		RD.AttachExtraAttack(e,c,2,aux.Stringid(m,3),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
	end
end

The Dragiastar (120235035) ​

Source: Rush/Scripts/c120235035.lua

lua
	RD.SelectGroupAndDoAction(aux.Stringid(m,3),cm.filter1,cm.check,tp,LOCATION_MZONE,0,2,2,nil,function(g)
		g:ForEach(function(tc)
			RD.AttachExtraAttack(e,tc,1,aux.Stringid(m,4),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		end)
	end)