Skip to content

Commit a2d0839

Browse files
committed
"Hieroglyph Lithograph" update
It will now show a hint over the player's LP bar with the hand size adjustment
1 parent 2d9697a commit a2d0839

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

official/c10248192.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
--Hieroglyph Lithograph
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--Pay 1000 Life Points. During the current Duel, your hand size limit becomes 7
66
local e1=Effect.CreateEffect(c)
7+
e1:SetDescription(aux.Stringid(id,0))
78
e1:SetType(EFFECT_TYPE_ACTIVATE)
89
e1:SetCode(EVENT_FREE_CHAIN)
910
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
@@ -19,10 +20,11 @@ end
1920
function s.activate(e,tp,eg,ep,ev,re,r,rp)
2021
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
2122
local e1=Effect.CreateEffect(e:GetHandler())
23+
e1:SetDescription(aux.Stringid(id,1))
2224
e1:SetType(EFFECT_TYPE_FIELD)
2325
e1:SetCode(EFFECT_HAND_LIMIT)
24-
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
26+
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
2527
e1:SetTargetRange(1,0)
2628
e1:SetValue(7)
2729
Duel.RegisterEffect(e1,p)
28-
end
30+
end

0 commit comments

Comments
 (0)