Commit 0fe4b82c authored by nanahira's avatar nanahira

remove_constalt

parent 96c6c6e4
...@@ -19,6 +19,7 @@ function cm.initial_effect(c) ...@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e1:SetCode(EFFECT_SET_ATTACK) e1:SetCode(EFFECT_SET_ATTACK)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetCondition(function(e) return e:GetHandler():GetOverlayCount()>0 end)
e1:SetTarget(function(e,c) return c:IsType(TYPE_LINK) end) e1:SetTarget(function(e,c) return c:IsType(TYPE_LINK) end)
e1:SetValue(function(e,c) return math.ceil(c:GetBaseAttack()/2) end) e1:SetValue(function(e,c) return math.ceil(c:GetBaseAttack()/2) end)
c:RegisterEffect(e1) c:RegisterEffect(e1)
......
...@@ -10,12 +10,6 @@ cm.delay=0x14000 ...@@ -10,12 +10,6 @@ cm.delay=0x14000
cm.fix=0x40400 cm.fix=0x40400
cm.m=37564765 cm.m=37564765
--constants
EFFECT_CHANGE_LINK_MARKER_KOISHI =710253
EFFECT_ADD_LINK_MARKER_KOISHI =37564151
EFFECT_REMOVE_LINK_MARKER_KOISHI =37564152
EFFECT_CANNOT_LOSE_KOISHI =37564153
function cm.DescriptionInNanahira(id) function cm.DescriptionInNanahira(id)
id=id or 0 id=id or 0
return 37564765*16+id return 37564765*16+id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment