diff --git a/audio/card/female/chuqibuyi.mp3 b/audio/card/female/chuqibuyi.mp3 new file mode 100644 index 000000000..32149a3a2 Binary files /dev/null and b/audio/card/female/chuqibuyi.mp3 differ diff --git a/audio/card/female/dongzhuxianji.mp3 b/audio/card/female/dongzhuxianji.mp3 new file mode 100644 index 000000000..caba8c91c Binary files /dev/null and b/audio/card/female/dongzhuxianji.mp3 differ diff --git a/audio/card/female/sha_ice.mp3 b/audio/card/female/sha_ice.mp3 new file mode 100644 index 000000000..acd7e8d41 Binary files /dev/null and b/audio/card/female/sha_ice.mp3 differ diff --git a/audio/card/female/suijiyingbian.mp3 b/audio/card/female/suijiyingbian.mp3 new file mode 100644 index 000000000..405441650 Binary files /dev/null and b/audio/card/female/suijiyingbian.mp3 differ diff --git a/audio/card/female/zhujinqiyuan.mp3 b/audio/card/female/zhujinqiyuan.mp3 new file mode 100644 index 000000000..76f5692f5 Binary files /dev/null and b/audio/card/female/zhujinqiyuan.mp3 differ diff --git a/audio/card/male/chuqibuyi.mp3 b/audio/card/male/chuqibuyi.mp3 new file mode 100644 index 000000000..39448a593 Binary files /dev/null and b/audio/card/male/chuqibuyi.mp3 differ diff --git a/audio/card/male/dongzhuxianji.mp3 b/audio/card/male/dongzhuxianji.mp3 new file mode 100644 index 000000000..211c0afa6 Binary files /dev/null and b/audio/card/male/dongzhuxianji.mp3 differ diff --git a/audio/card/male/sha_ice.mp3 b/audio/card/male/sha_ice.mp3 new file mode 100644 index 000000000..2385a9ea8 Binary files /dev/null and b/audio/card/male/sha_ice.mp3 differ diff --git a/audio/card/male/suijiyingbian.mp3 b/audio/card/male/suijiyingbian.mp3 new file mode 100644 index 000000000..db487bfb1 Binary files /dev/null and b/audio/card/male/suijiyingbian.mp3 differ diff --git a/audio/card/male/zhujinqiyuan.mp3 b/audio/card/male/zhujinqiyuan.mp3 new file mode 100644 index 000000000..bd94d19ed Binary files /dev/null and b/audio/card/male/zhujinqiyuan.mp3 differ diff --git a/audio/die/duyu.mp3 b/audio/die/duyu.mp3 new file mode 100644 index 000000000..4d4015086 Binary files /dev/null and b/audio/die/duyu.mp3 differ diff --git a/audio/die/hanfu.mp3 b/audio/die/hanfu.mp3 new file mode 100644 index 000000000..80e8898d6 Binary files /dev/null and b/audio/die/hanfu.mp3 differ diff --git a/audio/die/jin_simashi.mp3 b/audio/die/jin_simashi.mp3 new file mode 100644 index 000000000..cb4585249 Binary files /dev/null and b/audio/die/jin_simashi.mp3 differ diff --git a/audio/die/jin_simayi.mp3 b/audio/die/jin_simayi.mp3 new file mode 100644 index 000000000..75184a874 Binary files /dev/null and b/audio/die/jin_simayi.mp3 differ diff --git a/audio/die/jin_simazhao.mp3 b/audio/die/jin_simazhao.mp3 new file mode 100644 index 000000000..e9ad6de7d Binary files /dev/null and b/audio/die/jin_simazhao.mp3 differ diff --git a/audio/die/jin_wangyuanji.mp3 b/audio/die/jin_wangyuanji.mp3 new file mode 100644 index 000000000..998c880d8 Binary files /dev/null and b/audio/die/jin_wangyuanji.mp3 differ diff --git a/audio/die/jin_xiahouhui.mp3 b/audio/die/jin_xiahouhui.mp3 new file mode 100644 index 000000000..ddb24d0b1 Binary files /dev/null and b/audio/die/jin_xiahouhui.mp3 differ diff --git a/audio/die/jin_zhangchunhua.mp3 b/audio/die/jin_zhangchunhua.mp3 new file mode 100644 index 000000000..64c9ef14a Binary files /dev/null and b/audio/die/jin_zhangchunhua.mp3 differ diff --git a/audio/die/liuhong.mp3 b/audio/die/liuhong.mp3 new file mode 100644 index 000000000..0e746bb41 Binary files /dev/null and b/audio/die/liuhong.mp3 differ diff --git a/audio/die/wangrong.mp3 b/audio/die/wangrong.mp3 new file mode 100644 index 000000000..398825baa Binary files /dev/null and b/audio/die/wangrong.mp3 differ diff --git a/audio/die/xushao.mp3 b/audio/die/xushao.mp3 new file mode 100644 index 000000000..edb2c2e79 Binary files /dev/null and b/audio/die/xushao.mp3 differ diff --git a/audio/die/zhanghuyuechen.mp3 b/audio/die/zhanghuyuechen.mp3 new file mode 100644 index 000000000..143106ba9 Binary files /dev/null and b/audio/die/zhanghuyuechen.mp3 differ diff --git a/audio/die/zhangling.mp3 b/audio/die/zhangling.mp3 new file mode 100644 index 000000000..3e95750a2 Binary files /dev/null and b/audio/die/zhangling.mp3 differ diff --git a/audio/skill/baoqie1.mp3 b/audio/skill/baoqie1.mp3 new file mode 100644 index 000000000..11bf7f80f Binary files /dev/null and b/audio/skill/baoqie1.mp3 differ diff --git a/audio/skill/baoqie2.mp3 b/audio/skill/baoqie2.mp3 new file mode 100644 index 000000000..8310e8b15 Binary files /dev/null and b/audio/skill/baoqie2.mp3 differ diff --git a/audio/skill/buchen1.mp3 b/audio/skill/buchen1.mp3 new file mode 100644 index 000000000..8d79e1cb9 Binary files /dev/null and b/audio/skill/buchen1.mp3 differ diff --git a/audio/skill/buchen2.mp3 b/audio/skill/buchen2.mp3 new file mode 100644 index 000000000..44647fe22 Binary files /dev/null and b/audio/skill/buchen2.mp3 differ diff --git a/audio/skill/chengwu1.mp3 b/audio/skill/chengwu1.mp3 new file mode 100644 index 000000000..533b0847b Binary files /dev/null and b/audio/skill/chengwu1.mp3 differ diff --git a/audio/skill/chengwu2.mp3 b/audio/skill/chengwu2.mp3 new file mode 100644 index 000000000..be6916366 Binary files /dev/null and b/audio/skill/chengwu2.mp3 differ diff --git a/audio/skill/choufa1.mp3 b/audio/skill/choufa1.mp3 new file mode 100644 index 000000000..9af3d44be Binary files /dev/null and b/audio/skill/choufa1.mp3 differ diff --git a/audio/skill/choufa2.mp3 b/audio/skill/choufa2.mp3 new file mode 100644 index 000000000..98437664a Binary files /dev/null and b/audio/skill/choufa2.mp3 differ diff --git a/audio/skill/hfjieying1.mp3 b/audio/skill/hfjieying1.mp3 new file mode 100644 index 000000000..3eae34880 Binary files /dev/null and b/audio/skill/hfjieying1.mp3 differ diff --git a/audio/skill/hfjieying2.mp3 b/audio/skill/hfjieying2.mp3 new file mode 100644 index 000000000..5947e2c61 Binary files /dev/null and b/audio/skill/hfjieying2.mp3 differ diff --git a/audio/skill/huishi1.mp3 b/audio/skill/huishi1.mp3 new file mode 100644 index 000000000..e76e03f29 Binary files /dev/null and b/audio/skill/huishi1.mp3 differ diff --git a/audio/skill/huishi2.mp3 b/audio/skill/huishi2.mp3 new file mode 100644 index 000000000..7984343d7 Binary files /dev/null and b/audio/skill/huishi2.mp3 differ diff --git a/audio/skill/jijing1.mp3 b/audio/skill/jijing1.mp3 new file mode 100644 index 000000000..688f71d5c Binary files /dev/null and b/audio/skill/jijing1.mp3 differ diff --git a/audio/skill/jijing2.mp3 b/audio/skill/jijing2.mp3 new file mode 100644 index 000000000..dd0adb87b Binary files /dev/null and b/audio/skill/jijing2.mp3 differ diff --git a/audio/skill/jyishi1.mp3 b/audio/skill/jyishi1.mp3 new file mode 100644 index 000000000..e94ec7dcd Binary files /dev/null and b/audio/skill/jyishi1.mp3 differ diff --git a/audio/skill/jyishi2.mp3 b/audio/skill/jyishi2.mp3 new file mode 100644 index 000000000..be4e330a9 Binary files /dev/null and b/audio/skill/jyishi2.mp3 differ diff --git a/audio/skill/minsi1.mp3 b/audio/skill/minsi1.mp3 new file mode 100644 index 000000000..7d1819543 Binary files /dev/null and b/audio/skill/minsi1.mp3 differ diff --git a/audio/skill/minsi2.mp3 b/audio/skill/minsi2.mp3 new file mode 100644 index 000000000..b76cbcab8 Binary files /dev/null and b/audio/skill/minsi2.mp3 differ diff --git a/audio/skill/pingjian2.mp3 b/audio/skill/pingjian2.mp3 new file mode 100644 index 000000000..6b9c1fd2a Binary files /dev/null and b/audio/skill/pingjian2.mp3 differ diff --git a/audio/skill/pozhu1.mp3 b/audio/skill/pozhu1.mp3 new file mode 100644 index 000000000..c0bde2bfb Binary files /dev/null and b/audio/skill/pozhu1.mp3 differ diff --git a/audio/skill/pozhu2.mp3 b/audio/skill/pozhu2.mp3 new file mode 100644 index 000000000..9d0cd585a Binary files /dev/null and b/audio/skill/pozhu2.mp3 differ diff --git a/audio/skill/qingleng1.mp3 b/audio/skill/qingleng1.mp3 new file mode 100644 index 000000000..4bd24ecc6 Binary files /dev/null and b/audio/skill/qingleng1.mp3 differ diff --git a/audio/skill/qingleng2.mp3 b/audio/skill/qingleng2.mp3 new file mode 100644 index 000000000..5ea04b4e4 Binary files /dev/null and b/audio/skill/qingleng2.mp3 differ diff --git a/audio/skill/quanbian1.mp3 b/audio/skill/quanbian1.mp3 new file mode 100644 index 000000000..215fd01d2 Binary files /dev/null and b/audio/skill/quanbian1.mp3 differ diff --git a/audio/skill/quanbian2.mp3 b/audio/skill/quanbian2.mp3 new file mode 100644 index 000000000..24f18649c Binary files /dev/null and b/audio/skill/quanbian2.mp3 differ diff --git a/audio/skill/ruilve1.mp3 b/audio/skill/ruilve1.mp3 new file mode 100644 index 000000000..a009326a3 Binary files /dev/null and b/audio/skill/ruilve1.mp3 differ diff --git a/audio/skill/ruilve2.mp3 b/audio/skill/ruilve2.mp3 new file mode 100644 index 000000000..65a56c10f Binary files /dev/null and b/audio/skill/ruilve2.mp3 differ diff --git a/audio/skill/sanchen1.mp3 b/audio/skill/sanchen1.mp3 new file mode 100644 index 000000000..de947db9b Binary files /dev/null and b/audio/skill/sanchen1.mp3 differ diff --git a/audio/skill/sanchen2.mp3 b/audio/skill/sanchen2.mp3 new file mode 100644 index 000000000..de51e2b18 Binary files /dev/null and b/audio/skill/sanchen2.mp3 differ diff --git a/audio/skill/shiduo1.mp3 b/audio/skill/shiduo1.mp3 new file mode 100644 index 000000000..cfc6b5a98 Binary files /dev/null and b/audio/skill/shiduo1.mp3 differ diff --git a/audio/skill/shiduo2.mp3 b/audio/skill/shiduo2.mp3 new file mode 100644 index 000000000..cfe870a62 Binary files /dev/null and b/audio/skill/shiduo2.mp3 differ diff --git a/audio/skill/shiren1.mp3 b/audio/skill/shiren1.mp3 new file mode 100644 index 000000000..96823b224 Binary files /dev/null and b/audio/skill/shiren1.mp3 differ diff --git a/audio/skill/shiren2.mp3 b/audio/skill/shiren2.mp3 new file mode 100644 index 000000000..9ea733e36 Binary files /dev/null and b/audio/skill/shiren2.mp3 differ diff --git a/audio/skill/smyyingshi1.mp3 b/audio/skill/smyyingshi1.mp3 new file mode 100644 index 000000000..120107afd Binary files /dev/null and b/audio/skill/smyyingshi1.mp3 differ diff --git a/audio/skill/smyyingshi2.mp3 b/audio/skill/smyyingshi2.mp3 new file mode 100644 index 000000000..d5c58d99d Binary files /dev/null and b/audio/skill/smyyingshi2.mp3 differ diff --git a/audio/skill/tairan1.mp3 b/audio/skill/tairan1.mp3 new file mode 100644 index 000000000..389a9809f Binary files /dev/null and b/audio/skill/tairan1.mp3 differ diff --git a/audio/skill/tairan2.mp3 b/audio/skill/tairan2.mp3 new file mode 100644 index 000000000..12e8bb37b Binary files /dev/null and b/audio/skill/tairan2.mp3 differ diff --git a/audio/skill/taoyin1.mp3 b/audio/skill/taoyin1.mp3 new file mode 100644 index 000000000..8b63fe6a0 Binary files /dev/null and b/audio/skill/taoyin1.mp3 differ diff --git a/audio/skill/taoyin2.mp3 b/audio/skill/taoyin2.mp3 new file mode 100644 index 000000000..47d3adc02 Binary files /dev/null and b/audio/skill/taoyin2.mp3 differ diff --git a/audio/skill/tuishi1.mp3 b/audio/skill/tuishi1.mp3 new file mode 100644 index 000000000..b9f00bdb9 Binary files /dev/null and b/audio/skill/tuishi1.mp3 differ diff --git a/audio/skill/tuishi2.mp3 b/audio/skill/tuishi2.mp3 new file mode 100644 index 000000000..19c1e754a Binary files /dev/null and b/audio/skill/tuishi2.mp3 differ diff --git a/audio/skill/tuxing1.mp3 b/audio/skill/tuxing1.mp3 new file mode 100644 index 000000000..4c3b05b83 Binary files /dev/null and b/audio/skill/tuxing1.mp3 differ diff --git a/audio/skill/tuxing2.mp3 b/audio/skill/tuxing2.mp3 new file mode 100644 index 000000000..34734b207 Binary files /dev/null and b/audio/skill/tuxing2.mp3 differ diff --git a/audio/skill/weipo1.mp3 b/audio/skill/weipo1.mp3 new file mode 100644 index 000000000..46470bf2c Binary files /dev/null and b/audio/skill/weipo1.mp3 differ diff --git a/audio/skill/weipo2.mp3 b/audio/skill/weipo2.mp3 new file mode 100644 index 000000000..1787213cc Binary files /dev/null and b/audio/skill/weipo2.mp3 differ diff --git a/audio/skill/xijue1.mp3 b/audio/skill/xijue1.mp3 new file mode 100644 index 000000000..85b2334c2 Binary files /dev/null and b/audio/skill/xijue1.mp3 differ diff --git a/audio/skill/xijue2.mp3 b/audio/skill/xijue2.mp3 new file mode 100644 index 000000000..fc216da8c Binary files /dev/null and b/audio/skill/xijue2.mp3 differ diff --git a/audio/skill/xijue_tuxi1.mp3 b/audio/skill/xijue_tuxi1.mp3 new file mode 100644 index 000000000..beb1fd574 Binary files /dev/null and b/audio/skill/xijue_tuxi1.mp3 differ diff --git a/audio/skill/xijue_tuxi2.mp3 b/audio/skill/xijue_tuxi2.mp3 new file mode 100644 index 000000000..0e3d88db8 Binary files /dev/null and b/audio/skill/xijue_tuxi2.mp3 differ diff --git a/audio/skill/xijue_xiaoguo1.mp3 b/audio/skill/xijue_xiaoguo1.mp3 new file mode 100644 index 000000000..6b82a587c Binary files /dev/null and b/audio/skill/xijue_xiaoguo1.mp3 differ diff --git a/audio/skill/xijue_xiaoguo2.mp3 b/audio/skill/xijue_xiaoguo2.mp3 new file mode 100644 index 000000000..488e5729f Binary files /dev/null and b/audio/skill/xijue_xiaoguo2.mp3 differ diff --git a/audio/skill/xiongzhi1.mp3 b/audio/skill/xiongzhi1.mp3 new file mode 100644 index 000000000..f717dfba8 Binary files /dev/null and b/audio/skill/xiongzhi1.mp3 differ diff --git a/audio/skill/xiongzhi2.mp3 b/audio/skill/xiongzhi2.mp3 new file mode 100644 index 000000000..748e9f9e5 Binary files /dev/null and b/audio/skill/xiongzhi2.mp3 differ diff --git a/audio/skill/xuanmu1.mp3 b/audio/skill/xuanmu1.mp3 new file mode 100644 index 000000000..0386e9990 Binary files /dev/null and b/audio/skill/xuanmu1.mp3 differ diff --git a/audio/skill/xuanmu2.mp3 b/audio/skill/xuanmu2.mp3 new file mode 100644 index 000000000..e24be0d2c Binary files /dev/null and b/audio/skill/xuanmu2.mp3 differ diff --git a/audio/skill/yanxi1.mp3 b/audio/skill/yanxi1.mp3 new file mode 100644 index 000000000..dfa77ce2d Binary files /dev/null and b/audio/skill/yanxi1.mp3 differ diff --git a/audio/skill/yanxi2.mp3 b/audio/skill/yanxi2.mp3 new file mode 100644 index 000000000..e60c8f7a3 Binary files /dev/null and b/audio/skill/yanxi2.mp3 differ diff --git a/audio/skill/yimie1.mp3 b/audio/skill/yimie1.mp3 new file mode 100644 index 000000000..f141083df Binary files /dev/null and b/audio/skill/yimie1.mp3 differ diff --git a/audio/skill/yimie2.mp3 b/audio/skill/yimie2.mp3 new file mode 100644 index 000000000..d680590b3 Binary files /dev/null and b/audio/skill/yimie2.mp3 differ diff --git a/audio/skill/yujue1.mp3 b/audio/skill/yujue1.mp3 new file mode 100644 index 000000000..390c85813 Binary files /dev/null and b/audio/skill/yujue1.mp3 differ diff --git a/audio/skill/yujue2.mp3 b/audio/skill/yujue2.mp3 new file mode 100644 index 000000000..44cd585e8 Binary files /dev/null and b/audio/skill/yujue2.mp3 differ diff --git a/audio/skill/zhaoran1.mp3 b/audio/skill/zhaoran1.mp3 new file mode 100644 index 000000000..3bf889f28 Binary files /dev/null and b/audio/skill/zhaoran1.mp3 differ diff --git a/audio/skill/zhaoran2.mp3 b/audio/skill/zhaoran2.mp3 new file mode 100644 index 000000000..a3959333b Binary files /dev/null and b/audio/skill/zhaoran2.mp3 differ diff --git a/audio/skill/zhaotao1.mp3 b/audio/skill/zhaotao1.mp3 new file mode 100644 index 000000000..05142960e Binary files /dev/null and b/audio/skill/zhaotao1.mp3 differ diff --git a/audio/skill/zhaotao2.mp3 b/audio/skill/zhaotao2.mp3 new file mode 100644 index 000000000..ffc8ab4e9 Binary files /dev/null and b/audio/skill/zhaotao2.mp3 differ diff --git a/audio/skill/zhuide1.mp3 b/audio/skill/zhuide1.mp3 new file mode 100644 index 000000000..832ae692d Binary files /dev/null and b/audio/skill/zhuide1.mp3 differ diff --git a/audio/skill/zhuide2.mp3 b/audio/skill/zhuide2.mp3 new file mode 100644 index 000000000..834b28c4e Binary files /dev/null and b/audio/skill/zhuide2.mp3 differ diff --git a/audio/skill/zlhuji1.mp3 b/audio/skill/zlhuji1.mp3 new file mode 100644 index 000000000..a7b237006 Binary files /dev/null and b/audio/skill/zlhuji1.mp3 differ diff --git a/audio/skill/zlhuji2.mp3 b/audio/skill/zlhuji2.mp3 new file mode 100644 index 000000000..e81d23a28 Binary files /dev/null and b/audio/skill/zlhuji2.mp3 differ diff --git a/audio/skill/zlshoufu1.mp3 b/audio/skill/zlshoufu1.mp3 new file mode 100644 index 000000000..f7fb97c01 Binary files /dev/null and b/audio/skill/zlshoufu1.mp3 differ diff --git a/audio/skill/zlshoufu2.mp3 b/audio/skill/zlshoufu2.mp3 new file mode 100644 index 000000000..665e8f166 Binary files /dev/null and b/audio/skill/zlshoufu2.mp3 differ diff --git a/character/extra.js b/character/extra.js index 7e048de44..9182f75d4 100755 --- a/character/extra.js +++ b/character/extra.js @@ -1637,6 +1637,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ maixie:true, maixie_hp:true, + combo:'sbaiyin', /*effect:{ target:function(card,player,target){ if(player.hasSkillTag('jueqing',false,target)) return [1,-2]; diff --git a/character/rank.js b/character/rank.js index b41c60167..1d89a6d72 100644 --- a/character/rank.js +++ b/character/rank.js @@ -425,6 +425,9 @@ window.noname_character_rank={ 'ns_jiaxu', 'old_jiakui', 'jin_simayi', + 'jin_simashi', + 'jin_wangyuanji', + 'duyu', 'key_kyousuke', 'key_yusa', 'key_misa', @@ -600,7 +603,6 @@ window.noname_character_rank={ 'zhugeke', 'caochun', 'quyi', - 'sp_zhangliao', 'yuanshu', 'sp_zhaoyun', 'zhangxingcai', @@ -614,6 +616,7 @@ window.noname_character_rank={ 'sp_liuxie', 'hanfu', 're_quyi', + 'zhanghuyuechen', 'key_kengo', 'key_riki', 'key_hinata', @@ -779,6 +782,8 @@ window.noname_character_rank={ 'jin_zhangchunhua', 'xin_hansui', 'ns_caimao', + 'sp_zhangliao', + 'jin_simazhao', 'key_haruko', 'key_rei', 'key_komari', @@ -932,6 +937,7 @@ window.noname_character_rank={ 'ol_dingyuan', 'mini_zhangchunhua', 'hucheer', + 'jin_xiahouhui', ], c:[ 'xiahoudun', @@ -1241,6 +1247,11 @@ window.noname_character_rank={ 'jin_simayi', 'jin_zhangchunhua', 'liuhong', + 'jin_wangyuanji', + 'jin_simazhao', + 'jin_xiahouhui', + 'jin_simashi', + 'zhangling', 'key_haruko', 'key_akiko', 'key_sunohara', @@ -1519,6 +1530,8 @@ window.noname_character_rank={ 're_quyi', 'hanfu', 'xin_hansui', + 'duyu', + 'zhanghuyuechen', ], junk:[ 'sunshao', diff --git a/character/refresh.js b/character/refresh.js index 5cc0fab40..a7738af55 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -4612,9 +4612,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:"phaseDrawBegin2", }, direct:true, - //priority:-10, - filter:function (event){ - return event.num>0&&!event.numFixed; + filter:function(event,player){ + return event.num>0&&!event.numFixed&&game.hasPlayer(function(target){ + return target.countCards('h')>0&&player!=target; + }); }, content:function (){ "step 0" diff --git a/character/shenhua.js b/character/shenhua.js index 24857f1d6..6b1e8805a 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -1890,6 +1890,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, + ai:{ + combo:'nzry_zhenliang', + }, }, "nzry_zhenliang":{ audio:"nzry_zhenliang_1", @@ -1974,6 +1977,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, + ai:{ + combo:'nzry_mingren', + }, }, 'nzry_jianxiang':{ audio:2, diff --git a/character/sp.js b/character/sp.js index 4a6423983..a071396a9 100755 --- a/character/sp.js +++ b/character/sp.js @@ -20,7 +20,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sp_zhangliao:['male','qun',4,['mubing','ziqu','diaoling']], caoshuang:['male','wei',4,['retuogu','shanzhuan']], ol_zhangchangpu:['female','wei',3,['yanjiao','olxingshen']], - zhangling:['male','qun',4,['zlhuji','zlshoufu'],['unseen']], + zhangling:['male','qun',4,['zlhuji','zlshoufu']], caiyang:['male','qun',1,['yinka'],['forbidai','unseen']], panfeng:['male','qun',4,['kuangfu']], sunshao:['male','wu',3,['bizheng','yidian']], @@ -716,29 +716,59 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.judge(func); 'step 1' if(result.bool&&get.itemtype(trigger.source)=='player'&&player.canUse('sha',trigger.source,false)){ - player.useCard({name:'sha',isCard:true},trigger.source,false); + player.useCard({name:'sha',isCard:true},trigger.source,false,'noai'); } }, }, zlshoufu:{ enable:'phaseUse', usable:1, - filter:function(event,player){ - return player.countCards('he')>0; - }, - filterTarget:function(card,player,target){ - return target!=player&&!target.getStorage('zlshoufu2').length; - }, - filterCard:true, - position:'he', - discard:false, - toStorage:true, - prepare:'give', + delay:false, content:function(){ + 'step 0' + player.draw(); + 'step 1' + var filterTarget=function(card,player,target){ + return target!=player&&!target.hasSkill('zlshoufu2'); + }; + if(!player.countCards('h')||!game.hasPlayer(function(current){ + return filterTarget(null,player,current); + })) event.finish(); + else player.chooseCardTarget({ + forced:true, + prompt:'将一张手牌作为“箓”置于其他角色的武将牌上', + filterTarget:filterTarget, + filterCard:true, + position:'h', + ai1:function(card){ + if(get.type(card,false)=='equip') return 1-get.value(card); + return 7-get.value(card); + }, + ai2:function(target){ + var player=_status.event.player; + var att=get.attitude(player,target); + if(att>0) return -att; + return -att/get.distance(player,target,'absolute'); + }, + }); + 'step 2' + var target=result.targets[0]; + var cards=result.cards; + player.lose(cards,ui.special,'toStorage'); + player.line(target,'green'); + player.$give(cards[0],target,false); + game.log(player,'将',cards[0],'作为“箓”置于',target,'的武将牌上'); target.addSkill('zlshoufu2'); target.storage.zlshoufu2_markcount=0; target.markAuto('zlshoufu2',cards); - player.draw(); + 'step 3' + game.delayx(); + }, + ai:{ + order:1, + result:{ + player:1, + }, }, }, zlshoufu2:{ @@ -789,7 +819,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).length) player.storage.zlshoufu2_markcount++; } } - if(trigger.name=='damage'||player.storage.zlshoufu2_markcount>=2) player.unmarkSkill('zlshoufu2'); + if(trigger.name=='damage'||player.storage.zlshoufu2_markcount>=2){ + player.unmarkSkill('zlshoufu2'); + player.removeSkill('zlshoufu2'); + } else player.markSkill('zlshoufu2'); }, }, @@ -11593,7 +11626,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{global:'phaseJieshuBegin'}, filter:function(event,player){ - return event.player.isAlive()&&event.player!=player&&player.countCards('h',{type:'basic'}); + return event.player.isAlive()&&event.player!=player&&player.countCards('h',function(card){ + if(_status.connectMode) return true; + return get.type(card)=='basic'; + }); }, direct:true, content:function(){ @@ -14698,8 +14734,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ beimihu:['tw_beimihu','beimihu'], panfeng:['re_panfeng','panfeng'], sunluyu:['sunluyu','re_sunluyu'], - simazhao:['simazhao','sp_simazhao'], - wangyuanji:['wangyuanji','sp_wangyuanji'], + jin_simazhao:['jin_simazhao','simazhao','sp_simazhao'], + wangyuanji:['jin_wangyuanji','wangyuanji','sp_wangyuanji'], wangyun:['re_wangyun','wangyun','old_wangyun'], zhangliang:['re_zhangliang','zhangliang'], lingju:['lingju','old_lingju'], @@ -15518,10 +15554,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ yinka:'印卡', zhangling:'张陵', zlhuji:'虎骑', - zlhuji_info:'锁定技,你与其他角色的距离-1,你于回合外受到伤害后进行判定,若结果为红色,视为你对伤害来源使用一张【杀】(无视距离)。', + zlhuji_info:'锁定技,你与其他角色的距离-1,当你于回合外受到伤害后,你可进行判定,若结果为红色,视为你对伤害来源使用一张【杀】(无距离限制)。', zlshoufu:'授符', zlshoufu2:'授符', - zlshoufu_info:'出牌阶段限一次,你可摸一张牌,然后将一张手牌置于一名没有【箓】的角色的武将牌上,称为【箓】;其不能使用和打出与【箓】同类型的牌。该角色受伤后,或于弃牌阶段弃置至少2张与【箓】同类型的牌后,将【箓】置入弃牌堆。', + zlshoufu_info:'出牌阶段限一次,你可摸一张牌,然后将一张手牌置于一名没有【箓】的角色的武将牌上,称为【箓】;其不能使用和打出与【箓】同类型的牌。该角色受到伤害后,或于弃牌阶段弃置至少2张与【箓】同类型的牌后,将【箓】置入弃牌堆。', ol_zhangchangpu:'OL张昌蒲', olxingshen:'省身', olxingshen_info:'当你受到伤害后,你可以随机摸至多两张牌。若如此做,你获得X个“省”,且下一次发动〖严教〗展示牌时移去所有“省”并多展示等量的牌。(X为你已损失的体力值,且你至多拥有6个“省”)', diff --git a/character/sp2.js b/character/sp2.js index f27188617..96adf6e18 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -6,6 +6,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ character:{ jin_zhangchunhua:['female','jin',3,['huishi','qingleng','xuanmu'],['hiddenSkill']], jin_simayi:['male','jin',3,['buchen','smyyingshi','xiongzhi','quanbian'],['hiddenSkill']], + jin_wangyuanji:['female','jin',3,['shiren','yanxi'],['hiddenSkill']], + jin_simazhao:['male','jin',3,['tuishi','choufa','zhaoran','chengwu'],['zhu','hiddenSkill']], + jin_xiahouhui:['female','jin',3,['baoqie','jyishi','shiduo'],['hiddenSkill']], + jin_simashi:['male','jin','3/4',['taoyin','yimie','ruilve','tairan'],['hiddenSkill','zhu']], + zhanghuyuechen:['male','jin',4,['xijue']], + duyu:['male','jin',4,['sanchen','zhaotao']], hanfu:['male','qun',4,['hfjieying','weipo']], re_quyi:['male','qun',4,['refuqi','jiaozi']], dongxie:['female','qun','3/4',['juntun','jiaojie']], @@ -76,7 +82,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, characterSort:{ sp2:{ - sp_yingbian:['jin_zhangchunhua','jin_simayi'], + sp_yingbian:['jin_zhangchunhua','jin_simayi','jin_wangyuanji','jin_simazhao','jin_xiahouhui','jin_simashi','duyu','zhanghuyuechen'], sp_whlw:["xurong","lijue","zhangji","fanchou","guosi"], sp_zlzy:["zhangqiying","lvkai","zhanggong","weiwenzhugezhi","beimihu"], sp_longzhou:["xf_tangzi","xf_huangquan","xf_sufei","sp_liuqi"], @@ -95,6 +101,768 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, skill:{ + taoyin:{ + audio:2, + trigger:{player:'showCharacterAfter'}, + logTarget:function(){ + return _status.currentPhase; + }, + filter:function(event,player){ + var target=_status.currentPhase; + return target&&target!=player&&target.isAlive(); + }, + check:function(event,player){ + return get.attitude(player,_status.currentPhase)<0; + }, + content:function(){ + _status.currentPhase.addTempSkill('taoyin2'); + _status.currentPhase.addMark('taoyin2',2,false); + }, + ai:{ + expose:0.2, + }, + }, + taoyin2:{ + onremove:true, + charlotte:true, + intro:{ + content:'手牌上限-#', + }, + mod:{ + maxHandcard:function(player,num){ + return num-player.countMark('taoyin2'); + }, + }, + }, + yimie:{ + audio:2, + usable:1, + trigger:{source:'damageBegin1'}, + filter:function(event,player){ + return player!=event.player&&event.num-2) return false; + if(player.hp>2) return true; + if(player.hp==2&&event.player.hp<3) return false; + return player.hp>1; + }, + logTarget:'player', + content:function(){ + player.loseHp(); + trigger.player.addTempSkill('yimie2'); + trigger.yimie_num=trigger.player.hp-trigger.num; + trigger.num=trigger.player.hp; + }, + }, + yimie2:{ + trigger:{player:'damageEnd'}, + forced:true, + popup:false, + charlotte:true, + filter:function(event,player){ + return typeof event.yimie_num=='number'; + }, + content:function(){ + player.recover(trigger.yimie_num); + }, + }, + ruilve:{ + unique:true, + audio:2, + global:'ruilve2', + zhuSkill:true, + }, + ruilve2:{ + enable:'phaseUse', + discard:false, + lose:false, + delay:false, + line:true, + direct:true, + clearTime:true, + prepare:function(cards,player,targets){ + targets[0].logSkill('ruilve'); + }, + prompt:function(){ + var player=_status.event.player; + var list=game.filterPlayer(function(target){ + return target!=player&&target.hasZhuSkill('ruilve',player); + }); + var str='将一张具有伤害标签的基本牌或锦囊牌交给'+get.translation(list); + if(list.length>1) str+='中的一人'; + return str; + }, + filter:function(event,player){ + if(player.group!='jin') return false; + if(player.countCards('h',lib.skill.ruilve2.filterCard)==0) return false; + return game.hasPlayer(function(target){ + return target!=player&&target.hasZhuSkill('ruilve',player)&&!target.hasSkill('ruilve3'); + }); + }, + filterCard:function(card){ + if(!get.tag(card,'damage')) return false; + var type=get.type(card); + return (type=='basic'||type=='trick'); + }, + log:false, + visible:true, + filterTarget:function(card,player,target){ + return target!=player&&target.hasZhuSkill('ruilve',player)&&!target.hasSkill('ruilve3'); + }, + content:function(){ + target.gain(cards,player,'giveAuto'); + target.addTempSkill('ruilve3','phaseUseEnd'); + }, + ai:{ + expose:0.3, + order:1, + result:{ + target:5 + } + } + }, + ruilve3:{}, + tairan:{ + audio:2, + trigger:{player:'phaseEnd'}, + forced:true, + filter:function(event,player){ + return player.hp1) str+=',然后获得其余的牌'; + str+='?'; + player.chooseButton([str,event.cards]).set('ai',function(button){ + var card=button.link; + var source=_status.event.source; + if(get.attitude(player,source)>0) return Math.max(1,source.getUseValue(card,null,true)); + var cards=_status.event.getParent().cards.slice(0); + if(cards.length==1) return -get.value(card); + cards.remove(card); + return (get.value(cards)-get.value(card)-2); + }).set('source',trigger.player); + 'step 1' + if(result.bool){ + player.addTempSkill('jyishi2'); + player.logSkill('jyishi',trigger.player); + if(cards.length>1){ + trigger.player.$gain2(result.links[0]); + trigger.player.gain(result.links[0],'log'); + } + else trigger.player.gain(result.links[0],'gain2'); + cards.remove(result.links[0]); + if(cards.length) player.gain(cards,'gain2'); + } + }, + }, + jyishi2:{}, + shiduo:{ + audio:2, + enable:'phaseUse', + usable:1, + filter:function(event,player){ + return game.hasPlayer(function(target){ + return player!=target&&player.canCompare(target); + }) + }, + filterTarget:function(card,player,target){ + return player!=target&&player.canCompare(target); + }, + content:function(){ + 'step 0' + player.chooseToCompare(target); + 'step 1' + if(result.bool&&target.isAlive()){ + var cards=target.getCards('h'); + if(cards.length) player.gain(cards,target,'giveAuto'); + } + else event.finish(); + 'step 2' + var num=Math.floor(player.countCards('h')/2); + if(num&&target.isAlive()) player.chooseCard('h',num,true,'交给'+get.translation(target)+get.cnNumber(num)+'张牌') + else event.finish(); + 'step 3' + if(result.bool&&result.cards&&result.cards.length) target.gain(result.cards,player,'giveAuto'); + }, + ai:{ + order:1, + result:{ + target:function(player,target){ + var delta=(target.countCards('h')-player.countCards('h')); + if(delta<0) return 0; + return -1-delta; + }, + }, + }, + }, + tuishi:{ + audio:2, + trigger:{player:'showCharacterAfter'}, + forced:true, + filter:function(event,player){ + var target=_status.currentPhase; + return player!=target&&target&&target.isAlive()&&event.toShow&&event.toShow.contains('jin_simazhao'); + }, + content:function(){ + player.addTempSkill('tuishi2'); + }, + }, + tuishi2:{ + trigger:{global:'phaseEnd'}, + direct:true, + filter:function(event,player){ + var target=_status.currentPhase; + return target!=player&&target&&target.isAlive()&&game.hasPlayer(function(current){ + return current!=target&&target.inRange(current); + }); + }, + content:function(){ + 'step 0' + var target=_status.currentPhase; + event.target=target; + player.chooseTarget(get.prompt2('tuishi',event.target),function(card,player,target){ + var source=_status.event.source; + return source!=target&&source.inRange(target); + }).set('source',target).set('goon',get.damageEffect(target,player,player)>0).set('ai',function(target){ + if(!_status.event.goon) return 0; + var evt=_status.event; + return get.effect(target,{name:'sha'},evt.source,evt.player) + }); + 'step 1' + if(result.bool){ + event.target2=result.targets[0]; + player.logSkill('tuishi'); + player.line2([target,event.target2]); + game.delayx(); + } + else event.finish(); + 'step 2' + target.chooseToUse({ + preTarget:event.target2, + prompt:'请对'+get.translation(event.target2)+'使用一张【杀】,或受到来自'+get.translation(player)+'的一点伤害', + filterCard:function(card,player){ + return get.name(card)=='sha'&&lib.filter.filterCard.apply(this,arguments); + }, + filterTarget:function(card,player,target){ + return target==_status.event.preTarget&&lib.filter.filterTarget.apply(this,arguments); + }, + addCount:false, + }); + 'step 3' + if(!result.bool) target.damage(); + }, + }, + choufa:{ + enable:'phaseUse', + audio:2, + usable:1, + filter:function(event,player){ + return game.hasPlayer(function(current){ + return lib.skill.choufa.filterTarget(null,player,current); + }); + }, + filterTarget:function(card,player,target){ + return target!=player&&!target.hasSkill('choufa2')&&target.countCards('h')>0; + }, + content:function(){ + 'step 0' + player.choosePlayerCard(target,'h',true); + 'step 1' + player.showCards(result.cards); + var type=get.type2(result.cards[0]); + target.storage.choufa2=type; + target.addTempSkill('choufa2',{player:'phaseAfter'}); + }, + ai:{ + order:9, + result:{ + target:function(player,target){ + return -target.countCards('h'); + }, + }, + }, + }, + choufa2:{ + mark:true, + onremove:true, + charlotte:true, + intro:{ + content:'不为$牌的手牌均视为杀', + }, + mod:{ + cardname:function(card,player){ + if(get.type2(card,false)!=player.storage.choufa2) return 'sha'; + }, + cardnature:function(card,player){ + if(get.type2(card,false)!=player.storage.choufa2) return false; + }, + }, + }, + zhaoran:{ + audio:2, + trigger:{player:'phaseUseBegin'}, + content:function(){ + player.addTempSkill('zhaoran2','phaseUseEnd'); + }, + }, + zhaoran2:{ + audio:'zhaoran', + global:'zhaoran3', + trigger:{ + player:'loseAfter', + global:['equipAfter','addJudgeAfter','gainAfter'], + }, + forced:true, + charlotte:true, + init:function(player,skill){ + if(!player.storage[skill]) player.storage[skill]=[]; + }, + onremove:true, + filter:function(event,player){ + var evt=event.getl(player); + if(!evt||!evt.hs||!evt.hs.length) return false; + var list=player.getStorage('zhaoran2'); + for(var i of evt.hs){ + var suit=get.suit(i,player); + if(!list.contains(suit)&&!player.countCards('h',{suit:suit})) return true; + } + return false; + }, + content:function(){ + 'step 0' + var list=[]; + var suits=get.copy(player.storage.zhaoran2); + suits.addArray(player.getCards('h').map(function(card){ + return get.suit(card); + })); + var evt=trigger.getl(player); + for(var i of evt.hs){ + var suit=get.suit(i,player); + if(!suits.contains(suit)) list.add(suit); + } + event.count=list.length; + player.markAuto('zhaoran2',list); + 'step 1' + event.count--; + var filterTarget=function(card,player,target){ + return target!=player&&target.countDiscardableCards(player,'he')>0; + } + if(!game.hasPlayer(function(current){ + return filterTarget(null,player,current); + })) event._result={bool:false}; + else player.chooseTarget(filterTarget,'弃置一名其他角色的一张牌或摸一张牌').set('ai',function(target){ + var att=get.attitude(player,target); + if(att>=0) return 0; + if(target.countCards('he',function(card){ + return get.value(card)>5; + })) return -att; + return 0; + }); + 'step 2' + if(!result.bool) player.draw(); + else{ + var target=result.targets[0]; + player.line(target,'green'); + player.discardPlayerCard(target,true,'he'); + } + if(event.count>0) event.goto(1); + }, + intro:{ + content:'已因$牌触发过效果', + }, + }, + zhaoran3:{ + ai:{ + viewHandcard:true, + skillTagFilter:function(player,arg,target){ + return target!=player&&target.hasSkill('zhaoran2'); + } + }, + }, + chengwu:{ + zhuSkill:true, + mod:{ + inRange:function(from,to){ + if(!from.hasZhuSkill('chengwu')||from._chengwu) return; + from._chengwu=true; + var bool=game.hasPlayer(function(current){ + return current!=from&¤t!=to&¤t.group=='jin'&&from.hasZhuSkill('chengwu',current)&¤t.inRange(to); + }); + delete from._chengwu; + if(bool) return true; + }, + }, + }, + shiren:{ + trigger:{player:'showCharacterAfter'}, + hiddenSkill:true, + logTarget:function(){ + return _status.currentPhase; + }, + filter:function(event,player){ + if(!event.toShow||!event.toShow.contains('jin_wangyuanji')) return false; + var target=_status.currentPhase; + return target&&target!=player&&target.isAlive()&&target.countCards('h')>0; + }, + content:function(){ + var next=game.createEvent('yanxi',false); + next.player=player; + next.target=_status.currentPhase; + next.setContent(lib.skill.yanxi.content); + }, + }, + yanxi:{ + enable:'phaseUse', + usable:1, + filterTarget:function(card,player,target){ + return target!=player&&target.countCards('h')>0; + }, + filter:function(event,player){ + return game.hasPlayer(function(current){ + return current!=player&¤t.countCards('h')>0; + }); + }, + content:function(){ + 'step 0' + event.card=target.getCards('h').randomGet(); + var cards=get.cards(2); + event.cards=cards.concat([event.card]); + while(cards.length){ + ui.cardPile.insertBefore(cards.pop().fix(),ui.cardPile.firstChild); + } + game.updateRoundNumber(); + event.cards.randomSort(); + game.log(player,'展示了',event.cards); + event.videoId=lib.status.videoId++; + var str=get.translation(player)+'对'+get.translation(target)+'发动了【宴戏】'; + game.broadcastAll(function(str,id,cards){ + var dialog=ui.create.dialog(str,cards); + dialog.videoId=id; + },str,event.videoId,event.cards); + game.addVideo('showCards',player,[str,get.cardsInfo(event.cards)]); + game.delay(2); + 'step 1' + var func=function(id,target){ + var dialog=get.idDialog(id); + if(dialog) dialog.content.firstChild.innerHTML='猜猜哪张是'+get.translation(target)+'的手牌?'; + }; + if(player==game.me) func(event.videoId,target); + else if(player.isOnline()) player.send(func,event.videoId,target); + 'step 2' + var next=player.chooseButton(true); + next.set('dialog',event.videoId); + next.set('ai',function(button){ + return get.value(button.link,_status.event.player); + }); + 'step 3' + game.broadcastAll('closeDialog',event.videoId); + var card2=result.links[0]; + if(card2==card){ + player.popup('洗具'); + cards.remove(card2); + player.$gain2(cards); + player.gain(cards,'log'); + player.gain(card,target,'bySelf','giveAuto'); + } + else{ + player.popup('杯具'); + player.gain(card2,'gain2'); + } + }, + ai:{ + order:6, + result:{ + player:1, + target:-0.6, + }, + }, + }, + sanchen:{ + enable:'phaseUse', + usable:1, + filter:function(event,player){ + var stat=player.getStat('sanchen'); + return game.hasPlayer(function(current){ + return (!stat||!stat.contains(current)); + }); + }, + filterTarget:function(card,player,target){ + var stat=player.getStat('sanchen'); + return (!stat||!stat.contains(target)); + }, + content:function(){ + 'step 0' + var stat=player.getStat(); + if(!stat.sanchen) stat.sanchen=[]; + stat.sanchen.push(target); + player.addMark('sanchen',1,false); + target.draw(3); + 'step 1' + if(!target.countCards('he')) event.finish(); + else target.chooseToDiscard('he',true,3).set('ai',function(card){ + var list=ui.selected.cards.map(function(i){ + return get.type2(i); + }); + if(!list.contains(get.type2(i))) return 6-get.value(card); + return -get.value(card); + }); + 'step 2' + if(result.bool&&result.cards&&result.cards.length){ + var list=[]; + for(var i of result.cards) list.add(get.type2(i)); + if(list.length==result.cards.length){ + target.draw(); + player.getStat('skill').sanchen--; + } + } + }, + ai:{ + order:9, + result:{ + target:function(player,target){ + if(target.hasSkillTag('nogain')) return -0.1; + return 1; + }, + }, + }, + intro:{ + content:'已发动过#次技能', + }, + }, + zhaotao:{ + trigger:{player:'phaseZhunbeiBegin'}, + forced:true, + juexingji:true, + skillAnimation:true, + animationColor:'thunder', + filter:function(event,player){ + return player.countMark('sanchen')>2; + }, + content:function(){ + player.awakenSkill('zhaotao'); + player.loseMaxHp(); + player.addSkillLog('pozhu'); + }, + }, + pozhu:{ + enable:'phaseUse', + viewAsFilter:function(player){ + return !player.hasSkill('pozhu3'); + }, + viewAs:{name:'chuqibuyi'}, + filterCard:true, + position:'h', + check:function(card){ + return 7-get.value(card); + }, + group:'pozhu2', + }, + pozhu2:{ + trigger:{player:'useCardAfter'}, + silent:true, + filter:function(event,player){ + return event.skill=='pozhu'&&!player.getHistory('sourceDamage',function(evt){ + return evt.card==event.card; + }).length; + }, + content:function(){ + player.addTempSkill('pozhu3'); + }, + }, + pozhu3:{}, + xijue:{ + audio:2, + trigger:{ + global:'gameDrawAfter', + player:'enterGame', + }, + forced:true, + content:function(){ + player.addMark('xijue',4); + }, + intro:{ + name2:'爵', + content:'mark', + }, + derivation:['retuxi','xiaoguo'], + group:['xijue_gain','xijue_tuxi','xijue_xiaoguo'], + }, + xijue_gain:{ + audio:'xijue', + trigger:{player:'phaseEnd'}, + forced:true, + filter:function(event,player){ + var stat=player.getStat(); + return stat.kill&&stat.kill>0||stat.damage&&stat.damage>1; + }, + content:function(){ + player.addMark('xijue',1); + }, + }, + xijue_tuxi:{ + audio:2, + trigger:{ + player:"phaseDrawBegin2", + }, + direct:true, + filter:function(event,player){ + return event.num>0&&!event.numFixed&&player.hasMark('xijue')&&game.hasPlayer(function(target){ + return player!=target&&target.countCards('h')>0; + }); + }, + content:function (){ + "step 0" + var num=trigger.num; + player.chooseTarget('是否弃置一枚“爵”发动【突袭】?','获得至多'+get.translation(num)+'名角色的各一张手牌,然后少摸等量的牌',[1,num],function(card,player,target){ + return target.countCards('h')>0&&player!=target; + },function(target){ + var att=get.attitude(_status.event.player,target); + if(target.hasSkill('tuntian')) return att/10; + return 1-att; + }); + "step 1" + if(result.bool){ + result.targets.sortBySeat(); + player.logSkill('xijue_tuxi',result.targets); + player.removeMark('xijue',1); + player.gainMultiple(result.targets); + trigger.num-=result.targets.length; + } + else{ + event.finish(); + } + "step 2" + if(trigger.num<=0) game.delay(); + }, + ai:{ + expose:0.2, + }, + }, + xijue_xiaoguo:{ + audio:2, + trigger:{global:'phaseJieshuBegin'}, + filter:function(event,player){ + return player.hasMark('xijue')&&event.player.isAlive()&&event.player!=player&&player.countCards('h',function(card){ + if(_status.connectMode) return true; + return get.type(card)=='basic'; + }); + }, + direct:true, + content:function(){ + "step 0" + var nono=(Math.abs(get.attitude(player,trigger.player))<3||trigger.player.hp>1||trigger.player.countCards('e')); + if(get.damageEffect(trigger.player,player,player)<=0){ + nono=true; + } + var next=player.chooseToDiscard('是否弃置一枚“爵”,对'+get.translation(trigger.player)+'发动【骁果】?',{type:'basic'}); + next.set('ai',function(card){ + if(_status.event.nono) return 0; + return 8-get.useful(card); + }); + next.set('logSkill',['xijue_xiaoguo',trigger.player]); + next.set('nono',nono); + "step 1" + if(result.bool){ + player.removeMark('xijue',1); + var nono=(get.damageEffect(trigger.player,player,trigger.player)>=0); + trigger.player.chooseToDiscard('he','弃置一张装备牌并令'+get.translation(player)+'摸一张牌,或受到一点伤害',{type:'equip'}).set('ai',function(card){ + if(_status.event.nono){ + return 0; + } + if(_status.event.player.hp==1) return 10-get.value(card); + return 9-get.value(card); + }).set('nono',nono); + } + else{ + event.finish(); + } + "step 2" + if(result.bool){ + player.draw(); + } + else{ + trigger.player.damage(); + } + }, + ai:{ + expose:0.3, + threaten:1.3 + } + }, hfjieying:{ audio:2, trigger:{player:'phaseJieshuBegin'}, @@ -202,11 +970,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player!=event.player&&!player.hasSkill('weipo3')&&player.countCards('h')主公BOSSAI禁选
',newCharacter); + var options=ui.create.div('.add_skill.options','主公BOSSAI禁选
隐匿技
',newCharacter); var addSkill=ui.create.div('.add_skill','添加技能
',newCharacter); var list=[]; for(var i in lib.character){ @@ -38475,7 +38488,7 @@ } var tags=[]; for(var i=0;idiv{ - pointer-events: none; -} -.popup-container.filter-character>div{ - left: 0; - top:0; - left: 0; - width: 100%; - height: auto; - margin: 0; - padding: 0; - transition: all 0s; - position: relative; -} -.popup-container.filter-character>div>div{ - position: relative; - margin: 10px; -} -.popup-container.filter-character>div>.capt{ - width: 80px; - height: 80px; - padding: 0; - font-size: 60px; - line-height: 90px; -} - -.menu-container,.popup-container{ - width:100%; - height:100%; - left:0; - top:0; - position: absolute; -} -.menu-buttons,.menu-sym{ - padding-bottom: 5px !important; - width: calc(100% - 10px) !important; - padding-right: 5px !important; -} -.menu-buttons.leftbutton{ - text-align: left; - margin-left: 10px; -} -.menu-buttons.leftbutton:not(.commandbutton){ - width: calc(100% - 30px) !important; -} -.menu.main>.menu-content>div>.right.pane>.menu-buttons.leftbutton>.config.toggle:first-child, -.menu.main>.menu-content>div>.right.pane>.menu-buttons.leftbutton>.config.toggle:first-child+.config.toggle{ - margin-left: 3px !important; - width: calc(100% - 15px) !important; -} -.menu-buttons div{ - position: absolute; -} -.menu-buttons>.glow{ - box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 15px !important; -} -.menu-cheat>div{ - margin:5px; -} -.menu-cheat>.selecting{ - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(255, 0, 0, 0.8) 0 0 5px, rgba(255, 0, 0, 0.8) 0 0 5px !important -} -.menu-cheat.config>.menubutton{ - height:16px; - line-height: 16px; - transform: translateY(-10px); -} -.menu-cheat.config{ - transition-property: opacity; -} -.menu-buttons>.toggle, -.menu-buttons>.config.more{ - position:relative; - margin-bottom: 10px !important; - margin-left: 10px !important; - margin-right: 10px !important; - width: calc(100% - 25px) !important; - display: inline-block; -} -.menu-buttons>.config.more, -.menu-buttons>.toggle.cardpilecfg{ - margin-bottom: 0 !important; - display: block; -} -.menu-buttons>.config.more.pile{ - margin-top: 5px !important; - margin-left: 3px !important; -} -.menu-buttons>.toggle.cardpilecfgadd:not(.hidden){ - margin-top: 0 !important; -} -.menu-buttons>.toggle.cardpilecfg:not(.nomarginleft){ - margin-left: 20px !important; - width: calc(100% - 35px) !important; -} -.menu-buttons>.config.more *{ - position: relative; -} -.menu-buttons>.button{ - zoom:0.75; -} -.menu-buttons .cardpiledelete, -.toggle>.cardpiledelete{ - display: inline-block; - position: relative; - float: right; - margin-right: 4px; -} -.menu-buttons .menuplaceholder{ - display: block; - margin: 0; - padding: 0; - width: 100%; - height: 10px; -} -.menu-buttons .menuplaceholder.slim{ - height: 5px; -} -#window:not(.nopointer) .cardpiledelete{ - cursor: pointer; -} -.menu-help{ - width: calc(100% - 30px) !important; - text-align: left !important; -} -.menu-help li{ - margin-bottom: 10px !important; -} -.menu-container>.menu.main{ - left: 15px; - top: 52px; -} -.menu-container>.menu.main.center{ - left:calc(50% - 200px); - top:calc(50% - 150px); -} -.menu-container.hidden>.menu.main{ - transform:scale(0.5); - transform-origin:2px -35px; - opacity:0; -} -.menu-container>.menu.main{ - transition: all 0.3s; - transform-origin:2px -35px; -} -.menu-container.hidden>.menu.main.center{ - /*transform:translateY(300px);*/ - transform-origin: center center; -} -.menu-container>.menu.main.center{ - transform-origin: center center; -} -.menu.main{ - width: 400px; - height:300px; - position: absolute; - overflow:hidden; - padding:0; -} -.removing>.menubg.charactercard{ - transform: scale(0.8); - opacity: 0; - transition: all 0.3s; -} -.menubg.charactercard{ - width: 500px; - height: 300px; - left: calc(50% - 250px); - top: calc(50% - 150px); - animation: dialog_start2 0.3s; - -webkit-animation: dialog_start2 0.3s; -} -.menubg.charactercard>.menubutton.large.ava{ - width: 180px; - height: 240px; - left: 10px; - top: 10px; - overflow: hidden; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px !important; -} -.menubg.charactercard>.menubutton.large{ - width: 85px; - height: 30px; - bottom: 10px; - line-height: 30px; - padding: 0; - font-size: 20px; -} -.menubg.charactercard>.menubutton.ban{ - left: 10px; -} -.menubg.charactercard>.menubutton.fav{ - left: 105px; -} -.menubg.charactercard>.ava>.changeskin{ - bottom: 6px; - left: 6px; - font-family: 'xinwei'; - font-size: 16px; - z-index: 2; - color: white; - text-shadow: black 0 0 2px; - height: 16px; - line-height: 16px; - pointer-events: none; - opacity: 0.6; -} -#window:not(.nopointer) .menubg.charactercard .menubutton:not(.ava):not(.intro):not(.unselectable), -#window:not(.nopointer) .menubg.charactercard>.ava>.avatars>div{ - cursor: pointer; -} -.menubg.charactercard>.characterskill{ - left: 191px; - padding-left: 9px; - padding-right: 10px; - width: 290px; - top: 125px; - height: 50px; - white-space: nowrap; - overflow-x: scroll; -} -.menubg.charactercard>.characterskill>.menubutton.large{ - height: 20px; - line-height: 20px; - padding: 5px; - margin-top: 10px; - position: relative; - font-size: 20px; - margin-right: 10px; -} -.menubg.charactercard .characterintro{ - left: 200px; - width: 280px; - height: 105px; - padding: 5px; - overflow: scroll; - border-radius: 4px; - box-shadow: rgba(0,0,0,0.2) 0 0 0 1px; -} -.menubg.charactercard .characterintro:not(.intro2){ - top: 10px; - bottom: auto; -} -.menubg.charactercard .characterintro.intro2{ - top: auto; - bottom: 10px; -} -.menubg.charactercard>.ava>.avatars{ - opacity: 0; - pointer-events: none; - width: 100%; - height: 100%; - left: 0; - top: 0; - margin: 0; - padding: 0; - overflow: hidden; - line-height: 0; - text-align: left; - transform: scale(0.8); -} -.menubg.charactercard>.ava>.avatars.scroll{ - overflow: scroll; -} -.menubg.charactercard>.ava>.avatars>div{ - position: relative; - margin:3px; - width: 81px; - height: 111px; - border-radius: 4px; - background-size: cover; - background-position: 50% 0; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px -} -.menubg.charactercard>.ava>.avatars>div:first-child, -.menubg.charactercard>.ava>.avatars>div:first-child+div{ - margin-top: 6px; -} -.menubg.charactercard>.ava>.avatars>div:nth-of-type(odd){ - margin-left: 6px; -} -.menubg.charactercard>.ava.scroll>.avatars{ - opacity: 1; - pointer-events: auto; - transform: scale(1); -} -.menubg.charactercard>.ava.scroll>.changeskin{ - opacity: 0; -} -.menubg.charactercard>.ava.scroll>.avatar{ - transform: translateX(-200px); - pointer-events: none; -} -.menubg.charactercard>.ava>.avatar{ - left: 5px; - top: 5px; - width: calc(100% - 10px); - height: calc(100% - 10px); - background-position: 50% 0; - border-radius: 4px !important; - z-index: 1; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px; -} -.menu.main>.menu-tab{ - height:37px; - text-align:center; - width:calc(100% - 30px); - padding-left:15px; - padding-right:15px; - position:relative; - text-align:center; - - border-width: 0 0 1px; - border-style:solid; - border-image:linear-gradient(to right, transparent,rgba(0,0,0,0.2) 10%,rgba(0,0,0,0.2) 90%,transparent) 0 1 100%; -} -.menu.main>.menu-tab-bar{ - width:45px; - height:2px; - top:35px; - position:absolute; - background-color:rgb(0, 133, 255); - transition:transform 0.3s; - left: 0; -} -.menu.main>.menu-tab>div{ - display:inline-block; - height:32px; - line-height:30px; - padding-top:5px; - width:45px; - margin-left:5px; - margin-right:5px; - transition:color 0.5s; -} -.menu.main>.menu-tab>div:not(.active):not(*:hover), -.menu.main>.menu-tab>.disabled{ - color:rgba(255,255,255,0.6); -} -.menu.main>.menu-content{ - height:calc(100% - 38px); - position:relative; - width:100%; -} -.menu.main>.menu-content>div{ - width:100%; - height:100%; -} -.menu.main>.menu-content>div>.pane{ - position:absolute; - display:inline-block; - height:100%; -} -.menu.main>.menu-content>div>.left.pane{ - width:34%; - left:0; - overflow: scroll; -} -.menu.main>.menu-content>div>.left.pane>div{ - width:calc(100% - 30px); - margin-top:9px; - margin-left:10px; - transition:all 0.3s; - height: 23px; - font-size: 26px; - line-height: 26px; - white-space: nowrap; -} -.menu.main>.menu-content>div>.left.pane>.menubutton.off{ - opacity: 0.5; -} -.menu.main>.menu-content>div>.left.pane>.lefttext{ - font-family: 'xinwei'; - font-size: 20px; -} -.menu.main>.menu-content>div>.left.pane>div:last-child{ - margin-bottom: 9px; -} -.menu.main>.menu-content>div>.left.pane.dim>div:not(.active){ - color:rgba(255,255,255,0.5); -} -.menu.main>.menu-content>div>.right.pane{ - left:34%; - width:66%; - overflow:scroll; -} -.menu.main>.menu-content>div>.right.pane>div{ - width:calc(100% - 5px); - position:absolute; - top:0; - left:0; - padding-left:5px; - padding-top:5px; -} -.menu.main>.menu-content>div>.right.pane>.expanded{ - padding-bottom:80px; -} -.menu.main>.menu-content>div>.right.pane>.expanded.expanded2{ - padding-bottom:12px; -} -.menu.main>.menu-content>div>.right.pane>.morenodes{ - padding-bottom:10px; -} -.menu.main>.menu-content>div>.right.pane>div>.config{ - left:2px; - margin-top:10px; - margin-left: 3px; - transition:all 0.3s; - width:calc(100% - 20px); - overflow: visible; - position: relative; -} -.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd{ - height: 50px; - transition: all 0s; -} -.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd.hidden{ - margin-top: -50px !important; -} -.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd:not(.hidden), -.menu.main>.menu-content>div>.right.pane>div>.config.cardpileadd:not(.hidden){ - margin-top:0; -} -.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd>select{ - margin-right: 3px; -} -.menu.main>.menu-content>div>.right.pane>div>.config.toggle{ - left:2px !important; - text-align: left !important; - white-space: nowrap; -} -.menu.main>.menu-content>div>.right.pane>div>.config.toggle.pointerspan.cardpilecfg{ - left:0px !important; -} -.menu.main>.menu-content>div>.right.pane>div>.config.indent, -.menu.main>.menu-content>div>.right.pane>div>.config.toggle.indent{ - left:12px !important; - width: calc(100% - 32px) !important; -} -#window:not(.low_performance) .menu.main>.menu-content>div>.right.pane>div:not(.expanded)>.config.auto-hide, -#window:not(.low_performance) .menu.main>.menu-content>div>.right.pane>div>.config.hidden{ - margin-top:-25px; - opacity:0; - z-index:-1; -} -#window.low_performance .menu.main>.menu-content>div>.right.pane>div:not(.expanded)>.config.auto-hide, -#window.low_performance .menu.main>.menu-content>div>.right.pane>div>.config.hidden{ - display: none; - transition-property: transform; -} -.menu.main>.menu-content>div>.menubutton.round{ - left:335px; - top:197px; - z-index:3; - transition-property: color, box-shadow; - transition-duration:0.3s; - position:absolute; -} -.menu.main>.menu-content>div>.menubutton.round.glowing{ - box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 15px !important; -} - -.popup-container.hidden{ - pointer-events:none; -} -.popup-container>.menu{ - position:absolute; - overflow:scroll; - max-height: 400px; - transition-property: opacity; -} -.popup-container>.menu.visual{ - padding: 5px; - overflow: scroll; -} -.popup-container>.menu>div{ - padding-top:5px; - padding-bottom:5px; - padding-left:10px; - padding-right:10px; - position: relative; - display: block; - transition: all 0s; -} -.popup-container>.menu.visual>.button.transparent{ - pointer-events: none; -} -.popup-container>.menu.visual>.button.transparent:not(.shown){ - display: none; -} -.popup-container>.menu.visual>.dashedmenubutton{ - box-shadow: none !important; - width: 86px; - height: 86px; - border: 2px dashed rgb(40,40,40); -} -.popup-container>.menu.visual>.controlbutton{ - height: 26px; - border-radius: 4px; -} -.popup-container>.menu.visual>.controlbutton.dashedmenubutton{ - height: 22px; -} -.popup-container>.menu.visual>.controlbutton.dashedmenubutton>div{ - line-height: 22px; -} -.popup-container>.menu.visual>.controlbutton>div{ - width: 100%; - height: 100%; - left: 0 !important; - top: 0 !important; - font-size: 20px; - margin: 0; - padding: 0; - text-align: center; - line-height: 26px; -} -.popup-container>.menu.visual>.controlbutton>div>br{ - display: none; -} -.popup-container>.menu.visual>.hpbutton{ - width: 60px; - height: 60px; - overflow: hidden; -} -.popup-container>.menu.visual>.hpbutton>div{ - width: 30px; - height: 30px; - margin: 0; - padding: 0; - position: absolute; - background-size: 80%; - background-repeat: no-repeat; - background-position: 50% 50%; -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(1){ - left: 0; - top: 0; -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(2){ - right: 0; - left: auto; - top: 0; -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(3){ - left: 0; - bottom: 0; - top: auto; -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(4){ - right: 0; - left: auto; - bottom: 0; - top: auto; -} -.popup-container>.menu.visual>.hpbutton>div>div{ - width: 60%; - height: 60%; - margin: 0; - padding: 0; - position: absolute; - left: 20%; - top: 20%; - border-radius: 100%; - box-shadow: rgba(0,0,0,0.2) 1px -1px 2px inset, rgba(255,255,255,0.15) -1px 1px 5px inset; - filter: brightness(1.5); - -webkit-filter: brightness(1.5); -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(1)>div{ - background: rgba(57, 123, 4,1); - border: 1px solid rgba(39, 79, 7, 1); -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(2)>div{ - background: rgba(166, 140, 6,1); - border: 1px solid rgba(79, 64, 7, 1); -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(3)>div{ - background: rgba(148, 27, 27,1); - border: 1px solid rgba(79, 7, 7, 1); -} -.popup-container>.menu.visual>.hpbutton>div:nth-child(4)>div{ - background: rgba(57, 123, 4,1); - border: 1px solid rgba(39, 79, 7, 1); -} -.themebutton>div{ - width:50px; - height:76px; - top:7px; - right:7px; - border-radius:4px; -} -.themebutton>div>div{ - width:calc(100% - 10px); - height:12px; - display:block; - margin-left:5px; - margin-top:6px; - position:relative; - border-radius:2px; - box-shadow:rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 0 5px; - transition: all 0s; -} -.themebutton>div:first-child{ - z-index: 2; -} -.themebutton.woodden{ - background:url('../../theme/woodden/grid.png'),linear-gradient(#6c7989, #434b55) fixed; -} -.themebutton.woodden>div:not(*:first-child){ - background: url('../../theme/woodden/wood2.png'); - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; -} -.themebutton.woodden>div.fakeplayer:not(*:first-child){ - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0px 10px; -} -.themebutton.woodden>div>div{ - background: url('../../theme/woodden/wood.png'); -} -.themebutton.woodden>div>div.active{ - box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.4) 0 0 0 2px, rgba(0, 133, 255, 1) 0 0 5px !important; -} -.themebutton.music{ - background:url('../../theme/music/grid.png'),linear-gradient(#333333, #222222) fixed; -} -.themebutton.music>div:not(*:first-child){ - background: linear-gradient(#4b4b4b, #464646); - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; -} -.themebutton.music>div>div{ - background: linear-gradient(#4b4b4b, #464646); -} -.themebutton.ol{ - background:url('../../image/background/ol_bg.jpg'); - background-size: cover; -} -.themebutton.ol>div:not(*:first-child){ - background: linear-gradient(#4b4b4b, #464646); - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; -} -.themebutton.ol>div>div{ - background: linear-gradient(#4b4b4b, #464646); -} -.themebutton.simple{ - background:url('../../image/background/ol_bg.jpg'); - background-size: cover; -} -.themebutton.simple>div:not(*:first-child){ - background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); - box-shadow: rgba(0, 0, 0, 0.4) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; -} -.themebutton.simple>div>div{ - background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); -} -.themebutton.simple>div>div.active, -.themebutton.music>div>div.active{ - background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); -} -.themebutton>div>div:first-child{ - margin-top:5px; -} -.themebutton>.fakeplayer>.avatar{ - width: calc(100% - 2px); - height: calc(100% - 2px); - left: 1px; - top: 1px; - border-radius: 2px; - position: absolute; - margin: 0 !important; - padding: 0; - box-shadow: rgba(0,0,0,0.2) 0 0 0 1px inset; -} -.themebutton>.fakeplayer.oldlayout>.avatar{ - width: calc(50% - 2px); -} -.themebutton>.fakeplayer.me>.avatar{ - width: 22px; - height: 22px; - left: 3px; - top: 0; - box-shadow: none; - border-radius: 0px; -} -.themebutton>.fakeplayer.me{ - clip-path: polygon(-10px 0, 32px 0, 32px 32px, -10px 32px); - -webkit-clip-path: polygon(-10px 0, 32px 0, 32px 32px, -10px 32px); -} -.themebutton>div>div>div{ - width: 200%; - height: 200%; - left: 0; - top: 0; - transform: scale(0.5); - color: white; - box-shadow: black 0 0 2px; - transform-origin: top left; - line-height: 24px; - text-align: center; - box-shadow: none !important; -} -.themebutton.woodden>div>div>div{ - color: rgba(77, 60, 51, 0.8); - text-shadow: none; -} - - -#window:not(.nopointer) .popup-container>.menu>div{ - cursor: pointer; -} -.popup-container>.menu.visual>div{ - display: inline-block; - margin:5px !important; - padding: 0 !important; - width: 90px; - height: 90px; -} -.popup-container>.menu.visual.withbar>div:last-child{ - display: block; - width: calc(100% - 10px); - text-align: center; - height: auto; - cursor: default !important; -} -.popup-container>.menu.visual.withbar>div:last-child>div{ - display: inline-block; - position: relative; - margin-left: 5px; - margin-right: 5px; -} -.popup-container>.menu.visual.withbar>div:not(.showdelete)>.deletebutton{ - display: none; -} -.popup-container>.menu.visual.withbar>div.hideadd>.addbutton{ - display: none; -} -.popup-container>.menu.visual.withbar>div.showdelete>div:first-child:not(.addbutton){ - display: none; -} -#window:not(.nopointer) .popup-container>.menu.visual.withbar>div:last-child>div{ - cursor: pointer; -} - -input.fileinput{ - margin: 0 !important; - padding: 0 !important; - position: absolute !important; - width: 100% !important; - height: 100% !important; - left: 0 !important; - top: 0 !important; - opacity: 0 !important; -} -input.fileinput::-webkit-file-upload-button { - cursor: pointer; -} -#window:not(.nopointer) input.fileinput{ - cursor: pointer; -} -.popup-container>.menu.visual>.button.character>.name{ - top: 10px; -} -.popup-container>.menu>div:first-child{ - margin-top:5px; -} -.popup-container>.menu>div:last-child{ - margin-bottom:5px; -} - -.config{ - height:25px; - line-height:25px; - position:relative; -} -#window:not(.nopointer) .config.switcher>div, -#window:not(.nopointer) .config.toggle>div{ - cursor: pointer; -} -.config.switcher>div, -.config.toggle>div{ - position:absolute; - right:0; - left:auto; - display:inline-block; - transition:all 0.3s; - height:25px; -} -.config.switcher>div{ - border-bottom-width:2px; - border-bottom-style:solid; - border-bottom-color:transparent; - margin-right: 4px; -} -.config.switcher.on>div{ - border-bottom-color:rgb(0, 133, 255); -} -.config.toggle>div{ - width:60px; -} -.config.toggle>div>div{ - display:inline-block; - position:relative; - width:25px; - height:25px; - top:0; - left:0; - transition:all 0.3s; - padding: 0; -} -.config.toggle.on>div>div{ - left:calc(100% - 25px); -} -.config.more{ - z-index:1; -} -.config.more>div{ - display:inline-block; - transition:transform 0.3s -} -.config.more>div{ - transform:translateY(-2px); - font-family: 'huangcao','xinwei'; -} -.config.more.on>div{ - transform:rotate(90deg) translateX(-2px); -} - -.menubutton{ - text-align:center; - display:inline-block; - padding:5px; -} -.menubutton.large{ - font-size:30px; - line-height:30px; - font-family:'STXinwei','xinwei'; -} -.menubutton.round{ - width:40px; - height:40px; - border-radius:100%; - font-size:36px; - line-height:40px; - font-family:'xinwei' -} -.menubutton.left{ - float:left; -} -.menubutton.right{ - float:right; -} -.menubutton.search{ - text-align:left; -} -.menubutton.search:not(.focus){ - color:rgba(255,255,255,0.5); -} -.menubutton.dim{ - color:rgba(255,255,255,0.5); -} - -@keyframes fadein{from{opacity:0}} -@-webkit-keyframes fadein{from{opacity:0}} -@keyframes menuslideup{from{top:100%}} -@-webkit-keyframes menuslideup{from{top:100%}} -@keyframes menuslidedown{to{top:100%}} -@-webkit-keyframes menuslidedown{to{top:100%}} -@keyframes menuzoomin{from{transform:scale(0.5);opacity:0;transform-origin:2px -35px}to{transform-origin:2px -35px}} -@-webkit-keyframes menuzoomin{from{transform:scale(0.5);opacity:0;transform-origin:2px -35px}to{transform-origin:2px -35px}} -@keyframes menuzoomout{from{transform-origin:2px -35px}to{transform:scale(0.5);opacity:0;transform-origin:2px -35px}} -@-webkit-keyframes menuzoomout{from{transform-origin:2px -35px}to{transform:scale(0.5);opacity:0;transform-origin:2px -35px}} - - - - - - - -.menu-buttons>.new_character{ - display: block; - position: relative; - width: 100%; -} -.menu-buttons>.new_character>.avatar{ - background-size: cover; -} -.menu-buttons>.new_character>.avatar, -.menu-buttons>.new_character>.card{ - top:8px; - left:12px; - position: absolute; - width: 100px; - height: 130px; - margin: 0; -} -.menu-buttons>.new_character>.card{ - height: 100px; -} -.menu-buttons>.new_character>.card:not(.fullskin){ - color: white; - text-shadow: black 0px 0px 2px; - transform: translateX(0px); - background-image: url("image/card/hslingjian_jinjilengdong.jpg"); - background-size: cover; -} -.menu-buttons>.new_character>.avatar>input, -.menu-buttons>.new_character>.card>input{ - z-index: 3; - border-radius: 8px; - opacity: 0; - width: 100%; - height: 100%; - left:0; - top:0; - position: absolute; -} -#window[data-radius_size='reduce'] .menu-buttons>.new_character>.avatar>input, -#window[data-radius_size='reduce'] .menu-buttons>.new_character>.card>input{ - border-radius:4px; -} -#window[data-radius_size='off'] .menu-buttons>.new_character>.avatar>input, -#window[data-radius_size='off'] .menu-buttons>.new_character>.card>input{ - border-radius:0px; -} -#window[data-radius_size='increase'] .menu-buttons>.new_character>.avatar>input, -#window[data-radius_size='increase'] .menu-buttons>.new_character>.card>input{ - border-radius:16px; -} -.menu-buttons>.new_character>.avatar>.select_avatar, -.menu-buttons>.new_character>.card>.select_avatar{ - font-family: 'xinwei'; - font-size: 20px; - width: 100%; - height: 20px; - line-height: 20px; - top:55px; - left:0; - text-align: center; -} -.menu-buttons>.new_character>.card>.select_avatar{ - top:40px; -} -.menu-buttons>.new_character>.avatar.inited>.select_avatar, -.menu-buttons>.new_character>.card.inited>.select_avatar{ - display: none; -} -.menu-buttons>.new_character>.indent{ - display: block; - margin-left: 123px; - width: calc(100% - 135px); - position: relative; - padding-top: 7px; - text-align: left; - white-space: nowrap; -} -.menu-buttons>.new_character>.indent>input{ - width: 60px; -} -.menu-buttons>.new_character>div>select{ - margin-right: 3px; -} -.menu-buttons>.new_character>.add_skill{ - position: absolute; - left: 12px; - top:180px; - text-align: left; - line-height: 20px; - white-space: nowrap; -} -.menu-buttons>.new_character>.add_skill.options{ - top:155px; -} -.menu-buttons>.new_character>.add_skill.options>span{ - margin-right: 10px; -} -.menu-buttons>.new_character>.add_skill.create{ - top: 220px; -} -.menu-buttons>.new_character>.add_skill.create>div{ - position: relative; -} -.menu-buttons>.new_character>.add_skill.create>div.hidden{ - display: none; -} -.menu-buttons>.new_character>.add_skill.create>div>textarea{ - resize: none; - width: 200px; - height: 100px; - margin-top: 5px; -} -.menu-buttons>.new_character>.add_skill.create>div>div{ - position: relative; - margin-top: 5px; -} -.menu-buttons>.new_character>.add_skill.create>div>div>input{ - width: 120px; -} -.menu-buttons>.new_character>.skill_list{ - position: absolute; - left: 12px; - top: 240px; - text-align: left; - height: auto; - width: calc(100% - 20px); - padding-bottom: 30px; - transition: all 0s; -} -.menu-buttons>.new_character>.skill_list>div{ - position: relative; - width: 100%; - margin: 0; - padding: 0; - height: auto; -} -.menu-buttons>.new_character>.skill_list>div>div{ - position: relative; -} -.menu-buttons>.new_character>.skill_list>div:first-child{ - margin-bottom: 10px; -} -.menu-buttons>.new_character>.skill_list>div:first-child>div{ - width: calc(50% - 10px); - margin-right: 10px; - margin-top: 6px; -} -.menu-buttons>.new_character>.skill_list>div:first-child>div>div{ - position: relative; -} -.menu-buttons>.new_character>.skill_list>div:first-child>div>div:last-child{ - float: right; -} - -.menu-buttons>.new_character.export{ - text-align: left; -} -.menu-buttons>.new_character.export>div{ - position: relative; - margin-left: 12px; - margin-top: 5px; -} -.menu-buttons>.new_character.export>div>input{ - width: 100px; - margin-right: 5px; -} -.menu-buttons>.new_character.export.import>div>input{ - width: 153px; -} - -.menubutton{ - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; - border-radius:4px; - background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); -} -.menubutton.large.blue, -.menubutton.large.red, -.redbg{ - color:white !important; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 3px 10px !important; -} -.menubutton.active, -.menubutton.blue{ - background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); -} -.bluebg{ - background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)) !important; -} -#system>div>.pressdown{ - transform: scale(0.97); -} -.control:not(.disabled) { - transition: all 0.1s; -} -.control:not(.disabled).controlpressdownx { - transition: all 0.5s; -} -#system>div>.pressdown2{ - background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); -} -.menubutton.highlight, -.menubutton.red{ - background-image: linear-gradient(rgba(150, 47, 47, 1), rgba(132, 43, 43, 1)); -} -.menubutton.large.active, -.menubutton.large.lighlight{ - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 3px 10px; -} - -.config.toggle>div{ - border-radius:25px; - box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 0 10px inset; -} -.config.toggle.on>div{ - background-color:rgba(47,101,150,1); -} -.config.toggle>div>div{ - border-radius:25px; - background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); - box-shadow: rgba(51, 51, 51, 1) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; -} - -.popup-container>.menu:not(.visual)>div:hover{ - color:white; - background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); - box-shadow: rgba(0,0,0,0.2) 0 0 0 1px; -} -.videonode.menubutton{ - width: calc(100% - 50px); - height: 70px; - margin-bottom: 6px; - margin-left: -10px; - margin-top: 6px; - overflow: hidden; -} -.videonode.menubutton.extension{ - text-align: left; - height: auto; - max-height: 90px; -} -.videonode.menubutton.extension.current{ - max-height: 400px; -} -.videonode.menubutton>div{ - position: absolute; -} -.videonode.menubutton.extension>div{ - position: relative; - display: block; -} -#window:not(.nopointer) .videonode.menubutton.extension>.caption>.menubutton:not(.transparent2):not(.nopointer){ - cursor: pointer; -} -.videonode.menubutton.extension>.caption>.menubutton{ - position: relative; - float: right; - font-size: 16px; - padding: 0; - text-align: center; - width: 80px; - font-family:'STHeiti','SimHei','Microsoft JhengHei','Microsoft YaHei','WenQuanYi Micro Hei',Helvetica,Arial,sans-serif; -} -.videonode.menubutton.extension>.caption>.menubutton>a{ - margin: 0; - padding: 0; - width: 100%; - height: 100%; - left: 0; - top: 0; - opacity: 0; - cursor: pointer; - position: absolute; -} -.videonode.menubutton>.videoavatar{ - width: 56px; - height: 56px; - top:7px; - left:7px; - background-size: cover; -} -.videonode.menubutton>.videoavatar2{ - width: 20px; - height: 20px; - top:47px; - left:3px; - background-size: cover; - border-radius: 100%; -} -.videonode.menubutton>.caption{ - display: inline-block; - left: 84px; - top: 6px; - padding-top: 0; - white-space: nowrap; -} -.videonode.menubutton.extension>.caption{ - left: 0; - top: 0; - margin-left: 2px; -} -.videonode.menubutton>.text{ - font-size: 14px; - left: 85px; - top: 35px; - line-height: 20px; - text-align: left; - font-family:'STHeiti','SimHei','Microsoft JhengHei','Microsoft YaHei','WenQuanYi Micro Hei',Helvetica,Arial,sans-serif -} -.videonode.menubutton.extension>.text{ - left: 0; - top: 0; - margin-left: 5px; -} -.videonode.menubutton.extension>.text.author>span{ - /*float: right;*/ - position: absolute; - right: 0; - top: 0; - transform: translateY(2px) scale(0.7); - width: 80px; - text-align: center; - opacity: 0; -} -.videonode.menubutton.extension.current>.text.author>span{ - opacity: 1; -} -.videonode.menubutton>.victory{ - font-family: 'huangcao','xinwei'; - font-size: 25px; - text-shadow: black 0 0 1px,rgba(255, 203, 0,1) 0 0 2px,rgba(255, 203, 0,1) 0 0 5px,rgba(255, 203, 0,1) 0 0 5px, - rgba(255, 203, 0,1) 0 0 5px,black 0 0 1px; - color:white; - position: absolute; - left: 48px; - top: 48px; -} -.videonode>.video_star{ - opacity: 0; - position: absolute; - left: 196px; - top: 4px; - font-size: 16px; - width: 20px; - height: 20px; - line-height: 20px; - text-align: center; -} -.videonode:not(.starred):hover>.video_star{ - opacity: 0.5; -} -.videonode.starred>.video_star{ - opacity: 1 -} - -.onlineclient .videonode{ - margin: 5px; - padding: 0; - width: calc(100% - 20px); - height: 30px; - overflow: visible; - border-top-left-radius:10px; - border-bottom-left-radius:10px; -} -.onlineclient .videonode>.videoavatar{ - padding: 0; - left: -4px; - top: -2px; - width: 34px; - height: 34px; - border-radius: 100%; -} -.onlineclient .videotext{ - margin-top: 0px; - font-size: 14px; - width: calc(100% - 30px); -} -.onlineclient .onlineevent.videotext{ - margin-top: 2px; -} -.onlineclient .videonode>.name{ - left: 35px; - max-width: 125px; - overflow: hidden; - white-space: nowrap; - text-align: left; - height: 30px; - line-height: 30px; - font-size: 18px; - font-family: 'lishu','xinwei'; -} -.onlineclient .videonode.videonodestatus{ - height: auto; -} -.onlineclient .videonode.videonodestatus>.videostatus{ - position: relative; - display: block; - margin-left: 10px; - margin-top: 30px; - margin-bottom: 5px; - width: calc(100% - 20px); -} -.onlineevent>div{ - text-align: left; - position: relative; - display: block; - margin-top: 5px; - margin-bottom: 5px; -} -.onlineevent>div.title{ - font-family: 'xinwei'; - font-size: 18px; -} - -.button-downloading>.button-progress{ - width: 100%; - border-radius: 4px; - z-index: 1; - overflow: hidden; -} -.button-downloading>.button-progress>div{ - width: 0; - height: 100%; - position: absolute; - left: 0px; - top: 0px; - border-radius: 0px; - background: linear-gradient(rgb(29,206,68),rgb(1,148,46)); -} -.button-downloading>div:not(.button-progress){ - width: 100% !important; - z-index: 2; -} -.button-downloading>span{ - opacity: 0; -} -.button-downloading>div{ - height: 100%; - margin: 0 !important; - padding: 0 !important; - position: absolute !important; - left: 0 !important; - top:0; -} - -.menu-buttons .file-container{ - position: absolute; - margin: 0; - padding: 0; - left: 0; - top: 0; - width: 100%; - height: 100%; - overflow: scroll; -} -.menu-buttons .file-container>div{ - position: relative; - left: 0; - display: block; - margin: 12px; - margin-bottom: 15px; - white-space: nowrap; - text-align: left; -} -.menu-buttons .file-container>div>span{ - cursor: pointer; - text-decoration: underline; -} -.menu-buttons .file-container>div>img{ - display: block; - margin-top: 5px; -} - -.menubutton.large.dashboard{ - width: 80px; - height: 80px; - margin: 6px; - position: relative !important; -} -.menubutton.large.dashboard.dashboard2{ - width: 60px; - height: 60px; - margin: 5px; - margin-top: 10px; -} -.menubutton.large.dashboard.dashboard2>div:first-child{ - font-size: 40px; - line-height: 40px; -} -.menubutton.large.dashboard.dashboard2>div:last-child{ - font-size: 16px; - white-space: nowrap; -} -.menubutton.large.dashboard>div:first-child{ - font-family: 'lishu','xiaozhuan'; - font-size: 60px; - line-height: 60px; - position: absolute; - left: 0; - top: 7px; - width: 100%; - height: 60px; -} -.menubutton.large.dashboard>div:last-child{ - font-size: 18px; - position: absolute; - left: 0; - bottom: 0; - width: 100%; -} -.favmode{ - float: right; -} -#create-extension{ - height: calc(100% - 5px); - width: calc(100% - 10px); - overflow: hidden; -} -#create-extension>div{ - position: absolute; - width: 100%; - height: 100%; - overflow: scroll; - left: 0; - top: 0; -} -#create-extension>.menu-buttons{ - left:10px; - height: calc(100% - 5px); - width: calc(100% - 15px) !important; -} -#create-extension>.menu-buttons>.config.more{ - margin-left: 0px !important; - margin-top: 10px !important; -} -#create-extension>.menu-buttons>.config.more.margin-bottom{ - margin-left: 0px !important; - margin-top: 10px !important; - margin-bottom: 5px !important; -} -#create-extension>.hidden{ - pointer-events: none; -} -#create-extension>div:not(*:first-child).hidden{ - transform: translateX(200px); -} -#create-extension>.menu-buttons>.new_character>.skill_list{ - top: 220px; -} -#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child{ - transition: all 0s; -} -#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child:not(*:empty){ - margin-top: 10px; - margin-bottom: 10px; -} -#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child>button{ - margin-right: 3px; - margin-bottom: 3px; -} -.popup-container.editor>div{ - width: 80%; - height: 90%; - position: absolute; - left: 10%; - top: 5%; - border-radius: 4px; - box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 10px; - background: white; - overflow: hidden; -} -.popup-container.editor>div>.editbutton{ - font-family: 'lishu'; - font-size: 18px; - color: rgb(60,60,60); - text-shadow: none; - position: absolute; - left: 0; - padding: 7px; - font-size: 24px; - cursor: pointer; -} -.popup-container.editor>div>.editbutton:first-child{ - left: auto; - right: 0; -} -.popup-container.editor>div>div:last-child{ - width: 100%; - height: calc(100% - 40px); - position: absolute; - top:40px; - border-radius: 0 0 4px 4px; - border-top: 1px solid rgba(0,0,0,0.2); -} -.popup-container.editor>div>div:last-child>textarea{ - width: 100%; - height: 100%; - border:none; - margin:0; - padding: 0; - resize: none; -} -.menubutton.large.new_card, -.menubutton.large.new_card_delete{ - left: 12px; - top: 130px; - margin-bottom: 20px; -} -.menubutton.large.new_card_delete{ - left: 155px; -} -.edit_pile{ - width: 100%; - left: 0; - padding-bottom: 20px; -} -.edit_pile>div:last-child{ - width: 100%; - position: relative; -} -.edit_pile>div:last-child>button{ - margin-right: 3px; - margin-top: 3px; -} -.new_character.new_skill>div{ - position: relative; - margin-top: 2px; - white-space: nowrap; - overflow: visible; -} -.new_character.new_skill>div>button{ - margin-right: 3px; -} -.menu-buttons.new_skill>.menubutton{ - position: relative; - margin:5px; -} -.new_character.new_skill>.menubutton.large{ - left: 13px; - position: absolute; - top: 88px; -} -.new_character.new_skill>.menubutton.large.new_card_delete{ - left: 155px; -} - -.popup-container>.prompt-container{ - display: table; - width: 100%; - height: 100%; - left: 0; - top: 0; - margin: 0; - padding: 0; -} -.popup-container>.prompt-container>div{ - height: auto; - display: table-cell; - vertical-align: middle; - text-align: center; - position: relative; -} -.popup-container>.prompt-container>div>div{ - position: relative; -} -.popup-container>.prompt-container>div>div>div{ - display: block; - width: calc(100% - 10px); - margin-top: 15px; - margin-left: 10px; - margin-right: 10px; - margin-bottom: 0; - text-align: center; - position: relative; - width: 230px; -} -/* .popup-container>.prompt-container>div>div>div:first-child{ */ - /*text-align: left;*/ -/* } */ -.popup-container>.prompt-container>div>div>div:last-child{ - margin-bottom: 15px; -} -.popup-container>.prompt-container>div>div>div>input{ - text-align: left; - width: 100%; - resize: none; - border: none; - border-radius: 2px; - height: 20px; - box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px; -} -.popup-container>.prompt-container>div>div>div>.menubutton{ - position: relative; - margin-left: 6px; - margin-right: 6px; - font-size: 24px; - padding-top: 2px; - padding-bottom: 2px; -} -#window:not(.nopointer) .popup-container>.prompt-container>div>div>div>.menubutton{ - cursor: pointer; -} +.menu-container{ + z-index:8; +} +.menu-container div{ + position: relative; +} +.menu-container.hidden{ + pointer-events: none; +} +#menu-button{ + z-index:6; +} +.popup-container{ + z-index:10; +} +.popup-container.filter-character{ + text-align: center; + overflow: scroll; + opacity: 0; + transition: all 0.3s; +} +.popup-container.filter-character.shown{ + opacity: 1; +} +.popup-container.filter-character.removing>div{ + pointer-events: none; +} +.popup-container.filter-character>div{ + left: 0; + top:0; + left: 0; + width: 100%; + height: auto; + margin: 0; + padding: 0; + transition: all 0s; + position: relative; +} +.popup-container.filter-character>div>div{ + position: relative; + margin: 10px; +} +.popup-container.filter-character>div>.capt{ + width: 80px; + height: 80px; + padding: 0; + font-size: 60px; + line-height: 90px; +} + +.menu-container,.popup-container{ + width:100%; + height:100%; + left:0; + top:0; + position: absolute; +} +.menu-buttons,.menu-sym{ + padding-bottom: 5px !important; + width: calc(100% - 10px) !important; + padding-right: 5px !important; +} +.menu-buttons.leftbutton{ + text-align: left; + margin-left: 10px; +} +.menu-buttons.leftbutton:not(.commandbutton){ + width: calc(100% - 30px) !important; +} +.menu.main>.menu-content>div>.right.pane>.menu-buttons.leftbutton>.config.toggle:first-child, +.menu.main>.menu-content>div>.right.pane>.menu-buttons.leftbutton>.config.toggle:first-child+.config.toggle{ + margin-left: 3px !important; + width: calc(100% - 15px) !important; +} +.menu-buttons div{ + position: absolute; +} +.menu-buttons>.glow{ + box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 15px !important; +} +.menu-cheat>div{ + margin:5px; +} +.menu-cheat>.selecting{ + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(255, 0, 0, 0.8) 0 0 5px, rgba(255, 0, 0, 0.8) 0 0 5px !important +} +.menu-cheat.config>.menubutton{ + height:16px; + line-height: 16px; + transform: translateY(-10px); +} +.menu-cheat.config{ + transition-property: opacity; +} +.menu-buttons>.toggle, +.menu-buttons>.config.more{ + position:relative; + margin-bottom: 10px !important; + margin-left: 10px !important; + margin-right: 10px !important; + width: calc(100% - 25px) !important; + display: inline-block; +} +.menu-buttons>.config.more, +.menu-buttons>.toggle.cardpilecfg{ + margin-bottom: 0 !important; + display: block; +} +.menu-buttons>.config.more.pile{ + margin-top: 5px !important; + margin-left: 3px !important; +} +.menu-buttons>.toggle.cardpilecfgadd:not(.hidden){ + margin-top: 0 !important; +} +.menu-buttons>.toggle.cardpilecfg:not(.nomarginleft){ + margin-left: 20px !important; + width: calc(100% - 35px) !important; +} +.menu-buttons>.config.more *{ + position: relative; +} +.menu-buttons>.button{ + zoom:0.75; +} +.menu-buttons .cardpiledelete, +.toggle>.cardpiledelete{ + display: inline-block; + position: relative; + float: right; + margin-right: 4px; +} +.menu-buttons .menuplaceholder{ + display: block; + margin: 0; + padding: 0; + width: 100%; + height: 10px; +} +.menu-buttons .menuplaceholder.slim{ + height: 5px; +} +#window:not(.nopointer) .cardpiledelete{ + cursor: pointer; +} +.menu-help{ + width: calc(100% - 30px) !important; + text-align: left !important; +} +.menu-help li{ + margin-bottom: 10px !important; +} +.menu-container>.menu.main{ + left: 15px; + top: 52px; +} +.menu-container>.menu.main.center{ + left:calc(50% - 200px); + top:calc(50% - 150px); +} +.menu-container.hidden>.menu.main{ + transform:scale(0.5); + transform-origin:2px -35px; + opacity:0; +} +.menu-container>.menu.main{ + transition: all 0.3s; + transform-origin:2px -35px; +} +.menu-container.hidden>.menu.main.center{ + /*transform:translateY(300px);*/ + transform-origin: center center; +} +.menu-container>.menu.main.center{ + transform-origin: center center; +} +.menu.main{ + width: 400px; + height:300px; + position: absolute; + overflow:hidden; + padding:0; +} +.removing>.menubg.charactercard{ + transform: scale(0.8); + opacity: 0; + transition: all 0.3s; +} +.menubg.charactercard{ + width: 500px; + height: 300px; + left: calc(50% - 250px); + top: calc(50% - 150px); + animation: dialog_start2 0.3s; + -webkit-animation: dialog_start2 0.3s; +} +.menubg.charactercard>.menubutton.large.ava{ + width: 180px; + height: 240px; + left: 10px; + top: 10px; + overflow: hidden; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px !important; +} +.menubg.charactercard>.menubutton.large{ + width: 85px; + height: 30px; + bottom: 10px; + line-height: 30px; + padding: 0; + font-size: 20px; +} +.menubg.charactercard>.menubutton.ban{ + left: 10px; +} +.menubg.charactercard>.menubutton.fav{ + left: 105px; +} +.menubg.charactercard>.ava>.changeskin{ + bottom: 6px; + left: 6px; + font-family: 'xinwei'; + font-size: 16px; + z-index: 2; + color: white; + text-shadow: black 0 0 2px; + height: 16px; + line-height: 16px; + pointer-events: none; + opacity: 0.6; +} +#window:not(.nopointer) .menubg.charactercard .menubutton:not(.ava):not(.intro):not(.unselectable), +#window:not(.nopointer) .menubg.charactercard>.ava>.avatars>div{ + cursor: pointer; +} +.menubg.charactercard>.characterskill{ + left: 191px; + padding-left: 9px; + padding-right: 10px; + width: 290px; + top: 125px; + height: 50px; + white-space: nowrap; + overflow-x: scroll; +} +.menubg.charactercard>.characterskill>.menubutton.large{ + height: 20px; + line-height: 20px; + padding: 5px; + margin-top: 10px; + position: relative; + font-size: 20px; + margin-right: 10px; +} +.menubg.charactercard .characterintro{ + left: 200px; + width: 280px; + height: 105px; + padding: 5px; + overflow: scroll; + border-radius: 4px; + box-shadow: rgba(0,0,0,0.2) 0 0 0 1px; +} +.menubg.charactercard .characterintro:not(.intro2){ + top: 10px; + bottom: auto; +} +.menubg.charactercard .characterintro.intro2{ + top: auto; + bottom: 10px; +} +.menubg.charactercard>.ava>.avatars{ + opacity: 0; + pointer-events: none; + width: 100%; + height: 100%; + left: 0; + top: 0; + margin: 0; + padding: 0; + overflow: hidden; + line-height: 0; + text-align: left; + transform: scale(0.8); +} +.menubg.charactercard>.ava>.avatars.scroll{ + overflow: scroll; +} +.menubg.charactercard>.ava>.avatars>div{ + position: relative; + margin:3px; + width: 81px; + height: 111px; + border-radius: 4px; + background-size: cover; + background-position: 50% 0; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px +} +.menubg.charactercard>.ava>.avatars>div:first-child, +.menubg.charactercard>.ava>.avatars>div:first-child+div{ + margin-top: 6px; +} +.menubg.charactercard>.ava>.avatars>div:nth-of-type(odd){ + margin-left: 6px; +} +.menubg.charactercard>.ava.scroll>.avatars{ + opacity: 1; + pointer-events: auto; + transform: scale(1); +} +.menubg.charactercard>.ava.scroll>.changeskin{ + opacity: 0; +} +.menubg.charactercard>.ava.scroll>.avatar{ + transform: translateX(-200px); + pointer-events: none; +} +.menubg.charactercard>.ava>.avatar{ + left: 5px; + top: 5px; + width: calc(100% - 10px); + height: calc(100% - 10px); + background-position: 50% 0; + border-radius: 4px !important; + z-index: 1; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px; +} +.menu.main>.menu-tab{ + height:37px; + text-align:center; + width:calc(100% - 30px); + padding-left:15px; + padding-right:15px; + position:relative; + text-align:center; + + border-width: 0 0 1px; + border-style:solid; + border-image:linear-gradient(to right, transparent,rgba(0,0,0,0.2) 10%,rgba(0,0,0,0.2) 90%,transparent) 0 1 100%; +} +.menu.main>.menu-tab-bar{ + width:45px; + height:2px; + top:35px; + position:absolute; + background-color:rgb(0, 133, 255); + transition:transform 0.3s; + left: 0; +} +.menu.main>.menu-tab>div{ + display:inline-block; + height:32px; + line-height:30px; + padding-top:5px; + width:45px; + margin-left:5px; + margin-right:5px; + transition:color 0.5s; +} +.menu.main>.menu-tab>div:not(.active):not(*:hover), +.menu.main>.menu-tab>.disabled{ + color:rgba(255,255,255,0.6); +} +.menu.main>.menu-content{ + height:calc(100% - 38px); + position:relative; + width:100%; +} +.menu.main>.menu-content>div{ + width:100%; + height:100%; +} +.menu.main>.menu-content>div>.pane{ + position:absolute; + display:inline-block; + height:100%; +} +.menu.main>.menu-content>div>.left.pane{ + width:34%; + left:0; + overflow: scroll; +} +.menu.main>.menu-content>div>.left.pane>div{ + width:calc(100% - 30px); + margin-top:9px; + margin-left:10px; + transition:all 0.3s; + height: 23px; + font-size: 26px; + line-height: 26px; + white-space: nowrap; +} +.menu.main>.menu-content>div>.left.pane>.menubutton.off{ + opacity: 0.5; +} +.menu.main>.menu-content>div>.left.pane>.lefttext{ + font-family: 'xinwei'; + font-size: 20px; +} +.menu.main>.menu-content>div>.left.pane>div:last-child{ + margin-bottom: 9px; +} +.menu.main>.menu-content>div>.left.pane.dim>div:not(.active){ + color:rgba(255,255,255,0.5); +} +.menu.main>.menu-content>div>.right.pane{ + left:34%; + width:66%; + overflow:scroll; +} +.menu.main>.menu-content>div>.right.pane>div{ + width:calc(100% - 5px); + position:absolute; + top:0; + left:0; + padding-left:5px; + padding-top:5px; +} +.menu.main>.menu-content>div>.right.pane>.expanded{ + padding-bottom:80px; +} +.menu.main>.menu-content>div>.right.pane>.expanded.expanded2{ + padding-bottom:12px; +} +.menu.main>.menu-content>div>.right.pane>.morenodes{ + padding-bottom:10px; +} +.menu.main>.menu-content>div>.right.pane>div>.config{ + left:2px; + margin-top:10px; + margin-left: 3px; + transition:all 0.3s; + width:calc(100% - 20px); + overflow: visible; + position: relative; +} +.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd{ + height: 50px; + transition: all 0s; +} +.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd.hidden{ + margin-top: -50px !important; +} +.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd:not(.hidden), +.menu.main>.menu-content>div>.right.pane>div>.config.cardpileadd:not(.hidden){ + margin-top:0; +} +.menu.main>.menu-content>div>.right.pane>div>.config.banskilladd>select{ + margin-right: 3px; +} +.menu.main>.menu-content>div>.right.pane>div>.config.toggle{ + left:2px !important; + text-align: left !important; + white-space: nowrap; +} +.menu.main>.menu-content>div>.right.pane>div>.config.toggle.pointerspan.cardpilecfg{ + left:0px !important; +} +.menu.main>.menu-content>div>.right.pane>div>.config.indent, +.menu.main>.menu-content>div>.right.pane>div>.config.toggle.indent{ + left:12px !important; + width: calc(100% - 32px) !important; +} +#window:not(.low_performance) .menu.main>.menu-content>div>.right.pane>div:not(.expanded)>.config.auto-hide, +#window:not(.low_performance) .menu.main>.menu-content>div>.right.pane>div>.config.hidden{ + margin-top:-25px; + opacity:0; + z-index:-1; +} +#window.low_performance .menu.main>.menu-content>div>.right.pane>div:not(.expanded)>.config.auto-hide, +#window.low_performance .menu.main>.menu-content>div>.right.pane>div>.config.hidden{ + display: none; + transition-property: transform; +} +.menu.main>.menu-content>div>.menubutton.round{ + left:335px; + top:197px; + z-index:3; + transition-property: color, box-shadow; + transition-duration:0.3s; + position:absolute; +} +.menu.main>.menu-content>div>.menubutton.round.glowing{ + box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 10px, rgba(0, 133, 255, 0.8) 0 0 15px !important; +} + +.popup-container.hidden{ + pointer-events:none; +} +.popup-container>.menu{ + position:absolute; + overflow:scroll; + max-height: 400px; + transition-property: opacity; +} +.popup-container>.menu.visual{ + padding: 5px; + overflow: scroll; +} +.popup-container>.menu>div{ + padding-top:5px; + padding-bottom:5px; + padding-left:10px; + padding-right:10px; + position: relative; + display: block; + transition: all 0s; +} +.popup-container>.menu.visual>.button.transparent{ + pointer-events: none; +} +.popup-container>.menu.visual>.button.transparent:not(.shown){ + display: none; +} +.popup-container>.menu.visual>.dashedmenubutton{ + box-shadow: none !important; + width: 86px; + height: 86px; + border: 2px dashed rgb(40,40,40); +} +.popup-container>.menu.visual>.controlbutton{ + height: 26px; + border-radius: 4px; +} +.popup-container>.menu.visual>.controlbutton.dashedmenubutton{ + height: 22px; +} +.popup-container>.menu.visual>.controlbutton.dashedmenubutton>div{ + line-height: 22px; +} +.popup-container>.menu.visual>.controlbutton>div{ + width: 100%; + height: 100%; + left: 0 !important; + top: 0 !important; + font-size: 20px; + margin: 0; + padding: 0; + text-align: center; + line-height: 26px; +} +.popup-container>.menu.visual>.controlbutton>div>br{ + display: none; +} +.popup-container>.menu.visual>.hpbutton{ + width: 60px; + height: 60px; + overflow: hidden; +} +.popup-container>.menu.visual>.hpbutton>div{ + width: 30px; + height: 30px; + margin: 0; + padding: 0; + position: absolute; + background-size: 80%; + background-repeat: no-repeat; + background-position: 50% 50%; +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(1){ + left: 0; + top: 0; +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(2){ + right: 0; + left: auto; + top: 0; +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(3){ + left: 0; + bottom: 0; + top: auto; +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(4){ + right: 0; + left: auto; + bottom: 0; + top: auto; +} +.popup-container>.menu.visual>.hpbutton>div>div{ + width: 60%; + height: 60%; + margin: 0; + padding: 0; + position: absolute; + left: 20%; + top: 20%; + border-radius: 100%; + box-shadow: rgba(0,0,0,0.2) 1px -1px 2px inset, rgba(255,255,255,0.15) -1px 1px 5px inset; + filter: brightness(1.5); + -webkit-filter: brightness(1.5); +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(1)>div{ + background: rgba(57, 123, 4,1); + border: 1px solid rgba(39, 79, 7, 1); +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(2)>div{ + background: rgba(166, 140, 6,1); + border: 1px solid rgba(79, 64, 7, 1); +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(3)>div{ + background: rgba(148, 27, 27,1); + border: 1px solid rgba(79, 7, 7, 1); +} +.popup-container>.menu.visual>.hpbutton>div:nth-child(4)>div{ + background: rgba(57, 123, 4,1); + border: 1px solid rgba(39, 79, 7, 1); +} +.themebutton>div{ + width:50px; + height:76px; + top:7px; + right:7px; + border-radius:4px; +} +.themebutton>div>div{ + width:calc(100% - 10px); + height:12px; + display:block; + margin-left:5px; + margin-top:6px; + position:relative; + border-radius:2px; + box-shadow:rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 0 5px; + transition: all 0s; +} +.themebutton>div:first-child{ + z-index: 2; +} +.themebutton.woodden{ + background:url('../../theme/woodden/grid.png'),linear-gradient(#6c7989, #434b55) fixed; +} +.themebutton.woodden>div:not(*:first-child){ + background: url('../../theme/woodden/wood2.png'); + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; +} +.themebutton.woodden>div.fakeplayer:not(*:first-child){ + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0px 10px; +} +.themebutton.woodden>div>div{ + background: url('../../theme/woodden/wood.png'); +} +.themebutton.woodden>div>div.active{ + box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.4) 0 0 0 2px, rgba(0, 133, 255, 1) 0 0 5px !important; +} +.themebutton.music{ + background:url('../../theme/music/grid.png'),linear-gradient(#333333, #222222) fixed; +} +.themebutton.music>div:not(*:first-child){ + background: linear-gradient(#4b4b4b, #464646); + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; +} +.themebutton.music>div>div{ + background: linear-gradient(#4b4b4b, #464646); +} +.themebutton.ol{ + background:url('../../image/background/ol_bg.jpg'); + background-size: cover; +} +.themebutton.ol>div:not(*:first-child){ + background: linear-gradient(#4b4b4b, #464646); + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; +} +.themebutton.ol>div>div{ + background: linear-gradient(#4b4b4b, #464646); +} +.themebutton.simple{ + background:url('../../image/background/ol_bg.jpg'); + background-size: cover; +} +.themebutton.simple>div:not(*:first-child){ + background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); + box-shadow: rgba(0, 0, 0, 0.4) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; +} +.themebutton.simple>div>div{ + background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); +} +.themebutton.simple>div>div.active, +.themebutton.music>div>div.active{ + background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); +} +.themebutton>div>div:first-child{ + margin-top:5px; +} +.themebutton>.fakeplayer>.avatar{ + width: calc(100% - 2px); + height: calc(100% - 2px); + left: 1px; + top: 1px; + border-radius: 2px; + position: absolute; + margin: 0 !important; + padding: 0; + box-shadow: rgba(0,0,0,0.2) 0 0 0 1px inset; +} +.themebutton>.fakeplayer.oldlayout>.avatar{ + width: calc(50% - 2px); +} +.themebutton>.fakeplayer.me>.avatar{ + width: 22px; + height: 22px; + left: 3px; + top: 0; + box-shadow: none; + border-radius: 0px; +} +.themebutton>.fakeplayer.me{ + clip-path: polygon(-10px 0, 32px 0, 32px 32px, -10px 32px); + -webkit-clip-path: polygon(-10px 0, 32px 0, 32px 32px, -10px 32px); +} +.themebutton>div>div>div{ + width: 200%; + height: 200%; + left: 0; + top: 0; + transform: scale(0.5); + color: white; + box-shadow: black 0 0 2px; + transform-origin: top left; + line-height: 24px; + text-align: center; + box-shadow: none !important; +} +.themebutton.woodden>div>div>div{ + color: rgba(77, 60, 51, 0.8); + text-shadow: none; +} + + +#window:not(.nopointer) .popup-container>.menu>div{ + cursor: pointer; +} +.popup-container>.menu.visual>div{ + display: inline-block; + margin:5px !important; + padding: 0 !important; + width: 90px; + height: 90px; +} +.popup-container>.menu.visual.withbar>div:last-child{ + display: block; + width: calc(100% - 10px); + text-align: center; + height: auto; + cursor: default !important; +} +.popup-container>.menu.visual.withbar>div:last-child>div{ + display: inline-block; + position: relative; + margin-left: 5px; + margin-right: 5px; +} +.popup-container>.menu.visual.withbar>div:not(.showdelete)>.deletebutton{ + display: none; +} +.popup-container>.menu.visual.withbar>div.hideadd>.addbutton{ + display: none; +} +.popup-container>.menu.visual.withbar>div.showdelete>div:first-child:not(.addbutton){ + display: none; +} +#window:not(.nopointer) .popup-container>.menu.visual.withbar>div:last-child>div{ + cursor: pointer; +} + +input.fileinput{ + margin: 0 !important; + padding: 0 !important; + position: absolute !important; + width: 100% !important; + height: 100% !important; + left: 0 !important; + top: 0 !important; + opacity: 0 !important; +} +input.fileinput::-webkit-file-upload-button { + cursor: pointer; +} +#window:not(.nopointer) input.fileinput{ + cursor: pointer; +} +.popup-container>.menu.visual>.button.character>.name{ + top: 10px; +} +.popup-container>.menu>div:first-child{ + margin-top:5px; +} +.popup-container>.menu>div:last-child{ + margin-bottom:5px; +} + +.config{ + height:25px; + line-height:25px; + position:relative; +} +#window:not(.nopointer) .config.switcher>div, +#window:not(.nopointer) .config.toggle>div{ + cursor: pointer; +} +.config.switcher>div, +.config.toggle>div{ + position:absolute; + right:0; + left:auto; + display:inline-block; + transition:all 0.3s; + height:25px; +} +.config.switcher>div{ + border-bottom-width:2px; + border-bottom-style:solid; + border-bottom-color:transparent; + margin-right: 4px; +} +.config.switcher.on>div{ + border-bottom-color:rgb(0, 133, 255); +} +.config.toggle>div{ + width:60px; +} +.config.toggle>div>div{ + display:inline-block; + position:relative; + width:25px; + height:25px; + top:0; + left:0; + transition:all 0.3s; + padding: 0; +} +.config.toggle.on>div>div{ + left:calc(100% - 25px); +} +.config.more{ + z-index:1; +} +.config.more>div{ + display:inline-block; + transition:transform 0.3s +} +.config.more>div{ + transform:translateY(-2px); + font-family: 'huangcao','xinwei'; +} +.config.more.on>div{ + transform:rotate(90deg) translateX(-2px); +} + +.menubutton{ + text-align:center; + display:inline-block; + padding:5px; +} +.menubutton.large{ + font-size:30px; + line-height:30px; + font-family:'STXinwei','xinwei'; +} +.menubutton.round{ + width:40px; + height:40px; + border-radius:100%; + font-size:36px; + line-height:40px; + font-family:'xinwei' +} +.menubutton.left{ + float:left; +} +.menubutton.right{ + float:right; +} +.menubutton.search{ + text-align:left; +} +.menubutton.search:not(.focus){ + color:rgba(255,255,255,0.5); +} +.menubutton.dim{ + color:rgba(255,255,255,0.5); +} + +@keyframes fadein{from{opacity:0}} +@-webkit-keyframes fadein{from{opacity:0}} +@keyframes menuslideup{from{top:100%}} +@-webkit-keyframes menuslideup{from{top:100%}} +@keyframes menuslidedown{to{top:100%}} +@-webkit-keyframes menuslidedown{to{top:100%}} +@keyframes menuzoomin{from{transform:scale(0.5);opacity:0;transform-origin:2px -35px}to{transform-origin:2px -35px}} +@-webkit-keyframes menuzoomin{from{transform:scale(0.5);opacity:0;transform-origin:2px -35px}to{transform-origin:2px -35px}} +@keyframes menuzoomout{from{transform-origin:2px -35px}to{transform:scale(0.5);opacity:0;transform-origin:2px -35px}} +@-webkit-keyframes menuzoomout{from{transform-origin:2px -35px}to{transform:scale(0.5);opacity:0;transform-origin:2px -35px}} + + + + + + + +.menu-buttons>.new_character{ + display: block; + position: relative; + width: 100%; +} +.menu-buttons>.new_character>.avatar{ + background-size: cover; +} +.menu-buttons>.new_character>.avatar, +.menu-buttons>.new_character>.card{ + top:8px; + left:12px; + position: absolute; + width: 100px; + height: 130px; + margin: 0; +} +.menu-buttons>.new_character>.card{ + height: 100px; +} +.menu-buttons>.new_character>.card:not(.fullskin){ + color: white; + text-shadow: black 0px 0px 2px; + transform: translateX(0px); + background-image: url("image/card/hslingjian_jinjilengdong.jpg"); + background-size: cover; +} +.menu-buttons>.new_character>.avatar>input, +.menu-buttons>.new_character>.card>input{ + z-index: 3; + border-radius: 8px; + opacity: 0; + width: 100%; + height: 100%; + left:0; + top:0; + position: absolute; +} +#window[data-radius_size='reduce'] .menu-buttons>.new_character>.avatar>input, +#window[data-radius_size='reduce'] .menu-buttons>.new_character>.card>input{ + border-radius:4px; +} +#window[data-radius_size='off'] .menu-buttons>.new_character>.avatar>input, +#window[data-radius_size='off'] .menu-buttons>.new_character>.card>input{ + border-radius:0px; +} +#window[data-radius_size='increase'] .menu-buttons>.new_character>.avatar>input, +#window[data-radius_size='increase'] .menu-buttons>.new_character>.card>input{ + border-radius:16px; +} +.menu-buttons>.new_character>.avatar>.select_avatar, +.menu-buttons>.new_character>.card>.select_avatar{ + font-family: 'xinwei'; + font-size: 20px; + width: 100%; + height: 20px; + line-height: 20px; + top:55px; + left:0; + text-align: center; +} +.menu-buttons>.new_character>.card>.select_avatar{ + top:40px; +} +.menu-buttons>.new_character>.avatar.inited>.select_avatar, +.menu-buttons>.new_character>.card.inited>.select_avatar{ + display: none; +} +.menu-buttons>.new_character>.indent{ + display: block; + margin-left: 123px; + width: calc(100% - 135px); + position: relative; + padding-top: 7px; + text-align: left; + white-space: nowrap; +} +.menu-buttons>.new_character>.indent>input{ + width: 60px; +} +.menu-buttons>.new_character>div>select{ + margin-right: 3px; +} +.menu-buttons>.new_character>.add_skill{ + position: absolute; + left: 12px; + top: 205px; + text-align: left; + line-height: 20px; + white-space: nowrap; +} +.menu-buttons>.new_character>.add_skill.options{ + top:160px; +} +.menu-buttons>.new_character>.add_skill.options>span{ + margin-right: 10px; +} +.menu-buttons>.new_character>.add_skill.create{ + top: 220px; +} +.menu-buttons>.new_character>.add_skill.create>div{ + position: relative; +} +.menu-buttons>.new_character>.add_skill.create>div.hidden{ + display: none; +} +.menu-buttons>.new_character>.add_skill.create>div>textarea{ + resize: none; + width: 200px; + height: 100px; + margin-top: 5px; +} +.menu-buttons>.new_character>.add_skill.create>div>div{ + position: relative; + margin-top: 5px; +} +.menu-buttons>.new_character>.add_skill.create>div>div>input{ + width: 120px; +} +.menu-buttons>.new_character>.skill_list{ + position: absolute; + left: 12px; + top: 265px; + text-align: left; + height: auto; + width: calc(100% - 20px); + padding-bottom: 30px; + transition: all 0s; +} +.menu-buttons>.new_character>.skill_list>div{ + position: relative; + width: 100%; + margin: 0; + padding: 0; + height: auto; +} +.menu-buttons>.new_character>.skill_list>div>div{ + position: relative; +} +.menu-buttons>.new_character>.skill_list>div:first-child{ + margin-bottom: 10px; +} +.menu-buttons>.new_character>.skill_list>div:first-child>div{ + width: calc(50% - 10px); + margin-right: 10px; + margin-top: 6px; +} +.menu-buttons>.new_character>.skill_list>div:first-child>div>div{ + position: relative; +} +.menu-buttons>.new_character>.skill_list>div:first-child>div>div:last-child{ + float: right; +} + +.menu-buttons>.new_character.export{ + text-align: left; +} +.menu-buttons>.new_character.export>div{ + position: relative; + margin-left: 12px; + margin-top: 5px; +} +.menu-buttons>.new_character.export>div>input{ + width: 100px; + margin-right: 5px; +} +.menu-buttons>.new_character.export.import>div>input{ + width: 153px; +} + +.menubutton{ + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; + border-radius:4px; + background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); +} +.menubutton.large.blue, +.menubutton.large.red, +.redbg{ + color:white !important; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 3px 10px !important; +} +.menubutton.active, +.menubutton.blue{ + background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); +} +.bluebg{ + background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)) !important; +} +#system>div>.pressdown{ + transform: scale(0.97); +} +.control:not(.disabled) { + transition: all 0.1s; +} +.control:not(.disabled).controlpressdownx { + transition: all 0.5s; +} +#system>div>.pressdown2{ + background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); +} +.menubutton.highlight, +.menubutton.red{ + background-image: linear-gradient(rgba(150, 47, 47, 1), rgba(132, 43, 43, 1)); +} +.menubutton.large.active, +.menubutton.large.lighlight{ + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 3px 10px; +} + +.config.toggle>div{ + border-radius:25px; + box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 0 10px inset; +} +.config.toggle.on>div{ + background-color:rgba(47,101,150,1); +} +.config.toggle>div>div{ + border-radius:25px; + background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); + box-shadow: rgba(51, 51, 51, 1) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; +} + +.popup-container>.menu:not(.visual)>div:hover{ + color:white; + background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); + box-shadow: rgba(0,0,0,0.2) 0 0 0 1px; +} +.videonode.menubutton{ + width: calc(100% - 50px); + height: 70px; + margin-bottom: 6px; + margin-left: -10px; + margin-top: 6px; + overflow: hidden; +} +.videonode.menubutton.extension{ + text-align: left; + height: auto; + max-height: 90px; +} +.videonode.menubutton.extension.current{ + max-height: 400px; +} +.videonode.menubutton>div{ + position: absolute; +} +.videonode.menubutton.extension>div{ + position: relative; + display: block; +} +#window:not(.nopointer) .videonode.menubutton.extension>.caption>.menubutton:not(.transparent2):not(.nopointer){ + cursor: pointer; +} +.videonode.menubutton.extension>.caption>.menubutton{ + position: relative; + float: right; + font-size: 16px; + padding: 0; + text-align: center; + width: 80px; + font-family:'STHeiti','SimHei','Microsoft JhengHei','Microsoft YaHei','WenQuanYi Micro Hei',Helvetica,Arial,sans-serif; +} +.videonode.menubutton.extension>.caption>.menubutton>a{ + margin: 0; + padding: 0; + width: 100%; + height: 100%; + left: 0; + top: 0; + opacity: 0; + cursor: pointer; + position: absolute; +} +.videonode.menubutton>.videoavatar{ + width: 56px; + height: 56px; + top:7px; + left:7px; + background-size: cover; +} +.videonode.menubutton>.videoavatar2{ + width: 20px; + height: 20px; + top:47px; + left:3px; + background-size: cover; + border-radius: 100%; +} +.videonode.menubutton>.caption{ + display: inline-block; + left: 84px; + top: 6px; + padding-top: 0; + white-space: nowrap; +} +.videonode.menubutton.extension>.caption{ + left: 0; + top: 0; + margin-left: 2px; +} +.videonode.menubutton>.text{ + font-size: 14px; + left: 85px; + top: 35px; + line-height: 20px; + text-align: left; + font-family:'STHeiti','SimHei','Microsoft JhengHei','Microsoft YaHei','WenQuanYi Micro Hei',Helvetica,Arial,sans-serif +} +.videonode.menubutton.extension>.text{ + left: 0; + top: 0; + margin-left: 5px; +} +.videonode.menubutton.extension>.text.author>span{ + /*float: right;*/ + position: absolute; + right: 0; + top: 0; + transform: translateY(2px) scale(0.7); + width: 80px; + text-align: center; + opacity: 0; +} +.videonode.menubutton.extension.current>.text.author>span{ + opacity: 1; +} +.videonode.menubutton>.victory{ + font-family: 'huangcao','xinwei'; + font-size: 25px; + text-shadow: black 0 0 1px,rgba(255, 203, 0,1) 0 0 2px,rgba(255, 203, 0,1) 0 0 5px,rgba(255, 203, 0,1) 0 0 5px, + rgba(255, 203, 0,1) 0 0 5px,black 0 0 1px; + color:white; + position: absolute; + left: 48px; + top: 48px; +} +.videonode>.video_star{ + opacity: 0; + position: absolute; + left: 196px; + top: 4px; + font-size: 16px; + width: 20px; + height: 20px; + line-height: 20px; + text-align: center; +} +.videonode:not(.starred):hover>.video_star{ + opacity: 0.5; +} +.videonode.starred>.video_star{ + opacity: 1 +} + +.onlineclient .videonode{ + margin: 5px; + padding: 0; + width: calc(100% - 20px); + height: 30px; + overflow: visible; + border-top-left-radius:10px; + border-bottom-left-radius:10px; +} +.onlineclient .videonode>.videoavatar{ + padding: 0; + left: -4px; + top: -2px; + width: 34px; + height: 34px; + border-radius: 100%; +} +.onlineclient .videotext{ + margin-top: 0px; + font-size: 14px; + width: calc(100% - 30px); +} +.onlineclient .onlineevent.videotext{ + margin-top: 2px; +} +.onlineclient .videonode>.name{ + left: 35px; + max-width: 125px; + overflow: hidden; + white-space: nowrap; + text-align: left; + height: 30px; + line-height: 30px; + font-size: 18px; + font-family: 'lishu','xinwei'; +} +.onlineclient .videonode.videonodestatus{ + height: auto; +} +.onlineclient .videonode.videonodestatus>.videostatus{ + position: relative; + display: block; + margin-left: 10px; + margin-top: 30px; + margin-bottom: 5px; + width: calc(100% - 20px); +} +.onlineevent>div{ + text-align: left; + position: relative; + display: block; + margin-top: 5px; + margin-bottom: 5px; +} +.onlineevent>div.title{ + font-family: 'xinwei'; + font-size: 18px; +} + +.button-downloading>.button-progress{ + width: 100%; + border-radius: 4px; + z-index: 1; + overflow: hidden; +} +.button-downloading>.button-progress>div{ + width: 0; + height: 100%; + position: absolute; + left: 0px; + top: 0px; + border-radius: 0px; + background: linear-gradient(rgb(29,206,68),rgb(1,148,46)); +} +.button-downloading>div:not(.button-progress){ + width: 100% !important; + z-index: 2; +} +.button-downloading>span{ + opacity: 0; +} +.button-downloading>div{ + height: 100%; + margin: 0 !important; + padding: 0 !important; + position: absolute !important; + left: 0 !important; + top:0; +} + +.menu-buttons .file-container{ + position: absolute; + margin: 0; + padding: 0; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: scroll; +} +.menu-buttons .file-container>div{ + position: relative; + left: 0; + display: block; + margin: 12px; + margin-bottom: 15px; + white-space: nowrap; + text-align: left; +} +.menu-buttons .file-container>div>span{ + cursor: pointer; + text-decoration: underline; +} +.menu-buttons .file-container>div>img{ + display: block; + margin-top: 5px; +} + +.menubutton.large.dashboard{ + width: 80px; + height: 80px; + margin: 6px; + position: relative !important; +} +.menubutton.large.dashboard.dashboard2{ + width: 60px; + height: 60px; + margin: 5px; + margin-top: 10px; +} +.menubutton.large.dashboard.dashboard2>div:first-child{ + font-size: 40px; + line-height: 40px; +} +.menubutton.large.dashboard.dashboard2>div:last-child{ + font-size: 16px; + white-space: nowrap; +} +.menubutton.large.dashboard>div:first-child{ + font-family: 'lishu','xiaozhuan'; + font-size: 60px; + line-height: 60px; + position: absolute; + left: 0; + top: 7px; + width: 100%; + height: 60px; +} +.menubutton.large.dashboard>div:last-child{ + font-size: 18px; + position: absolute; + left: 0; + bottom: 0; + width: 100%; +} +.favmode{ + float: right; +} +#create-extension{ + height: calc(100% - 5px); + width: calc(100% - 10px); + overflow: hidden; +} +#create-extension>div{ + position: absolute; + width: 100%; + height: 100%; + overflow: scroll; + left: 0; + top: 0; +} +#create-extension>.menu-buttons{ + left:10px; + height: calc(100% - 5px); + width: calc(100% - 15px) !important; +} +#create-extension>.menu-buttons>.config.more{ + margin-left: 0px !important; + margin-top: 10px !important; +} +#create-extension>.menu-buttons>.config.more.margin-bottom{ + margin-left: 0px !important; + margin-top: 10px !important; + margin-bottom: 5px !important; +} +#create-extension>.hidden{ + pointer-events: none; +} +#create-extension>div:not(*:first-child).hidden{ + transform: translateX(200px); +} +#create-extension>.menu-buttons>.new_character>.skill_list{ + top: 245px; +} +#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child{ + transition: all 0s; +} +#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child:not(*:empty){ + margin-top: 10px; + margin-bottom: 10px; +} +#create-extension>.menu-buttons>.new_character>.skill_list>div:first-child>button{ + margin-right: 3px; + margin-bottom: 3px; +} +.popup-container.editor>div{ + width: 80%; + height: 90%; + position: absolute; + left: 10%; + top: 5%; + border-radius: 4px; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 10px; + background: white; + overflow: hidden; +} +.popup-container.editor>div>.editbutton{ + font-family: 'lishu'; + font-size: 18px; + color: rgb(60,60,60); + text-shadow: none; + position: absolute; + left: 0; + padding: 7px; + font-size: 24px; + cursor: pointer; +} +.popup-container.editor>div>.editbutton:first-child{ + left: auto; + right: 0; +} +.popup-container.editor>div>div:last-child{ + width: 100%; + height: calc(100% - 40px); + position: absolute; + top:40px; + border-radius: 0 0 4px 4px; + border-top: 1px solid rgba(0,0,0,0.2); +} +.popup-container.editor>div>div:last-child>textarea{ + width: 100%; + height: 100%; + border:none; + margin:0; + padding: 0; + resize: none; +} +.menubutton.large.new_card, +.menubutton.large.new_card_delete{ + left: 12px; + top: 130px; + margin-bottom: 20px; +} +.menubutton.large.new_card_delete{ + left: 155px; +} +.edit_pile{ + width: 100%; + left: 0; + padding-bottom: 20px; +} +.edit_pile>div:last-child{ + width: 100%; + position: relative; +} +.edit_pile>div:last-child>button{ + margin-right: 3px; + margin-top: 3px; +} +.new_character.new_skill>div{ + position: relative; + margin-top: 2px; + white-space: nowrap; + overflow: visible; +} +.new_character.new_skill>div>button{ + margin-right: 3px; +} +.menu-buttons.new_skill>.menubutton{ + position: relative; + margin:5px; +} +.new_character.new_skill>.menubutton.large{ + left: 13px; + position: absolute; + top: 88px; +} +.new_character.new_skill>.menubutton.large.new_card_delete{ + left: 155px; +} + +.popup-container>.prompt-container{ + display: table; + width: 100%; + height: 100%; + left: 0; + top: 0; + margin: 0; + padding: 0; +} +.popup-container>.prompt-container>div{ + height: auto; + display: table-cell; + vertical-align: middle; + text-align: center; + position: relative; +} +.popup-container>.prompt-container>div>div{ + position: relative; +} +.popup-container>.prompt-container>div>div>div{ + display: block; + width: calc(100% - 10px); + margin-top: 15px; + margin-left: 10px; + margin-right: 10px; + margin-bottom: 0; + text-align: center; + position: relative; + width: 230px; +} +/* .popup-container>.prompt-container>div>div>div:first-child{ */ + /*text-align: left;*/ +/* } */ +.popup-container>.prompt-container>div>div>div:last-child{ + margin-bottom: 15px; +} +.popup-container>.prompt-container>div>div>div>input{ + text-align: left; + width: 100%; + resize: none; + border: none; + border-radius: 2px; + height: 20px; + box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px; +} +.popup-container>.prompt-container>div>div>div>.menubutton{ + position: relative; + margin-left: 6px; + margin-right: 6px; + font-size: 24px; + padding-top: 2px; + padding-bottom: 2px; +} +#window:not(.nopointer) .popup-container>.prompt-container>div>div>div>.menubutton{ + cursor: pointer; +} diff --git a/mode/identity.js b/mode/identity.js index 97a549370..47afffc40 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -1100,13 +1100,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ list.remove('shen'); if(list.length) player.group=function(){ if(_status.mode!='zhong'&&game.zhu&&game.zhu.group){ - if(['re_zhangjiao','liubei','re_liubei','caocao','re_caocao','sunquan','re_sunquan','zhangjiao','sp_zhangjiao','caopi','re_caopi','liuchen','caorui','sunliang','sunxiu','sunce','re_sunben','ol_liushan','re_liushan','key_akane','dongzhuo','re_dongzhuo','ol_dongzhuo','liubian'].contains(game.zhu.name)) return game.zhu.group; + if(['re_zhangjiao','liubei','re_liubei','caocao','re_caocao','sunquan','re_sunquan','zhangjiao','sp_zhangjiao','caopi','re_caopi','liuchen','caorui','sunliang','sunxiu','sunce','re_sunben','ol_liushan','re_liushan','key_akane','dongzhuo','re_dongzhuo','ol_dongzhuo','jin_simashi'].contains(game.zhu.name)) return game.zhu.group; if(game.zhu.name=='sunhao'&&player.identity=='zhong') return 'wu'; if(game.zhu.name=='yl_yuanshu'){ if(player.identity=='zhong') list.remove('qun'); else return 'qun'; } - if(['sunhao','xin_yuanshao','re_yuanshao','re_sunce','ol_yuanshao','yuanshu'].contains(game.zhu.name)){ + if(['sunhao','xin_yuanshao','re_yuanshao','re_sunce','ol_yuanshao','yuanshu','jin_simazhao','liubian'].contains(game.zhu.name)){ if(player.identity!='zhong') list.remove(game.zhu.group); else return game.zhu.group; }