RushDuel.IsPlayerNoActivateInThisTurn
Alias: RD.IsPlayerNoActivateInThisTurn. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.IsPlayerNoActivateInThisTurn(any player, any code) -> 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
playerany: Type and behavior are not yet reviewed; see the source.codeany: 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:81
lua
function RushDuel.IsPlayerNoActivateInThisTurn(player, code)
local codes = RushDuel.ActivateCodes[player + 1] or {}
return not codes[code]
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 29 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.IsPlayerNoActivateInThisTurn.
Script Examples
The Eye of Timaeus (120285065)
Source: Rush/Scripts/c120285065.lua
lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsPlayerNoActivateInThisTurn(tp,list[1])
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)Light of Bewitchment (120301074)
Source: Rush/Scripts/c120301074.lua
lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsPlayerNoActivateInThisTurn(tp,list[1])
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)Spiritualization Training (120301020)
Source: Rush/Scripts/c120301020.lua
lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsPlayerNoActivateInThisTurn(tp,list[1])
end
cm.cost=RD.CostShowGroupHand(cm.costfilter,cm.costcheck,2,2,function(g)