RushDuel.IsPreviousAttackAbove
Alias: RD.IsPreviousAttackAbove. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.IsPreviousAttackAbove(any card, any atk) -> anyDescription
Rush Duel helper declared in RDCondition.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
条件: 位置变化前的攻击力大于Parameters
cardany: Type and behavior are not yet reviewed; see the source.atkany: 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/RDCondition.lua:226
lua
function RushDuel.IsPreviousAttackAbove(card, atk)
return card:GetPreviousAttackOnField() >= atk
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 1 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.IsPreviousAttackAbove.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Dark Nebula | 120235059 | Rush/Scripts/c120235059.lua | 1 |
Script Examples
Dark Nebula (120235059)
Source: Rush/Scripts/c120235059.lua
lua
and RD.IsPreviousAttribute(c,ATTRIBUTE_DARK)
and RD.IsPreviousRace(c,RACE_GALAXY)
and RD.IsPreviousAttackAbove(c,1500)
end
function cm.spfilter(c,e,tp)