This commit is contained in:
libccy 2016-04-30 09:51:01 +08:00
parent 8a0d845b46
commit 0121ee16d2
3 changed files with 3 additions and 3 deletions

View File

@ -457,7 +457,7 @@ character.shenhua={
if(get.position(link)=='e'){
event.targets[1].equip(link);
}
else if(result.buttons[0].link.viewAs){
else if(link.viewAs){
event.targets[1].addJudge({name:link.viewAs},[link]);
}
else{

View File

@ -4621,7 +4621,7 @@ character.sp={
}).set('judge',judge).set('attitude',attitude);
"step 1"
if(result.bool){
event.card=result.buttons[0].link;
event.card=result.links[0];
player.respond(event.card,'highlight');
}
else{

View File

@ -1,7 +1,7 @@
var load=function(id){
var page = require('webpage').create();
page.settings.userAgent = 'SpecialAgent';
page.open('file:///Users/widget/Documents/noname/index.html?server='+id, function(status) {
page.open('http://localhost/index.html?server='+id, function(status) {
if(status !== 'success') {
console.log('Unable to access network');
}