增加返回时间
This commit is contained in:
parent
a317d23811
commit
e58e3f99d7
@ -471,6 +471,9 @@ export class BattleHandler {
|
|||||||
let ph = this.getPlayer(aplayer);
|
let ph = this.getPlayer(aplayer);
|
||||||
let fromph = this.getPlayer(fromplayer);
|
let fromph = this.getPlayer(fromplayer);
|
||||||
ph && ph.onCardLinkEnd(linkcards, fromph);
|
ph && ph.onCardLinkEnd(linkcards, fromph);
|
||||||
|
|
||||||
|
//1
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -481,6 +484,9 @@ export class BattleHandler {
|
|||||||
public onCardDiscarded(aplayer: Player, card: Card){
|
public onCardDiscarded(aplayer: Player, card: Card){
|
||||||
let ph = this.getPlayer(aplayer);
|
let ph = this.getPlayer(aplayer);
|
||||||
ph && ph.onCardDiscarded(card);
|
ph && ph.onCardDiscarded(card);
|
||||||
|
|
||||||
|
//1
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -492,6 +498,9 @@ export class BattleHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sp.srcplayer && sp.srcplayer.onUseCardEnd(sp);
|
sp.srcplayer && sp.srcplayer.onUseCardEnd(sp);
|
||||||
|
|
||||||
|
//1
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -531,6 +540,9 @@ export class BattleHandler {
|
|||||||
}
|
}
|
||||||
let ph = this.getPlayer(aplayer);
|
let ph = this.getPlayer(aplayer);
|
||||||
ph && ph.onRoundStart();
|
ph && ph.onRoundStart();
|
||||||
|
|
||||||
|
//1
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -541,6 +553,9 @@ export class BattleHandler {
|
|||||||
let ph = this.getPlayer(aplayer);
|
let ph = this.getPlayer(aplayer);
|
||||||
ph && ph.onRoundEnd();
|
ph && ph.onRoundEnd();
|
||||||
this.checkPets();
|
this.checkPets();
|
||||||
|
|
||||||
|
//1
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user