修订效果强化问题+导表
This commit is contained in:
parent
aea1fd6a6f
commit
f5f2c0088c
File diff suppressed because one or more lines are too long
@ -379,6 +379,13 @@ export class Skill {
|
|||||||
this._startround++;
|
this._startround++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
let sp: SkillParam;
|
||||||
|
if(tg_target.isEmpty()){
|
||||||
|
sp = tg_target.clone();
|
||||||
|
sp.edd_cnt = this._orign_effcnt;
|
||||||
|
}else{
|
||||||
|
sp = tg_target;
|
||||||
|
}
|
||||||
if(this._tgctrl.checkTrigger(tg_type, tg_value, this._owner, (cdt: CondDecideType, v: number)=>{
|
if(this._tgctrl.checkTrigger(tg_type, tg_value, this._owner, (cdt: CondDecideType, v: number)=>{
|
||||||
if(this.isTotalCardSkill()){
|
if(this.isTotalCardSkill()){
|
||||||
if(cdt == CondDecideType.EQUAL){
|
if(cdt == CondDecideType.EQUAL){
|
||||||
@ -388,7 +395,7 @@ export class Skill {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})){
|
})){
|
||||||
this.trigger(tg_target, cb, tg_value);
|
this.trigger(sp, cb, tg_value);
|
||||||
return 1;
|
return 1;
|
||||||
}else{
|
}else{
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -52,6 +52,10 @@ export class SkillParam{
|
|||||||
this.srcpet = pet;
|
this.srcpet = pet;
|
||||||
this.srcplayer = pet._owner;
|
this.srcplayer = pet._owner;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
isEmpty(){
|
||||||
|
return this.cardid == 0 && this.cardpoint == 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user