Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c12292422.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function c12292422.operation(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT) and g:GetFirst():IsLocation(LOCATION_GRAVE) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
local race=Duel.AnnounceRace(tp,1,RACE_ALL)
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp)
local cg=Duel.GetFieldGroup(tp,0,LOCATION_HAND+LOCATION_DECK)
Duel.ConfirmCards(1-tp,cg)
Expand Down
2 changes: 1 addition & 1 deletion c16725505.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function c16725505.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c16725505.filter,tp,LOCATION_MZONE,0,1,1,nil)
local lv=g:GetFirst():GetLevel()
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceLevel(tp,1,6,lv))
end
function c16725505.op(e,tp,eg,ep,ev,re,r,rp)
Expand Down
2 changes: 1 addition & 1 deletion c16769305.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ end
function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local lv=e:GetHandler():GetLevel()
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceLevel(tp,1,9,lv))
end
function s.lvop(e,tp,eg,ep,ev,re,r,rp)
Expand Down
2 changes: 1 addition & 1 deletion c19808608.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function c19808608.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c19808608.filter,tp,LOCATION_MZONE,0,1,1,nil)
local lv=g:GetFirst():GetLevel()
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceLevel(tp,1,8,lv))
end
function c19808608.lvop(e,tp,eg,ep,ev,re,r,rp)
Expand Down
2 changes: 1 addition & 1 deletion c20579538.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end
function c20579538.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,1,8)
e:SetLabel(lv)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
Expand Down
2 changes: 1 addition & 1 deletion c22657402.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function c22657402.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local lv2=0
local tc2=g:GetNext()
if tc2 then lv2=tc2:GetLevel() end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,5,8,lv1,lv2)
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c26099457.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function c26099457.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(c26099457.filter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c26099457.filter,tp,LOCATION_MZONE,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,1,3,g:GetFirst():GetLevel())
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c3752422.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function c3752422.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and Duel.IsExistingTarget(c3752422.filter,tp,LOCATION_MZONE,0,1,c) end
local p=c:GetLevel()-1
p=math.min(p,5)
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceLevel(tp,1,p))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,c3752422.filter,tp,LOCATION_MZONE,0,1,1,c)
Expand Down
2 changes: 1 addition & 1 deletion c50074392.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function c50074392.filter(c)
end
function c50074392.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c50074392.filter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,3,5)
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c58577036.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function c58577036.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c58577036.operation(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsPlayerCanSpecialSummon(tp) or not Duel.IsPlayerCanDiscardDeck(tp,1) then return end
Duel.Hint(HINT_SELECTMSG,1-tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(1-tp)
local g=Duel.GetMatchingGroup(Card.IsSummonableCard,tp,LOCATION_DECK,0,nil)
local dcount=Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)
Expand Down
2 changes: 1 addition & 1 deletion c58809685.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if lvt[i] then lvt[i]=nil lvt[pc]=i pc=pc+1 end
end
lvt[pc]=nil
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceNumber(tp,table.unpack(lvt)))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,0)
Expand Down
2 changes: 1 addition & 1 deletion c60623203.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if sg:GetClassCount(Card.GetLevel)==1 then
exlv=sg:GetFirst():GetLevel()
end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,1,12,exlv)
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c67556500.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function c67556500.lvcon(e,tp,eg,ep,ev,re,r,rp)
end
function c67556500.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,1,3)
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c70456282.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function c70456282.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c70456282.filter,tp,LOCATION_MZONE,0,1,1,nil)
local lv=g:GetFirst():GetLevel()
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
e:SetLabel(Duel.AnnounceLevel(tp,1,8,lv))
end
function c70456282.lvop(e,tp,eg,ep,ev,re,r,rp)
Expand Down
2 changes: 1 addition & 1 deletion c7405310.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end
function c7405310.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,LOCATION_HAND,0,1,e:GetHandler())
and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_EXTRA,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp)
e:SetLabel(lv)
end
Expand Down
2 changes: 1 addition & 1 deletion c84271823.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function c84271823.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
for i=1,8 do
if not g:IsExists(Card.IsLevel,1,nil,i) then table.insert(ct,i) end
end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceNumber(tp,table.unpack(ct))
e:SetLabel(lv)
e:SetLabelObject(g)
Expand Down
2 changes: 1 addition & 1 deletion c84677654.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function c84677654.cfilter(c)
end
function c84677654.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c84677654.cfilter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINGMSG_LVRANK)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp)
Duel.SetTargetParam(lv)
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,PLAYER_ALL,2)
Expand Down
4 changes: 2 additions & 2 deletions constant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ HINTMSG_POSITION =561 --请选择表示形式
HINTMSG_ATTRIBUTE =562 --请选择要宣言的属性
HINTMSG_RACE =563 --请选择要宣言的种族
HINTMSG_CODE =564 --请宣言一个卡名
HINGMSG_NUMBER =565 --请选择一个数字
HINGMSG_LVRANK =567 --请宣言一个等级
HINTMSG_NUMBER =565 --请选择一个数字
HINTMSG_LVRANK =567 --请宣言一个等级
HINTMSG_RESOLVECARD =568 --请选择要处理效果的卡
HINTMSG_ZONE =569 --请选择[%ls]的位置
HINTMSG_DISABLEZONE =570 --请选择要变成不能使用的卡片区域
Expand Down