Commit d2992c8a authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #157 from hikawiier/waaagh

fix more
parents 56c08ae1 fb898d18
...@@ -191,12 +191,13 @@ function lostclub(&$data=NULL) ...@@ -191,12 +191,13 @@ function lostclub(&$data=NULL)
function selectclub($id) function selectclub($id)
{ {
global $name, $club; global $name, $club, $udata;
if ($club!=0) return 1; if ($club!=0) return 1;
if (!$id) return 2; if (!$id) return 2;
$t1_list = valid_getclublist_t1($udata); $t1_list = valid_getclublist_t1($udata);
$t2_list = valid_getclublist_t2($udata); $t2_list = valid_getclublist_t2($udata);
if(in_array($id,$t1_list) || in_array($id,$t2_list)) if(in_array($id,$t1_list) || in_array($id,$t2_list))
{ {
$club = $id; $club = $id;
......
...@@ -966,7 +966,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -966,7 +966,7 @@ function itemuse($itmn,&$data=NULL) {
$is = 1; $is = 1;
$isk = ''; $isk = '';
} }
$clbpara['opened_pack'] = $itm; //记录打开福袋 $clbpara['opened_pack'] = $oitm; //记录打开福袋
} }
}else{//一般礼品盒 }else{//一般礼品盒
$file = config('present',$gamecfg); $file = config('present',$gamecfg);
......
...@@ -12,8 +12,8 @@ namespace revcombat ...@@ -12,8 +12,8 @@ namespace revcombat
if(!empty($pa['wep_range']) && $pd['wep_range'] >= $pa['wep_range']) return 1; if(!empty($pa['wep_range']) && $pd['wep_range'] >= $pa['wep_range']) return 1;
# 鏖战状态下无视射程反击(爆系武器除外) # 鏖战状态下无视射程反击(爆系武器除外)
if((isset($pd['is_dfight']) || isset($pa['is_dfight'])) && !empty($pd['wep_range'])) return 1; if((isset($pd['is_dfight']) || isset($pa['is_dfight'])) && !empty($pd['wep_range'])) return 1;
#「直感」触发后可以超射程反击 #「直感」触发后可以超射程反击(爆系武器除外)
if(isset($pd['skill_c2_intuit'])) if(isset($pd['skill_c2_intuit']) && !empty($pa['wep_range']))
{ {
$sk_dice = diceroll(99); $sk_dice = diceroll(99);
$sk_lvl = get_skilllvl('c2_intuit',$pd); $sk_lvl = get_skilllvl('c2_intuit',$pd);
......
...@@ -26,16 +26,17 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') { ...@@ -26,16 +26,17 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
$old_nicknews = Array $old_nicknews = Array
( (
//使用道具发送的news统一不带头衔,以后要不要带以后再说 //使用道具发送的news统一不带头衔,以后要不要带以后再说
'teammake' => 'c', 'teammake' => Array('b','c'),
'teamjoin' => 'c', 'teamjoin' => Array('b','c'),
'teamquit' => 'c', 'teamquit' => Array('b','c'),
'newgm' => 'd', 'newgm' => 'd',
'newpc' => 'd', 'newpc' => 'd',
'hack' => 'b', 'hack' => 'b',
'hack2' => 'b', 'hack2' => 'b',
'itemmix' => 'd', //合成消息显示头衔太丑了
'syncmix' => 'c', //'itemmix' => 'd',
'overmix' => 'c', //'syncmix' => 'c',
//'overmix' => 'c',
'senditem' => 'd', 'senditem' => 'd',
'csl_wthchange' => 'c', 'csl_wthchange' => 'c',
'csl_hack' => 'b', 'csl_hack' => 'b',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment