-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 闪刀 #1240
add 闪刀 #1240
Conversation
scripts/24PP-JP/c100214018.lua
Outdated
@@ -0,0 +1,104 @@ | |||
--陀螺 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
未来の柱ーキアノス
修复在额外以外的区域仍然只能连接召唤的Bug
scripts/24PP-JP/c100214018.lua
Outdated
return not c:IsRace(RACE_MACHINE) and c:IsLocation(LOCATION_EXTRA) | ||
end | ||
function s.thfilter(c,e,tp) | ||
return c:IsCode(37351133) and (c:IsAbleToHand() or c:IsCanBeSpecialSummoned(e,0,tp,false,false)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return c:IsCode(37351133) and (c:IsAbleToHand() or c:IsCanBeSpecialSummoned(e,0,tp,false,false)) | |
return c:IsCode(37351133) and c:IsFaceup() and (c:IsAbleToHand() or c:IsCanBeSpecialSummoned(e,0,tp,false,false)) |
function s.thop(e,tp,eg,ep,ev,re,r,rp) | ||
local tc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil,e,tp):GetFirst() | ||
if tc then | ||
if not tc:IsCanBeSpecialSummoned(e,0,tp,false,false) or Duel.SelectOption(tp,aux.Stringid(id,3),aux.Stringid(id,4))==0 then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to use:
Duel.SelectOption(tp,1190,1152)==0
No description provided.