This commit is contained in:
parent
3a3cb1a1e3
commit
9b47a16f36
|
@ -2481,10 +2481,11 @@ game.import('mode',function(){
|
||||||
event.removeCharacter.style.opacity=1;
|
event.removeCharacter.style.opacity=1;
|
||||||
}
|
}
|
||||||
if(game.data.money<150&&!game.data._arena){
|
if(game.data.money<150&&!game.data._arena){
|
||||||
event.enterArena.style.opacity=0.5;
|
event.enterArena.classList.add('disabled');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.enterArena.style.opacity=1;
|
event.enterArena.animate('controlpressdownx',500);
|
||||||
|
event.enterArena.classList.remove('disabled');
|
||||||
}
|
}
|
||||||
if(game.data.money<100){
|
if(game.data.money<100){
|
||||||
event.addCharacter.style.opacity=0.5;
|
event.addCharacter.style.opacity=0.5;
|
||||||
|
@ -2499,7 +2500,7 @@ game.import('mode',function(){
|
||||||
};
|
};
|
||||||
event.addCharacter=ui.create.control('招募','nozoom',zhaomu2);
|
event.addCharacter=ui.create.control('招募','nozoom',zhaomu2);
|
||||||
if(game.data.money<150&&!game.data._arena){
|
if(game.data.money<150&&!game.data._arena){
|
||||||
event.enterArena.style.opacity=0.5;
|
event.enterArena.classList.add('disabled');
|
||||||
}
|
}
|
||||||
if(game.data.money<100){
|
if(game.data.money<100){
|
||||||
event.addCharacter.style.opacity=0.5;
|
event.addCharacter.style.opacity=0.5;
|
||||||
|
@ -2565,7 +2566,8 @@ game.import('mode',function(){
|
||||||
event.addCharacter.style.opacity=1;
|
event.addCharacter.style.opacity=1;
|
||||||
}
|
}
|
||||||
if(game.data.money>=150){
|
if(game.data.money>=150){
|
||||||
event.enterArena.style.opacity=1;
|
event.enterArena.animate('controlpressdownx',500);
|
||||||
|
event.enterArena.classList.remove('disabled');
|
||||||
}
|
}
|
||||||
node.delete();
|
node.delete();
|
||||||
dialog1.buttons.remove(node);
|
dialog1.buttons.remove(node);
|
||||||
|
@ -2842,10 +2844,11 @@ game.import('mode',function(){
|
||||||
event.addCharacter.style.opacity=0.5;
|
event.addCharacter.style.opacity=0.5;
|
||||||
}
|
}
|
||||||
if(game.data.money>=150||game.data._arena){
|
if(game.data.money>=150||game.data._arena){
|
||||||
event.enterArena.style.opacity=1;
|
event.enterArena.animate('controlpressdownx',500);
|
||||||
|
event.enterArena.classList.remove('disabled');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.enterArena.style.opacity=0.5;
|
event.enterArena.classList.add('disabled');
|
||||||
}
|
}
|
||||||
event.fight.style.opacity=1;
|
event.fight.style.opacity=1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue