This commit is contained in:
libccy 2016-05-23 14:01:05 +08:00
parent de22d89762
commit 1267f6b249
1 changed files with 10 additions and 2 deletions

View File

@ -11223,7 +11223,9 @@
position:this.position, position:this.position,
forced:this.forced, forced:this.forced,
aiexclude:this.aiexclude, aiexclude:this.aiexclude,
complexSelect:this.complexSelect complexSelect:this.complexSelect,
ai1:this.ai1,
ai2:this.ai2,
} }
if(skill){ if(skill){
var info=get.info(skill); var info=get.info(skill);
@ -11239,6 +11241,8 @@
if(info.position!=undefined) this.position=info.position; if(info.position!=undefined) this.position=info.position;
if(info.forced!=undefined) this.forced=info.forced; if(info.forced!=undefined) this.forced=info.forced;
if(info.complexSelect!=undefined) this.complexSelect=info.complexSelect; if(info.complexSelect!=undefined) this.complexSelect=info.complexSelect;
if(info.ai1!=undefined) this.ai1=info.ai1;
if(info.ai2!=undefined) this.ai2=info.ai2;
} }
else{ else{
this.filterButton=info.filterButton?get.filter(info.filterButton):undefined; this.filterButton=info.filterButton?get.filter(info.filterButton):undefined;
@ -11250,6 +11254,8 @@
this.position=info.position; this.position=info.position;
this.forced=info.forced; this.forced=info.forced;
this.complexSelect=info.complexSelect; this.complexSelect=info.complexSelect;
if(info.ai1!=undefined) this.ai1=info.ai1;
if(info.ai2!=undefined) this.ai2=info.ai2;
} }
} }
}, },
@ -11264,7 +11270,9 @@
this.position=this._backup.position; this.position=this._backup.position;
this.forced=this._backup.forced; this.forced=this._backup.forced;
this.aiexclude=this._backup.aiexclude; this.aiexclude=this._backup.aiexclude;
this.complexSelect=this._backup.complexSelect; this.complexSelect=this._backup.complexSelect;
this.ai1=this._backup.ai1;
this.ai2=this._backup.ai2;
} }
delete this.skill; delete this.skill;
}, },