Commit 70a04925 authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #29 from hikawiier/waaagh

Update & Fix
parents f858fde9 eaf418be
......@@ -18,7 +18,7 @@
//不可以被拆解的NPC类型
$no_type_to_e_list = Array();
//不可以被拆解的【道具】(关键词匹配)
$no_itm_to_e_list = Array();
$no_itm_to_e_list = Array('提示纸条',);
//不可以被拆解的【道具类别】
$no_itmk_to_e_list = Array('N','WN','p','fy','ygo');
//不可以被拆解的【道具属性】
......
This diff is collapsed.
......@@ -15,6 +15,14 @@ if($command != 'submitedit'){
$npcdata = dbsearch($start,$checkmode,$checkinfo);
}
$in_file = config('itmlist',$gamecfg);
if(!file_exists($in_file))
{
require 'sp_ilist.php';
get_itm_namelist();
}
include_once($in_file);
$temp_item_namelist = $item_namelist;
if($command == 'kill' || $command == 'live' || $command == 'del') {
$operlist = $operlist2 = $dfaillist = $gfaillist = array();
......
......@@ -15,6 +15,14 @@ if($command != 'submitedit'){
$pcdata = dbsearch($start,$checkmode,$checkinfo);
}
$in_file = config('itmlist',$gamecfg);
if(!file_exists($in_file))
{
require 'sp_ilist.php';
get_itm_namelist();
}
include_once($in_file);
$temp_item_namelist = $item_namelist;
if($command == 'kill' || $command == 'live' || $command == 'del') {
$operlist = $operlist2 = $dfaillist = $gfaillist = array();
......
......@@ -3,7 +3,7 @@ if (! defined ( 'IN_GAME' )) {
exit ( 'Access Denied' );
}
function get_npc_helpinfo($nlist)
function get_npc_helpinfo($nlist,$tooltip=1)
{
global $plsinfo,$hplsinfo,$gamecfg,$iteminfo,$clubinfo;
//登记非功能性地点信息时合并隐藏地点
......@@ -16,127 +16,141 @@ function get_npc_helpinfo($nlist)
{
foreach(Array('sub','asub','esub') as $tsub)
{
foreach($npcs[$tsub] as $n => $npc)
if(!empty($npcs[$tsub]))
{
$snpc = array_merge($npcs,$npc);
unset($snpc['sub']);unset($snpc['asub']);unset($snpc['esub']);
foreach(Array('p','k','g','c','d','f') as $val)
foreach($npcs[$tsub] as $n => $npc)
{
if(isset($snpc['w'.$val]))
$snpc = array_merge($npcs,$npc);
unset($snpc['sub']);unset($snpc['asub']);unset($snpc['esub']);
foreach(Array('p','k','g','c','d','f') as $val)
{
if(isset($snpc['skill']))
if(isset($snpc['w'.$val]))
{
$snpc['skill'] .= '(?)';
if(isset($snpc['skill']))
{
$snpc['skill'] .= '(?)';
}
else
{
$snpc['skill'] = '不定';
}
break;
}
}
if($snpc['gd'] == 'm' || $snpc['gd'] == 'f')
{
$snpc['gd'] = $snpc['gd']=='m' ? '男' : '女';
}
else
{
$snpc['gd'] = '未知';
}
if(isset($snpc['pls']))
{
if($tsub == 'esub')
{
$snpc['pls'] = '原地';
}
else
{
$snpc['skill'] = '不定';
$snpc['pls'] = $snpc['pls']==99 ? '随机' : $plsinfo[$snpc['pls']];
}
break;
}
}
if($snpc['gd'] == 'm' || $snpc['gd'] == 'f')
{
$snpc['gd'] = $snpc['gd']=='m' ? '男' : '女';
}
else
{
$snpc['gd'] = '未知';
}
$snpc['pls'] = $snpc['pls']==99 ? '随机' : $plsinfo[$snpc['pls']];
$snpc['club'] = $snpc['club']==99 ? '第一形态' : $clubinfo[$snpc['club']];
//合并装备名
foreach(Array('wep','arb','arh','ara','arf','art') as $t1)
{
foreach(Array('','k','e','s','sk') as $t2)
if(isset($snpc['club'])) $snpc['club'] = $snpc['club']==99 ? '第一形态' : $clubinfo[$snpc['club']];
//合并装备名
foreach(Array('wep','arb','arh','ara','arf','art') as $t1)
{
if(isset($snpc[$t1.$t2]))
foreach(Array('','k','e','s','sk') as $t2)
{
//为装备名添加tooltip效果
if($t2 == '')
{
$snpc[$t1.$t2] = parse_itm_desc($snpc[$t1.$t2],'m');
}
//为装备类别添加tooltip效果
elseif($t2 == 'k')
if(isset($snpc[$t1.$t2]))
{
foreach($iteminfo as $info_key => $info_value)
//为装备名添加tooltip效果
if($t2 == '' && $tooltip)
{
if(strpos($snpc[$t1.$t2],$info_key)===0)
{
$snpc[$t1.$t2] = parse_itm_desc($info_key,'k');
break;
}
$snpc[$t1.$t2] = parse_itm_desc($snpc[$t1.$t2],'m');
}
}
//为装备属性添加tooltip效果
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc[$t1.$t2]);
foreach($tmpsk as $sk)
//为装备类别添加tooltip效果
elseif($t2 == 'k' && $tooltip)
{
if(!empty($snpc[$t1.$t2.'_words']))
foreach($iteminfo as $info_key => $info_value)
{
$snpc[$t1.$t2.'_words'] .= "+".parse_itm_desc($sk,'sk');
if(strpos($snpc[$t1.$t2],$info_key)===0)
{
$snpc[$t1.$t2] = parse_itm_desc($info_key,'k');
break;
}
}
else
}
//为装备属性添加tooltip效果
elseif($t2 == 'sk' && $tooltip)
{
$tmpsk = get_itmsk_array($snpc[$t1.$t2]);
foreach($tmpsk as $sk)
{
$snpc[$t1.$t2.'_words'] = parse_itm_desc($sk,'sk');
if(!empty($snpc[$t1.$t2.'_words']))
{
$snpc[$t1.$t2.'_words'] .= "+".parse_itm_desc($sk,'sk');
}
else
{
$snpc[$t1.$t2.'_words'] = parse_itm_desc($sk,'sk');
}
}
}
}
}
else
{
$snpc[$t1.$t2] = '-';
else
{
$snpc[$t1.$t2] = '-';
}
}
}
}
//合并道具名
for($ni=0;$ni<=6;$ni++)
{
foreach(Array('','k','e','s','sk') as $t2)
//合并道具名
for($ni=0;$ni<=6;$ni++)
{
if(isset($snpc['itm'.$t2.$ni]))
foreach(Array('','k','e','s','sk') as $t2)
{
//为装备名添加tooltip效果
if($t2 == '')
if(isset($snpc['itm'.$t2.$ni]))
{
$snpc['itm'.$t2.$ni] = parse_itm_desc($snpc['itm'.$t2.$ni],'m');
}
//为装备类别添加tooltip效果
elseif($t2 == 'k')
{
foreach($iteminfo as $info_key => $info_value)
//为装备名添加tooltip效果
if($t2 == '' && $tooltip)
{
if(strpos($snpc['itm'.$t2.$ni],$info_key)===0)
{
$snpc['itm'.$t2.$ni] = parse_itm_desc($info_key,'k');
break;
}
$snpc['itm'.$t2.$ni] = parse_itm_desc($snpc['itm'.$t2.$ni],'m');
}
}
//为装备属性添加tooltip效果
elseif($t2 == 'sk')
{
$tmpsk = get_itmsk_array($snpc['itm'.$t2.$ni]);
foreach($tmpsk as $sk)
//为装备类别添加tooltip效果
elseif($t2 == 'k' && $tooltip)
{
if(!empty($snpc['itm'.$t2.$ni.'_words']))
foreach($iteminfo as $info_key => $info_value)
{
$snpc['itm'.$t2.$ni.'_words'] .= "+".parse_itm_desc($sk,'sk');
if(strpos($snpc['itm'.$t2.$ni],$info_key)===0)
{
$snpc['itm'.$t2.$ni] = parse_itm_desc($info_key,'k');
break;
}
}
else
}
//为装备属性添加tooltip效果
elseif($t2 == 'sk' && $tooltip)
{
$tmpsk = get_itmsk_array($snpc['itm'.$t2.$ni]);
foreach($tmpsk as $sk)
{
$snpc['itm'.$t2.$ni.'_words'] = parse_itm_desc($sk,'sk');
if(!empty($snpc['itm'.$t2.$ni.'_words']))
{
$snpc['itm'.$t2.$ni.'_words'] .= "+".parse_itm_desc($sk,'sk');
}
else
{
$snpc['itm'.$t2.$ni.'_words'] = parse_itm_desc($sk,'sk');
}
}
}
}
}
}
$tnlist[$i][$tsub][$n] = $snpc;
unset($snpc);
}
$tnlist[$i][$tsub][$n] = $snpc;
unset($snpc);
}
}
}
......@@ -257,13 +271,32 @@ function get_item_place($which)
}
}
}
}
}*/
//NPC掉落
include_once config('npc',$gamecfg);
include_once config('addnpc',$gamecfg);
include_once config('evonpc',$gamecfg);
$nownpclist = Array();
$nownpclist = $npcinfo+$anpcinfo;
$result .= get_item_npcdrop($which);
//头衔附赠
global $title_valid;
foreach($title_valid as $tv => $tvarr)
{
foreach($tvarr as $tvkey => $tvitm)
{
if(in_array($tvkey,array('wep','arb','arh','ara','arf','art','itm1','itm2','itm3','itm4','itm5','itm6')) && ($which == $tvitm))
{
$result.="头衔【{$tv}】的入场奖励 \r";
break;
}
}
}
if ($which == "悲叹之种") $result.="通过使用『灵魂宝石』强化物品失败获得 \r";
return $result;
}
function get_item_npcdrop($which)
{
global $npcinfo,$anpcinfo,$enpcinfo,$typeinfo;
$result = '';
$nownpclist = $npcinfo;
foreach($enpcinfo as $ekey => $enpcs)
{
foreach($enpcs as $sname => $enpc)
......@@ -271,7 +304,14 @@ function get_item_place($which)
$nownpclist[$ekey]['sub'][$sname] = $enpc;
}
}
foreach($nownpclist as $npcs)
foreach($anpcinfo as $akey => $anpcs)
{
foreach($anpcs['sub'] as $aid => $anpc)
{
$nownpclist[$akey]['sub']['a'.$aid] = $anpc;
}
}
foreach($nownpclist as $ntype => $npcs)
{
foreach(array('wep','arb','arh','ara','arf','art','itm1','itm2','itm3','itm4','itm5','itm6') as $nipval)
{
......@@ -279,16 +319,20 @@ function get_item_place($which)
{
foreach($npcs['sub'] as $npc)
{
if (isset($npc[$nipval]) && $npc[$nipval]==$which)
$npc = array_merge($npcs,$npc);
if(isset($npc[$nipval]) && ($which == $npc[$nipval]))
{
$result.="击败NPC {$npc['name']}时获得 \r";
break;
$nresult ="击败{$npc['name']}后拾取 \r";
if(strpos($result,$nresult)===false)
{
$result .= $nresult;
}
}
}
}
}
}*/
if ($which=="悲叹之种") $result.="通过使用『灵魂宝石』强化物品失败获得 \r";
}
return $result;
}
?>
......@@ -323,11 +323,15 @@
# 黑熊吃香蕉事件:
if($pa['type'] && in_array('X',$pa['ex_keys']))
{
if ($pa['wep'] == '燕返262') $log.="<img src=\"img/other/262.png\"><br>";
$damage = 999983;
$pd['sp_death_flag'] = 1; #这个标记用于影响是否复活或登记特殊死法的判断
$log .= "造成<span class=\"red\">$damage</span>点伤害!<br>";
return $damage;
$x_dice = diceroll(99);
if($x_dice >= 90)
{
if ($pa['wep'] == '燕返262') $log.="<img src=\"img/other/262.png\"><br>";
$damage = 999983;
$pd['sp_death_flag'] = 1; #这个标记用于影响是否复活或登记特殊死法的判断
$log .= "造成<span class=\"red\">$damage</span>点伤害!<br>";
return $damage;
}
}
# 真红暮防御事件:
......@@ -712,7 +716,7 @@
$p = $pa['club'] == 9 ? 2 : 1.5;
$dmg_p[]= $p;
//输出log
$log .= npc_chat ($pa['type'],$pa['nm'],'critical');
$log .= npc_chat_rev ($pa,$pd,'critical');
$log .= "{$pa['nm']}消耗<span class=\"yellow\">{$rage_min_cost}</span>点怒气,";
if ($pa['club'] == 9) $log .= "<span class=\"red\">发动必杀技!</span><br>";
else $log .= "<span class=\"red\">使出重击!</span><br>";
......
This diff is collapsed.
......@@ -143,8 +143,7 @@ function get_itm_namelist()
include_once config('npc',$gamecfg);
include_once config('addnpc',$gamecfg);
include_once config('evonpc',$gamecfg);
$nownpclist = Array();
$nownpclist = $npcinfo+$anpcinfo;
$nownpclist = $npcinfo;
foreach($enpcinfo as $ekey => $enpcs)
{
foreach($enpcs as $sname => $enpc)
......@@ -152,10 +151,18 @@ function get_itm_namelist()
$nownpclist[$ekey]['sub'][$sname] = $enpc;
}
}
foreach($anpcinfo as $akey => $anpcs)
{
foreach($anpcs['sub'] as $aid => $anpc)
{
$nownpclist[$akey]['sub']['a'.$aid] = $anpc;
}
}
foreach($nownpclist as $npcs)
{
foreach(array('wep','arb','arh','ara','arf','art','itm1','itm2','itm3','itm4','itm5','itm6') as $nipval)
{
if(isset($npcs[$nipval]) && !in_array($npcs[$nipval],$iarr)) $iarr[] = $npcs[$nipval];
if(!empty($npcs['sub']))
{
foreach($npcs['sub'] as $npc)
......@@ -163,9 +170,17 @@ function get_itm_namelist()
if(isset($npc[$nipval]) && !in_array($npc[$nipval],$iarr)) $iarr[] = $npc[$nipval];
}
}
else
}
}
//头衔附赠
global $title_valid;
foreach($title_valid as $tv => $tvarr)
{
foreach($tvarr as $tvkey => $tvitm)
{
if(in_array($tvkey,array('wep','arb','arh','ara','arf','art','itm1','itm2','itm3','itm4','itm5','itm6')) && !in_array($tvitm,$iarr))
{
if(isset($npcs[$nipval]) && !in_array($npcs[$nipval],$iarr)) $iarr[] = $npcs[$nipval];
$iarr[] = $tvitm;
}
}
}
......
......@@ -26,9 +26,9 @@
<td>姓名</td>
<td>{$npc['name']}</td>
<td>武器</td>
<td><input size="20" type="text" name="wep" value="{$npc['wep']}" maxlength="250"></td>
<td><input size="20" type="text" name="wep" list="vsnamelist" value="{$npc['wep']}" maxlength="250"></td>
<td>包裹1</td>
<td><input size="20" type="text" name="itm1" value="{$npc['itm1']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm1" list="vsnamelist" value="{$npc['itm1']}" maxlength="250"></td>
</tr>
<tr>
<td>性别</td>
......@@ -66,9 +66,9 @@
<td>生命</td>
<td><input size="20" type="text" name="hp" value="{$npc['hp']}" maxlength="20"></td>
<td>防具(体)</td>
<td><input size="20" type="text" name="arb" value="{$npc['arb']}" maxlength="250"></td>
<td><input size="20" type="text" name="arb" list="vsnamelist" value="{$npc['arb']}" maxlength="250"></td>
<td>包裹2</td>
<td><input size="20" type="text" name="itm2" value="{$npc['itm2']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm2" list="vsnamelist" value="{$npc['itm2']}" maxlength="250"></td>
</tr>
<tr>
<td>最大生命</td>
......@@ -106,9 +106,9 @@
<td>基础防御</td>
<td><input size="20" type="text" name="def" value="{$npc['def']}" maxlength="20"></td>
<td>防具(头)</td>
<td><input size="20" type="text" name="arh" value="{$npc['arh']}" maxlength="250"></td>
<td><input size="20" type="text" name="arh" list="vsnamelist" value="{$npc['arh']}" maxlength="250"></td>
<td>包裹3</td>
<td><input size="20" type="text" name="itm3" value="{$npc['itm3']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm3" list="vsnamelist" value="{$npc['itm3']}" maxlength="250"></td>
</tr>
<tr>
<td>位置</td>
......@@ -146,9 +146,9 @@
<td>对手</td>
<td><input size="20" type="text" name="bid" value="{$npc['bid']}" maxlength="20"></td>
<td>防具(腕)</td>
<td><input size="20" type="text" name="ara" value="{$npc['ara']}" maxlength="250"></td>
<td><input size="20" type="text" name="ara" list="vsnamelist" value="{$npc['ara']}" maxlength="250"></td>
<td>包裹4</td>
<td><input size="20" type="text" name="itm4" value="{$npc['itm4']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm4" list="vsnamelist" value="{$npc['itm4']}" maxlength="250"></td>
</tr>
<tr>
<td>受伤</td>
......@@ -186,9 +186,9 @@
<td>杀人数</td>
<td><input size="20" type="text" name="killnum" value="{$npc['killnum']}" maxlength="20"></td>
<td>防具(足)</td>
<td><input size="20" type="text" name="arf" value="{$npc['arf']}" maxlength="250"></td>
<td><input size="20" type="text" name="arf" list="vsnamelist" value="{$npc['arf']}" maxlength="250"></td>
<td>包裹5</td>
<td><input size="20" type="text" name="itm5" value="{$npc['itm5']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm5" list="vsnamelist" value="{$npc['itm5']}" maxlength="250"></td>
</tr>
<tr>
<td>殴熟</td>
......@@ -226,9 +226,9 @@
<td>爆熟</td>
<td><input size="20" type="text" name="wd" value="{$npc['wd']}" maxlength="20"></td>
<td>饰品</td>
<td><input size="20" type="text" name="art" value="{$npc['art']}" maxlength="250"></td>
<td><input size="20" type="text" name="art" list="vsnamelist" value="{$npc['art']}" maxlength="250"></td>
<td>包裹6</td>
<td><input size="20" type="text" name="itm6" value="{$npc['itm6']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm6" list="vsnamelist" value="{$npc['itm6']}" maxlength="250"></td>
</tr>
<tr>
<td>灵熟</td>
......@@ -282,6 +282,11 @@
<td>社团参数集</td>
<td><textarea cols="20" rows="4" style="overflow:auto" name="str_clbpara">{$npc['str_clbpara']}</textarea></td>
</tr>
<datalist id="vsnamelist">
<!--{loop $temp_item_namelist $in}-->
<option value="$in">
<!--{/loop}-->
</datalist>
</table>
<input type="submit" value="修改NPC数值" onclick="$('command').value = 'submitedit'">
</form>
......
......@@ -26,9 +26,9 @@
<td>姓名</td>
<td>{$pc['name']}</td>
<td>武器</td>
<td><input size="20" type="text" name="wep" value="{$pc['wep']}" maxlength="250"></td>
<td><input size="20" type="text" name="wep" list="vsnamelist" value="{$pc['wep']}" maxlength="250"></td>
<td>包裹1</td>
<td><input size="20" type="text" name="itm1" value="{$pc['itm1']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm1" list="vsnamelist" value="{$pc['itm1']}" maxlength="250"></td>
</tr>
<tr>
<td>性别</td>
......@@ -66,9 +66,9 @@
<td>生命</td>
<td><input size="20" type="text" name="hp" value="{$pc['hp']}" maxlength="20"></td>
<td>防具(体)</td>
<td><input size="20" type="text" name="arb" value="{$pc['arb']}" maxlength="250"></td>
<td><input size="20" type="text" name="arb" list="vsnamelist" value="{$pc['arb']}" maxlength="250"></td>
<td>包裹2</td>
<td><input size="20" type="text" name="itm2" value="{$pc['itm2']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm2" list="vsnamelist" value="{$pc['itm2']}" maxlength="250"></td>
</tr>
<tr>
<td>最大生命</td>
......@@ -106,9 +106,9 @@
<td>基础防御</td>
<td><input size="20" type="text" name="def" value="{$pc['def']}" maxlength="20"></td>
<td>防具(头)</td>
<td><input size="20" type="text" name="arh" value="{$pc['arh']}" maxlength="250"></td>
<td><input size="20" type="text" name="arh" list="vsnamelist" value="{$pc['arh']}" maxlength="250"></td>
<td>包裹3</td>
<td><input size="20" type="text" name="itm3" value="{$pc['itm3']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm3" list="vsnamelist" value="{$pc['itm3']}" maxlength="250"></td>
</tr>
<tr>
<td>位置</td>
......@@ -146,9 +146,9 @@
<td>对手</td>
<td><input size="20" type="text" name="bid" value="{$pc['bid']}" maxlength="20"></td>
<td>防具(腕)</td>
<td><input size="20" type="text" name="ara" value="{$pc['ara']}" maxlength="250"></td>
<td><input size="20" type="text" name="ara" list="vsnamelist" value="{$pc['ara']}" maxlength="250"></td>
<td>包裹4</td>
<td><input size="20" type="text" name="itm4" value="{$pc['itm4']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm4" list="vsnamelist" value="{$pc['itm4']}" maxlength="250"></td>
</tr>
<tr>
<td>受伤</td>
......@@ -186,9 +186,9 @@
<td>杀人数</td>
<td><input size="20" type="text" name="killnum" value="{$pc['killnum']}" maxlength="20"></td>
<td>防具(足)</td>
<td><input size="20" type="text" name="arf" value="{$pc['arf']}" maxlength="250"></td>
<td><input size="20" type="text" name="arf" list="vsnamelist" value="{$pc['arf']}" maxlength="250"></td>
<td>包裹5</td>
<td><input size="20" type="text" name="itm5" value="{$pc['itm5']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm5" list="vsnamelist" value="{$pc['itm5']}" maxlength="250"></td>
</tr>
<tr>
<td>殴熟</td>
......@@ -226,9 +226,9 @@
<td>爆熟</td>
<td><input size="20" type="text" name="wd" value="{$pc['wd']}" maxlength="20"></td>
<td>饰品</td>
<td><input size="20" type="text" name="art" value="{$pc['art']}" maxlength="250"></td>
<td><input size="20" type="text" name="art" list="vsnamelist" value="{$pc['art']}" maxlength="250"></td>
<td>包裹6</td>
<td><input size="20" type="text" name="itm6" value="{$pc['itm6']}" maxlength="250"></td>
<td><input size="20" type="text" name="itm6" list="vsnamelist" value="{$pc['itm6']}" maxlength="250"></td>
</tr>
<tr>
<td>灵熟</td>
......@@ -290,6 +290,11 @@
<td>社团参数集</td>
<td><textarea cols="20" rows="4" style="overflow:auto" name="str_clbpara">{$pc['str_clbpara']}</textarea></td>
</tr>
<datalist id="vsnamelist">
<!--{loop $temp_item_namelist $in}-->
<option value="$in">
<!--{/loop}-->
</datalist>
</table>
<input type="submit" value="修改玩家数值" onclick="$('command').value = 'submitedit'">
</form>
......
想要从尸体上拾取什么?<br><br>
<input type="hidden" name="mode" value="corpse">
<!--{if $allow_destory_corpse && !in_array($w_type,$no_destory_corpse_type)}-->
<input type="radio" name="command" id="destory" value="destory" <!--{if !$w_money}-->checked<!--{/if}-->><a onclick=sl('destory'); href="javascript:void(0);" >销毁尸体</a><br>
<!--{elseif $club==20}-->
<!--{if $club==20}-->
<input type="radio" name="command" id="element_split" value="element_split" <!--{if !$w_money}-->checked<!--{/if}-->><a onclick=sl('element_split'); href="javascript:void(0);" >提炼元素</a><br>
<!--{elseif $allow_destory_corpse && !in_array($w_type,$no_destory_corpse_type)}-->
<input type="radio" name="command" id="destory" value="destory" <!--{if !$w_money}-->checked<!--{/if}-->><a onclick=sl('destory'); href="javascript:void(0);" >销毁尸体</a><br>
<!--{/if}-->
<!--{if $loot_depot_flag}-->
<input type="radio" name="command" id="loot_depot" value="loot_depot"><a onclick=sl('loot_depot'); href="javascript:void(0);" >转移安全箱权限</a><br>
......
......@@ -38,8 +38,15 @@ if($vnmode=='none')
// 格式化素材来源
foreach($cinfo['stuff'] as $sid => $snm)
{
include_once config('npc',$gamecfg);
include_once config('addnpc',$gamecfg);
include_once config('evonpc',$gamecfg);
$tooltipinfo = get_item_place($snm);
if(!empty($tooltipinfo)) $temp_carr[$cid]['stuff'][$sid] = "<span tooltip=\"".$tooltipinfo."\">".$snm."</span>";
if(!empty($tooltipinfo))
{
$temp_carr[$cid]['stuff'][$sid] = "<span tooltip=\"".$tooltipinfo."\">".$snm."</span>";
}
$tooltipinfo = '';
}
// 格式化属性
if(isset($cinfo['result'][4]) && is_array($cinfo['result'][4]))
......
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