Commit 40091124 authored by hisuinohoshi's avatar hisuinohoshi

Merge branch 'beginning' into waaagh

parents 017671f5 ebd4f717
......@@ -1774,10 +1774,14 @@ function itemuse($itmn) {
} elseif ($itmk =='ZB'){ //社团卡
if($club)
{
global $db,$tablepre;
$log .="你已经是有身份的人了!不能再使用称号卡。<br>";
$db->query("INSERT INTO {$tablepre}shopitem (kind,num,price,area,item,itmk,itme,itms,itmsk) VALUES ('18','1','20','0','$itm','$itmk','$itme','$itms','$itmsk')");
$log .="<span class='yellow'>$itm</span>像是有生命一般从你的手上脱离,飞回了商店!";
}
//处理不能成为合法社团的情况
if ($itme == 15){ //L5状态
elseif ($itme == 15){ //L5状态
global $wp, $wk, $wg, $wc, $wd, $wf, $club, $bid, $att, $def;
$log .="【DEBUG】进入L5状态<br>";
$log .= '你突然感觉到一种不可思议的力量贯通全身!<br>';
......@@ -1829,6 +1833,7 @@ function itemuse($itmn) {
}
else{//直接将社团卡的效果写入玩家club
$club = $itme;
$log .="你的称号被改动了!";
}
//销毁物品
$itm = $itmk = $itmsk = '';
......
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