激活两次修改
parent
646f3ae5de
commit
10f239582a
|
|
@ -25,7 +25,7 @@ end
|
||||||
|
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
function FetterItem:BindEvent()
|
function FetterItem:BindEvent()
|
||||||
Util.AddClick(self.activeBtn, function()
|
Util.AddOnceClick(self.activeBtn, function()
|
||||||
local oldWarPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
|
local oldWarPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
|
||||||
NetManager.PokemonBookEnableRequest(self.itemData.id,function(msg)
|
NetManager.PokemonBookEnableRequest(self.itemData.id,function(msg)
|
||||||
if msg.drop and msg.drop.itemlist and #msg.drop.itemlist > 0 then
|
if msg.drop and msg.drop.itemlist and #msg.drop.itemlist > 0 then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue