This commit is contained in:
parent
8a0d845b46
commit
0121ee16d2
|
@ -457,7 +457,7 @@ character.shenhua={
|
||||||
if(get.position(link)=='e'){
|
if(get.position(link)=='e'){
|
||||||
event.targets[1].equip(link);
|
event.targets[1].equip(link);
|
||||||
}
|
}
|
||||||
else if(result.buttons[0].link.viewAs){
|
else if(link.viewAs){
|
||||||
event.targets[1].addJudge({name:link.viewAs},[link]);
|
event.targets[1].addJudge({name:link.viewAs},[link]);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
@ -4621,7 +4621,7 @@ character.sp={
|
||||||
}).set('judge',judge).set('attitude',attitude);
|
}).set('judge',judge).set('attitude',attitude);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
event.card=result.buttons[0].link;
|
event.card=result.links[0];
|
||||||
player.respond(event.card,'highlight');
|
player.respond(event.card,'highlight');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
var load=function(id){
|
var load=function(id){
|
||||||
var page = require('webpage').create();
|
var page = require('webpage').create();
|
||||||
page.settings.userAgent = 'SpecialAgent';
|
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') {
|
if(status !== 'success') {
|
||||||
console.log('Unable to access network');
|
console.log('Unable to access network');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue