Commit f8093969 authored by hisuinohoshi's avatar hisuinohoshi

fix clubslct

修正:
- 入场时选择称号没有加成的问题;
- 入场物品依然会使用旧版称号生成器的问题;
- 幻境解离计数成就二阶段描述文本有误的问题;
parent b381b632
...@@ -479,7 +479,7 @@ $ach_list = Array ...@@ -479,7 +479,7 @@ $ach_list = Array
'c2' => Array(1000,3000,76531), 'c2' => Array(1000,3000,76531),
'desc' => Array( 'desc' => Array(
"<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 1次</span>", "<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 1次</span>",
"<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 7次</span>", "<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 17次</span>",
"<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 77次</span>", "<span tooltip=\"独自完成、或与团队共同达成结局时,均可达成此成就\">参与达成结局:幻境解离 77次</span>",
), ),
), ),
......
...@@ -133,8 +133,16 @@ function changeclub($clb,&$data=NULL) ...@@ -133,8 +133,16 @@ function changeclub($clb,&$data=NULL)
function updateskill(&$data=NULL) function updateskill(&$data=NULL)
{ {
//global $club, $wp, $wk, $wc, $wg, $wd, $wf, $money, $hp, $mhp, $att, $def ,$clbpara, $club_skillslist;
global $club, $wp, $wk, $wc, $wg, $wd, $wf, $money, $hp, $mhp, $att, $def ,$clbpara, $club_skillslist; global $club_skillslist;
if(!isset($data))
{
global $pdata;
$data = &$pdata;
}
extract($data,EXTR_REFS);
if ($club==1) {$wp+=50;} if ($club==1) {$wp+=50;}
if ($club==2) $wk+=50; if ($club==2) $wk+=50;
if ($club==3) $wc+=50; if ($club==3) $wc+=50;
......
...@@ -165,7 +165,7 @@ if($mode == 'enter') { ...@@ -165,7 +165,7 @@ if($mode == 'enter') {
/*if(strpos($wepk,'WG') === 0){ /*if(strpos($wepk,'WG') === 0){
$itm[3] = '手枪子弹'; $itmk[3] = 'GB'; $itme[3] = 1; $itms[3] = 12; $itmsk[3] = ''; $itm[3] = '手枪子弹'; $itmk[3] = 'GB'; $itme[3] = 1; $itms[3] = 12; $itmsk[3] = '';
}*/ }
include_once GAME_ROOT.'./include/game/clubslct.func.php'; include_once GAME_ROOT.'./include/game/clubslct.func.php';
getclub($name,$tc1,$tc2,$tc3); getclub($name,$tc1,$tc2,$tc3);
...@@ -179,7 +179,7 @@ if($mode == 'enter') { ...@@ -179,7 +179,7 @@ if($mode == 'enter') {
{ {
$itm[4] = '电池'; $itmk[4] = 'BE'; $itme[4] = 2; $itms[4] = 1; $itmsk[4] = ''; $itm[4] = '电池'; $itmk[4] = 'BE'; $itme[4] = 2; $itms[4] = 1; $itmsk[4] = '';
} }
} }*/
// $itm[5] = '好人卡'; $itmk[5] = 'Y'; $itme[5] = 1; $itms[5] = 20; $itmsk[5] = ''; // $itm[5] = '好人卡'; $itmk[5] = 'Y'; $itme[5] = 1; $itms[5] = 20; $itmsk[5] = '';
//$itm[5] = '特别赠礼'; $itmk[5] = 'p'; $itme[5] = 1; $itms[5] = 1; $itmsk[5] = ''; //$itm[5] = '特别赠礼'; $itmk[5] = 'p'; $itme[5] = 1; $itms[5] = 1; $itmsk[5] = '';
// $shenzhuang = rand(1,10); // $shenzhuang = rand(1,10);
......
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