parent
ac2c71b71c
commit
fe95188cd2
|
@ -1880,8 +1880,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
addVisitors:function(characters,player){
|
addVisitors:function(characters,player){
|
||||||
player.addSkillBlocker('sbyingmen');
|
player.addSkillBlocker('sbyingmen');
|
||||||
game.log(player,'将','#y'+get.translation(characters),'加入了','#g“访客”')
|
game.log(player,'将','#y'+get.translation(characters),'加入了','#g“访客”');
|
||||||
lib.skill.rehuashen.drawCharacter(player,characters);
|
game.broadcastAll(function(player,characters){
|
||||||
|
player.$draw(characters.map(function(name){
|
||||||
|
var cardname='huashen_card_'+name;
|
||||||
|
lib.card[cardname]={
|
||||||
|
fullimage:true,
|
||||||
|
image:'character:'+name
|
||||||
|
};
|
||||||
|
lib.translate[cardname]=get.rawName2(name);
|
||||||
|
return game.createCard(cardname,' ',' ');
|
||||||
|
}),'nobroadcast');
|
||||||
|
},player,characters);
|
||||||
player.markAuto('sbyingmen',characters)
|
player.markAuto('sbyingmen',characters)
|
||||||
var storage=player.getStorage('sbyingmen');
|
var storage=player.getStorage('sbyingmen');
|
||||||
var skills=lib.skill.sbyingmen.getSkills(storage,player);
|
var skills=lib.skill.sbyingmen.getSkills(storage,player);
|
||||||
|
|
Loading…
Reference in New Issue