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

Merge pull request #6 from hikawiier/waaagh

bug fix
parents d1d623ec 7b8930b9
...@@ -317,9 +317,11 @@ if($hp > 0){ ...@@ -317,9 +317,11 @@ if($hp > 0){
} }
if(count($e_mixlist)>0) if(count($e_mixlist)>0)
{ {
$er = ($lvl>=15 && $emitme_r && $change_emr==1) ? $emitme_r : NULL; //echo '【DEBUG】提交阶段:值系数'.$emitme_r.'上限系数:'.$emitme_max_r.'上限勾选状态:'.$change_emax.'值勾选状态:'.$change_emr.'<br>';
$emr = ($lvl>=5 && $emitme_max_r && $change_emax==1) ? $emitme_max_r : NULL; $er = ($lvl>=15 && $emitme_r && $change_emr>0) ? $emitme_r : NULL;
$emr = ($lvl>=5 && $emitme_max_r && $change_emax>0) ? $emitme_max_r : NULL;
include_once GAME_ROOT.'./include/game/elementmix.func.php'; include_once GAME_ROOT.'./include/game/elementmix.func.php';
//echo '【DEBUG】传入阶段:值系数'.$er.'上限系数:'.$emr.'<br>';
element_mix($e_mixlist,$emr,$er); element_mix($e_mixlist,$emr,$er);
} }
else else
......
...@@ -341,7 +341,6 @@ $mixinfo = array ...@@ -341,7 +341,6 @@ $mixinfo = array
array('class' => 'ocg', 'stuff' => array('救世星龙 -仮','☆十星认证☆','★神卡认证★'),'result' => array('『流天类星龙』 ★12','WC12',4000,'∞','mcrwZ'),), array('class' => 'ocg', 'stuff' => array('救世星龙 -仮','☆十星认证☆','★神卡认证★'),'result' => array('『流天类星龙』 ★12','WC12',4000,'∞','mcrwZ'),),
array('class' => 'hidden', 'stuff' => array('红宝石方块','蓝宝石方块','绿宝石方块','非法枪械部件'),'result' => array('『宝石光束炮-试作型』','WG',1800,144,'ndo'),), array('class' => 'hidden', 'stuff' => array('红宝石方块','蓝宝石方块','绿宝石方块','非法枪械部件'),'result' => array('『宝石光束炮-试作型』','WG',1800,144,'ndo'),),
......
...@@ -1024,16 +1024,12 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推 ...@@ -1024,16 +1024,12 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推
$iteminfo_tooltip = Array $iteminfo_tooltip = Array
( (
'男生校服' => Array('class'=>'spitem2', 'title'=>"总之就是校服了……其实……我也没上过学……",),//DEBUG用
'女生校服' => Array('class'=>'spitem', 'title'=>"总之就是校服了……其实……我也没上过学……",),//DEBUG用
'魔法蜂针' => Array('class'=>'spitem', 'title'=>"这个武器一定会对敌人造成350点伤害,但对防御非常高的敌人除外。",), '魔法蜂针' => Array('class'=>'spitem', 'title'=>"这个武器一定会对敌人造成350点伤害,但对防御非常高的敌人除外。",),
'临摹装置' => Array('class'=>'spitem', 'title'=>"这个武器在主动攻击对手时,将可以复制对手的武器。注意:对手武器数值太高时会失败,后果自负!",), '临摹装置' => Array('class'=>'spitem', 'title'=>"这个武器在主动攻击对手时,将可以复制对手的武器。注意:对手武器数值太高时会失败,后果自负!",),
); );
$itemkinfo_tooltip = Array $itemkinfo_tooltip = Array
( (
'WG' => Array('class'=>'spitem','title'=>"这可能是一把远程武器,但也不一定是。这取决于你怎么理解远程武器。",),//DEBUG用
'WP' => Array('class'=>'spitem',),//DEBUG用
'AA' => Array('class'=>'spitem', 'title'=>"可以将一定数量的攻击次数伤害变为0,那之后失效",), 'AA' => Array('class'=>'spitem', 'title'=>"可以将一定数量的攻击次数伤害变为0,那之后失效",),
'AB' => Array('class'=>'spitem', 'title'=>"装备后,对补给品使用毒药下毒变为为其解毒。",), 'AB' => Array('class'=>'spitem', 'title'=>"装备后,对补给品使用毒药下毒变为为其解毒。",),
'XA' => Array('class'=>'lime', 'title'=>"集齐三个同颜色的不同名代码残片,来合成单人脱出结局道具吧!",), 'XA' => Array('class'=>'lime', 'title'=>"集齐三个同颜色的不同名代码残片,来合成单人脱出结局道具吧!",),
...@@ -1044,8 +1040,8 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推 ...@@ -1044,8 +1040,8 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推
$itemspkinfo_tooltip = Array $itemspkinfo_tooltip = Array
( (
'A' => Array('class' => 'red', 'title' => "高概率将殴斩射投爆灵六系对你的伤害减半。",),//测试用 'A' => Array('title' => "高概率将殴斩射投爆灵六系对你的伤害减半。",),//测试用
'a' => Array('class' => 'clan', 'title' => "高概率将毒火冻电乱音以及爆炸对你的伤害减半。并避免异常状态。",),//测试用 'a' => Array('title' => "高概率将毒火冻电乱音以及爆炸对你的伤害减半。并避免异常状态。",),//测试用
'B' => Array('title' => "极高概率将全部物理伤害变为1。",), 'B' => Array('title' => "极高概率将全部物理伤害变为1。",),
'b' => Array('title' => "极高概率将全部属性伤害变为1。",), 'b' => Array('title' => "极高概率将全部属性伤害变为1。",),
'C' => Array('title' => "高概率将投系对你的物理伤害减半。",), 'C' => Array('title' => "高概率将投系对你的物理伤害减半。",),
......
...@@ -25,11 +25,11 @@ foreach ($npcinfo as $i => $npcs) ...@@ -25,11 +25,11 @@ foreach ($npcinfo as $i => $npcs)
{ {
foreach (Array('arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value) foreach (Array('arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value)
{ {
if($npcinfo[$i][$value]) $npcinfo[$i][$value] = parse_itm_desc($npcinfo[$i][$value]); if(isset($npcinfo[$i][$value])) $npcinfo[$i][$value] = parse_itm_desc($npcinfo[$i][$value],'m');
} }
foreach (Array('arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $value) foreach (Array('arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $value)
{ {
if($npcinfo[$i][$value]) if(isset($npcinfo[$i][$value]))
{ {
foreach($iteminfo as $info_key => $info_value) foreach($iteminfo as $info_key => $info_value)
{ {
...@@ -42,9 +42,8 @@ foreach ($npcinfo as $i => $npcs) ...@@ -42,9 +42,8 @@ foreach ($npcinfo as $i => $npcs)
} }
foreach(Array('arbsk','arhsk','arask','arfsk','artsk','itmsk0','itmsk1','itmsk2','itmsk3','itmsk4','itmsk5','itmsk6') as $value) foreach(Array('arbsk','arhsk','arask','arfsk','artsk','itmsk0','itmsk1','itmsk2','itmsk3','itmsk4','itmsk5','itmsk6') as $value)
{ {
if($npcinfo[$i][$value]) if(isset($npcinfo[$i][$value]))
{ {
$npcinfo[$i][$value][$value.'_words'] = '';
$tmpsk = get_itmsk_array($npcinfo[$i][$value]); $tmpsk = get_itmsk_array($npcinfo[$i][$value]);
foreach($tmpsk as $sk) foreach($tmpsk as $sk)
{ {
...@@ -63,11 +62,11 @@ foreach ($npcinfo as $i => $npcs) ...@@ -63,11 +62,11 @@ foreach ($npcinfo as $i => $npcs)
{ {
foreach(Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value) foreach(Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value)
{ {
if($npcinfo[$i]['sub'][$n][$value]) $npcinfo[$i]['sub'][$n][$value] = parse_itm_desc($npcinfo[$i]['sub'][$n][$value]); if(isset($npcinfo[$i]['sub'][$n][$value])) $npcinfo[$i]['sub'][$n][$value] = parse_itm_desc($npcinfo[$i]['sub'][$n][$value],'m');
} }
foreach(Array('wepk','arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $value) foreach(Array('wepk','arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $value)
{ {
if($npcinfo[$i]['sub'][$n][$value]) if(isset($npcinfo[$i]['sub'][$n][$value]))
{ {
foreach($iteminfo as $info_key => $info_value) foreach($iteminfo as $info_key => $info_value)
{ {
...@@ -80,9 +79,8 @@ foreach ($npcinfo as $i => $npcs) ...@@ -80,9 +79,8 @@ foreach ($npcinfo as $i => $npcs)
} }
foreach(Array('wepsk','arbsk','arhsk','arask','arfsk','artsk','itmsk0','itmsk1','itmsk2','itmsk3','itmsk4','itmsk5','itmsk6') as $value) foreach(Array('wepsk','arbsk','arhsk','arask','arfsk','artsk','itmsk0','itmsk1','itmsk2','itmsk3','itmsk4','itmsk5','itmsk6') as $value)
{ {
if($npcinfo[$i]['sub'][$n][$value]) if(isset($npcinfo[$i]['sub'][$n][$value]))
{ {
$npcinfo[$i]['sub'][$n][$value.'_words'] = '';
$tmpsk = get_itmsk_array($npcinfo[$i]['sub'][$n][$value]); $tmpsk = get_itmsk_array($npcinfo[$i]['sub'][$n][$value]);
foreach($tmpsk as $sk) foreach($tmpsk as $sk)
{ {
...@@ -126,7 +124,7 @@ if(filemtime($mixfile) > filemtime($writefile) || filemtime($shopfile) > filemti ...@@ -126,7 +124,7 @@ if(filemtime($mixfile) > filemtime($writefile) || filemtime($shopfile) > filemti
foreach($mixinfo as $mix){ foreach($mixinfo as $mix){
if($mix['class'] !== 'hidden'){ if($mix['class'] !== 'hidden'){
//名字 //名字
$mix['result'][0] = parse_itm_desc($mix['result'][0]); $mix['result'][0] = parse_itm_desc($mix['result'][0],'m');
//类别 //类别
foreach($iteminfo as $info_key => $info_value){ foreach($iteminfo as $info_key => $info_value){
if(strpos($mix['result'][1],$info_key)===0){ if(strpos($mix['result'][1],$info_key)===0){
......
...@@ -35,29 +35,30 @@ function get_itmsk_strlen($sk_value,$max_length=5) ...@@ -35,29 +35,30 @@ function get_itmsk_strlen($sk_value,$max_length=5)
return $ret; return $ret;
} }
//为显示在主界面、尸体发现界面、游戏帮助界面的道具名、道具类、道具属性添加额外描述 //为显示在主界面、尸体发现界面、游戏帮助界面的道具名、道具类、道具属性添加额外描述
function parse_itm_desc($n,$t='m') function parse_itm_desc($n,$t)
{ {
global $iteminfo,$itemspkinfo; global $iteminfo,$itemspkinfo;
global $iteminfo_tooltip,$itemkinfo_tooltip,$itemspkinfo_tooltip; global $iteminfo_tooltip,$itemkinfo_tooltip,$itemspkinfo_tooltip;
$s = "<span "; unset($p1); unset($p2); $s = "<span "; $p1 = ''; $p2 = ''; $ret = '';
switch($t) switch($t)
{ {
//处理类别 //处理类别
case $t=='k': case $t=='k':
if($itemkinfo_tooltip[$n]['title']) $p1 = "title=\"".$itemkinfo_tooltip[$n]['title']."\""; if(isset($itemkinfo_tooltip[$n]['title'])) $p1 = "title=\"".$itemkinfo_tooltip[$n]['title']."\"";
if($itemkinfo_tooltip[$n]['class']) $p2 = "class=\"".$itemkinfo_tooltip[$n]['class']."\""; if(isset($itemkinfo_tooltip[$n]['class'])) $p2 = "class=\"".$itemkinfo_tooltip[$n]['class']."\"";
$n = $iteminfo[$n]; $n = $iteminfo[$n];
break; break;
//处理属性 //处理属性
case $t=='sk': case $t=='sk':
if($itemspkinfo_tooltip[$n]['title']) $p1 = "title=\"".$itemspkinfo_tooltip[$n]['title']."\""; if(isset($itemspkinfo_tooltip[$n]['title'])) $p1 = "title=\"".$itemspkinfo_tooltip[$n]['title']."\"";
if($itemspkinfo_tooltip[$n]['class']) $p2 = "class=\"".$itemspkinfo_tooltip[$n]['class']."\""; if(isset($itemspkinfo_tooltip[$n]['class'])) $p2 = "class=\"".$itemspkinfo_tooltip[$n]['class']."\"";
$n = $itemspkinfo[$n]; $n = $itemspkinfo[$n];
break; break;
//处理名字 //处理名字
default: case $t=='m':
if($iteminfo_tooltip[$n]['title']) $p1 = "title=\"".$iteminfo_tooltip[$n]['title']."\""; if(isset($iteminfo_tooltip[$n]['title'])) $p1 = "title=\"".$iteminfo_tooltip[$n]['title']."\"";
if($iteminfo_tooltip[$n]['class']) $p2 = "class=\"".$iteminfo_tooltip[$n]['class']."\""; if(isset($iteminfo_tooltip[$n]['class'])) $p2 = "class=\"".$iteminfo_tooltip[$n]['class']."\"";
break;
} }
$p3 = " >"; $e = "</span>"; $p3 = " >"; $e = "</span>";
$ret = $s.$p1.$p2.$p3.$n.$e; $ret = $s.$p1.$p2.$p3.$n.$e;
...@@ -97,7 +98,7 @@ function init_profile(){ ...@@ -97,7 +98,7 @@ function init_profile(){
foreach (Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value) foreach (Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $value)
{ {
${$value} = parse_itm_desc(${$value}); ${$value} = parse_itm_desc(${$value},'m');
} }
foreach (Array('wepk','arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $k_value) { foreach (Array('wepk','arbk','arhk','arak','arfk','artk','itmk0','itmk1','itmk2','itmk3','itmk4','itmk5','itmk6') as $k_value) {
......
...@@ -114,7 +114,7 @@ function findcorpse(&$w_pdata){ ...@@ -114,7 +114,7 @@ function findcorpse(&$w_pdata){
$log .= '你发现了<span class="red">'.$w_name.'</span>的尸体!<br>'; $log .= '你发现了<span class="red">'.$w_name.'</span>的尸体!<br>';
foreach (Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $w_value) foreach (Array('wep','arb','arh','ara','arf','art','itm0','itm1','itm2','itm3','itm4','itm5','itm6') as $w_value)
{ {
${$w_value} = parse_itm_desc(${$w_value}); ${$w_value} = parse_itm_desc(${$w_value},'m');
} }
foreach (Array('w_wepk','w_arbk','w_arhk','w_arak','w_arfk','w_artk','w_itmk0','w_itmk1','w_itmk2','w_itmk3','w_itmk4','w_itmk5','w_itmk6') as $w_k_value) { foreach (Array('w_wepk','w_arbk','w_arhk','w_arak','w_arfk','w_artk','w_itmk0','w_itmk1','w_itmk2','w_itmk3','w_itmk4','w_itmk5','w_itmk6') as $w_k_value) {
if(${$w_k_value}){ if(${$w_k_value}){
......
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
$ev_arr = Array(); $ev_arr = Array();
//获取缓存文件 //获取缓存文件
$cache_file = GAME_ROOT."./gamedata/bak/elementmix.bak"; $cache_file = GAME_ROOT."./gamedata/bak/elementmix.bak";
if(!file_exists($cache_file)) create_random_emix_list(); if(!file_exists($cache_file)) create_emix_cache_file();
$flip_etags_arr = openfile_decode($cache_file); $flip_etags_arr = openfile_decode($cache_file);
//开始计算元素价值 //开始计算元素价值
foreach($iarr as $i => $t) foreach($iarr as $i => $t)
...@@ -393,9 +393,11 @@ ...@@ -393,9 +393,11 @@
//自定义效/耐比的阈值:2%~98% //自定义效/耐比的阈值:2%~98%
$eitme_r = isset($eitme_r) ? min(98,max(2,$eitme_r)) : rand(2,98); $eitme_r = isset($eitme_r) ? min(98,max(2,$eitme_r)) : rand(2,98);
$eitme_r /= 100; $eitme_r /= 100;
//echo '【DEBUG】初始化阶段,道具效果系数:'.$eitme_r.'<br>';
//自定义最大效果的阈值:1%~100% //自定义最大效果的阈值:1%~100%
$eitme_max_r = isset($eitme_max_r) ? min(100,max(1,$eitme_max_r)) : 100; $eitme_max_r = isset($eitme_max_r) ? min(100,max(1,$eitme_max_r)) : 100;
$eitme_max_r /= 100; $eitme_max_r /= 100;
//echo '【DEBUG】初始化阶段,道具效果上限系数:'.$eitme_max_r.'<br>';
//对参与合成的元素按投入数量降序排序,筛出投入数量最多的元素作为主元素 //对参与合成的元素按投入数量降序排序,筛出投入数量最多的元素作为主元素
arsort($emlist); arsort($emlist);
$log.="从口袋中抓出了:<br>"; $log.="从口袋中抓出了:<br>";
...@@ -551,6 +553,7 @@ ...@@ -551,6 +553,7 @@
//过滤掉道具的子类别 //过滤掉道具的子类别
$tmp_kind = filter_itemkind($emix_itmk,1); $tmp_kind = filter_itemkind($emix_itmk,1);
if(strpos($tmp_kind,'D')===0) $tmp_kind = 'D'; //TODO:提供了单个部位的防具词组后删掉这一句 if(strpos($tmp_kind,'D')===0) $tmp_kind = 'D'; //TODO:提供了单个部位的防具词组后删掉这一句
if(strpos($tmp_kind,'H')===0) $tmp_kind = 'H'; //TODO:提供了单独的道具类别词组后删掉这一句
//复合武器 //复合武器
if(is_array($tmp_kind)) if(is_array($tmp_kind))
{ {
...@@ -613,6 +616,7 @@ ...@@ -613,6 +616,7 @@
$max_enum = get_emix_itme_max(); $max_enum = get_emix_itme_max();
//通过自定义上限系数修正 //通过自定义上限系数修正
$max_enum *= $emr; $max_enum *= $emr;
//echo '【DEBUG】获取实际上限阶段,修正系数:'.$emr.'理论上限:'.$max_enum.'<br>';
//判断投入数量有没有超过理论上限 //判断投入数量有没有超过理论上限
$max_cost = min(round($max_enum),$total_enum); $max_cost = min(round($max_enum),$total_enum);
return $max_cost; return $max_cost;
...@@ -641,6 +645,7 @@ ...@@ -641,6 +645,7 @@
return $r_emix_list[$rid]['result']; return $r_emix_list[$rid]['result'];
} }
} }
return;
} }
//获取元素主特征 //获取元素主特征
...@@ -997,6 +1002,16 @@ ...@@ -997,6 +1002,16 @@
function filter_itemkind($kind,$check_dualwep=0) function filter_itemkind($kind,$check_dualwep=0)
{ {
global $iteminfo; global $iteminfo;
//将复合武器拆成两把武器
if($check_dualwep && strlen($kind)==3)
{
$w1 = 'W'.substr($kind,1,1);
$w2 = 'W'.substr($kind,2,1);
$kind = Array($w1,$w2);
return $kind;
}
foreach($iteminfo as $info_key => $info_value) foreach($iteminfo as $info_key => $info_value)
{ {
if(strpos($kind,$info_key)===0) if(strpos($kind,$info_key)===0)
......
...@@ -1767,10 +1767,10 @@ function itemuse($itmn) { ...@@ -1767,10 +1767,10 @@ function itemuse($itmn) {
你赶忙移开视线,但小人们已经发现了你。<br> 你赶忙移开视线,但小人们已经发现了你。<br>
从广场再到远处的平原上,数以十计、百计、千计、万计, 从广场再到远处的平原上,数以十计、百计、千计、万计,
一眼望不到头的小人们从你视野的尽头涌出,挤向你所在的方向。<br> 一眼望不到头的小人们从你视野的尽头涌出,挤向你所在的方向。<br>
就在此时,你突然感到手心一烫,下意识地便将手里的卡片丢了出去。<br> 你一时慌乱,下意识地便将手里的卡片丢了出去。<br>
眼前亦真亦幻的怪异景象登时消失不见了。<br> 眼前亦真亦幻的怪异景象登时消失不见了。<br>
<br> <br>
你低下头,发现卡片已经被烧掉一半了,<br> 你低下头,发现脚下的卡片已经被烧掉了一半,<br>
在被火焰烧灼得卷曲起的边缘处,漏出了某样东西的一角。<br> 在被火焰烧灼得卷曲起的边缘处,漏出了某样东西的一角。<br>
你捡起卡片,甩了甩,便看到一个足足有卡片五倍甚至四倍大的东西从里面掉了出来!<br>"; 你捡起卡片,甩了甩,便看到一个足足有卡片五倍甚至四倍大的东西从里面掉了出来!<br>";
$log.="<br>获得了<span class='sparkle'>{$sparkle}元素口袋{$sparkle}</span>!<br>"; $log.="<br>获得了<span class='sparkle'>{$sparkle}元素口袋{$sparkle}</span>!<br>";
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<br> <br>
<!--5级后解锁:最大生成效果调节--> <!--5级后解锁:最大生成效果调节-->
<!--{if $lvl>=5}--> <!--{if $lvl>=5}-->
<span class="yellow">&nbsp;&nbsp;【节制】</span><span class="grey">(勾选启用)</span><input type="checkbox" id="change_emr" name="change_emr" value="-1"><br> <span class="yellow">&nbsp;&nbsp;【节制】</span><span class="grey">(勾选启用)</span><input type="checkbox" id="change_emax" name="change_emax" value="-1"><br>
&nbsp; › 你可以主动限制元素合成结果的<span class="lime">效耐上限</span><br> &nbsp; › 你可以主动限制元素合成结果的<span class="lime">效耐上限</span><br>
&nbsp; › 当前:生成道具的效果+耐久上限<span class="yellow"><span id="s_emitme_max" name="s_emitme_max">$emax</span></span><br> &nbsp; › 当前:生成道具的效果+耐久上限<span class="yellow"><span id="s_emitme_max" name="s_emitme_max">$emax</span></span><br>
<input type="range" class="range" step="0.1" style="width:220px" id="emitme_max_r" name="emitme_max_r" min="1" max="100" value="100" onchange="getEmitmeR(1)"><br> <input type="range" class="range" step="0.1" style="width:220px" id="emitme_max_r" name="emitme_max_r" min="1" max="100" value="100" onchange="getEmitmeR(1)"><br>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<!--{/if}--> <!--{/if}-->
<!--15级后解锁:效果、耐久比例调节--> <!--15级后解锁:效果、耐久比例调节-->
<!--{if $lvl>=15}--> <!--{if $lvl>=15}-->
<span class="yellow">&nbsp;&nbsp;【预言】</span><span class="grey">(勾选启用)</span><input type="checkbox" id="change_emax" name="change_emax" value="-1"><br> <span class="yellow">&nbsp;&nbsp;【预言】</span><span class="grey">(勾选启用)</span><input type="checkbox" id="change_emr" name="change_emr" value="-1"><br>
&nbsp; › 你能够干涉元素合成结果的<span class="lime">效耐占比</span><br> &nbsp; › 你能够干涉元素合成结果的<span class="lime">效耐占比</span><br>
&nbsp; › 当前:效果占比<span class="yellow"><span id="s_emitme_r" name="s_emitme_r">55</span>%】</span>&nbsp;耐久占比<span class="yellow"><span id="s_emitms_r" name="s_emitms_r">45</span>%】</span><br> &nbsp; › 当前:效果占比<span class="yellow"><span id="s_emitme_r" name="s_emitme_r">55</span>%】</span>&nbsp;耐久占比<span class="yellow"><span id="s_emitms_r" name="s_emitms_r">45</span>%】</span><br>
&nbsp; <span id="sr_warning" name="sr_warning" class="red"></span> &nbsp; <span id="sr_warning" name="sr_warning" class="red"></span>
......
This diff is collapsed.
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
武器名称 武器名称
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['wep']/$npcinfo[$kind]['sub'][$key]['wepk']/$npcinfo[$kind]['sub'][$key]['wepe']/$npcinfo[$kind]['sub'][$key]['weps']/$npcinfo[$kind]['sub'][$key]['wepsk_words'] $npcinfo[$kind]['sub'][$key]['wep']/$npcinfo[$kind]['sub'][$key]['wepk']/$npcinfo[$kind]['sub'][$key]['wepe']/$npcinfo[$kind]['sub'][$key]['weps']<!--{if isset($npcinfo[$kind]['sub'][$key]['wepsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['wepsk_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -232,9 +232,9 @@ ...@@ -232,9 +232,9 @@
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
<!--{if isset($npcinfo[$kind]['sub'][$key]['arb'])}--> <!--{if isset($npcinfo[$kind]['sub'][$key]['arb'])}-->
$npcinfo[$kind]['sub'][$key]['arb']/$npcinfo[$kind]['sub'][$key]['arbe']/$npcinfo[$kind]['sub'][$key]['arbs']/$npcinfo[$kind]['sub'][$key]['arbsk_words'] $npcinfo[$kind]['sub'][$key]['arb']/$npcinfo[$kind]['sub'][$key]['arbe']/$npcinfo[$kind]['sub'][$key]['arbs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arbsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arbsk_words']<!--{/if}-->
<!--{else}--> <!--{else}-->
$npcinfo[$kind]['arb']/$npcinfo[$kind]['arbe']/$npcinfo[$kind]['arbs']/$npcinfo[$kind]['arbsk_words'] $npcinfo[$kind]['arb']/$npcinfo[$kind]['arbe']/$npcinfo[$kind]['arbs']<!--{if isset($npcinfo[$kind]['arbsk_words'])}-->/$npcinfo[$kind]['arbsk_words']<!--{/if}-->
<!--{/if}--> <!--{/if}-->
</td> </td>
</tr> </tr>
...@@ -244,9 +244,9 @@ ...@@ -244,9 +244,9 @@
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
<!--{if isset($npcinfo[$kind]['sub'][$key]['arh'])}--> <!--{if isset($npcinfo[$kind]['sub'][$key]['arh'])}-->
$npcinfo[$kind]['sub'][$key]['arh']/$npcinfo[$kind]['sub'][$key]['arhe']/$npcinfo[$kind]['sub'][$key]['arhs']/$npcinfo[$kind]['sub'][$key]['arhsk_words'] $npcinfo[$kind]['sub'][$key]['arh']/$npcinfo[$kind]['sub'][$key]['arhe']/$npcinfo[$kind]['sub'][$key]['arhs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arhsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arhsk_words']<!--{/if}-->
<!--{else}--> <!--{else}-->
$npcinfo[$kind]['arh']/$npcinfo[$kind]['arhe']/$npcinfo[$kind]['arhs']/$npcinfo[$kind]['sub'][$key]['arhsk_words'] $npcinfo[$kind]['arh']/$npcinfo[$kind]['arhe']/$npcinfo[$kind]['arhs']<!--{if isset($npcinfo[$kind]['arhsk_words'])}-->/$npcinfo[$kind]['arhsk_words']<!--{/if}-->
<!--{/if}--> <!--{/if}-->
</td> </td>
</tr> </tr>
...@@ -256,9 +256,9 @@ ...@@ -256,9 +256,9 @@
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
<!--{if isset($npcinfo[$kind]['sub'][$key]['ara'])}--> <!--{if isset($npcinfo[$kind]['sub'][$key]['ara'])}-->
$npcinfo[$kind]['sub'][$key]['ara']/$npcinfo[$kind]['sub'][$key]['arae']/$npcinfo[$kind]['sub'][$key]['aras']/$npcinfo[$kind]['sub'][$key]['arask_words'] $npcinfo[$kind]['sub'][$key]['ara']/$npcinfo[$kind]['sub'][$key]['arae']/$npcinfo[$kind]['sub'][$key]['aras']<!--{if isset($npcinfo[$kind]['sub'][$key]['arask_words'])}-->/$npcinfo[$kind]['sub'][$key]['arask_words']<!--{/if}-->
<!--{else}--> <!--{else}-->
$npcinfo[$kind]['ara']/$npcinfo[$kind]['arae']/$npcinfo[$kind]['aras']/$npcinfo[$kind]['arask_words'] $npcinfo[$kind]['ara']/$npcinfo[$kind]['arae']/$npcinfo[$kind]['aras']<!--{if isset($npcinfo[$kind]['arask_words'])}-->/$npcinfo[$kind]['arask_words']<!--{/if}-->
<!--{/if}--> <!--{/if}-->
</td> </td>
</tr> </tr>
...@@ -268,9 +268,9 @@ ...@@ -268,9 +268,9 @@
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
<!--{if isset($npcinfo[$kind]['sub'][$key]['arf'])}--> <!--{if isset($npcinfo[$kind]['sub'][$key]['arf'])}-->
$npcinfo[$kind]['sub'][$key]['arf']/$npcinfo[$kind]['sub'][$key]['arfe']/$npcinfo[$kind]['sub'][$key]['arfs']/$npcinfo[$kind]['sub'][$key]['arfsk_words'] $npcinfo[$kind]['sub'][$key]['arf']/$npcinfo[$kind]['sub'][$key]['arfe']/$npcinfo[$kind]['sub'][$key]['arfs']<!--{if isset($npcinfo[$kind]['sub'][$key]['arfsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['arfsk_words']<!--{/if}-->
<!--{else}--> <!--{else}-->
$npcinfo[$kind]['arf']/$npcinfo[$kind]['arfe']/$npcinfo[$kind]['arfs']/$npcinfo[$kind]['arfsk_words'] $npcinfo[$kind]['arf']/$npcinfo[$kind]['arfe']/$npcinfo[$kind]['arfs']<!--{if isset($npcinfo[$kind]['arfsk_words'])}-->/$npcinfo[$kind]['arfsk_words']<!--{/if}-->
<!--{/if}--> <!--{/if}-->
</td> </td>
</tr> </tr>
...@@ -280,9 +280,9 @@ ...@@ -280,9 +280,9 @@
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
<!--{if isset($npcinfo[$kind]['sub'][$key]['art'])}--> <!--{if isset($npcinfo[$kind]['sub'][$key]['art'])}-->
$npcinfo[$kind]['sub'][$key]['art']/$npcinfo[$kind]['sub'][$key]['artk']/$npcinfo[$kind]['sub'][$key]['artsk_words'] $npcinfo[$kind]['sub'][$key]['art']/$npcinfo[$kind]['sub'][$key]['artk']<!--{if isset($npcinfo[$kind]['sub'][$key]['artsk_words'])}-->/$npcinfo[$kind]['sub'][$key]['artsk_words']<!--{/if}-->
<!--{else}--> <!--{else}-->
$npcinfo[$kind]['art']/$npcinfo[$kind]['artk']/$npcinfo[$kind]['artsk_words'] $npcinfo[$kind]['art']/$npcinfo[$kind]['artk']<!--{if isset($npcinfo[$kind]['artsk_words'])}-->/$npcinfo[$kind]['artsk_words']<!--{/if}-->
<!--{/if}--> <!--{/if}-->
</td> </td>
</tr> </tr>
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
掉落物品 掉落物品
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['sub'][$key]['itm'.$id]/$npcinfo[$kind]['sub'][$key]['itmk'.$id]/$npcinfo[$kind]['sub'][$key]['itme'.$id]/$npcinfo[$kind]['sub'][$key]['itms'.$id]/$npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words'] $npcinfo[$kind]['sub'][$key]['itm'.$id]/$npcinfo[$kind]['sub'][$key]['itmk'.$id]/$npcinfo[$kind]['sub'][$key]['itme'.$id]/$npcinfo[$kind]['sub'][$key]['itms'.$id]<!--{if isset($npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words'])}-->/$npcinfo[$kind]['sub'][$key]['itmsk'.$id.'_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<!--{elseif isset($npcinfo[$kind]['itm'.$id])}--> <!--{elseif isset($npcinfo[$kind]['itm'.$id])}-->
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
掉落物品 掉落物品
</td> </td>
<td width=505px align="center" class="b3"> <td width=505px align="center" class="b3">
$npcinfo[$kind]['itm'.$id]/$npcinfo[$kind]['itmk'.$id]/$npcinfo[$kind]['itme'.$id]/$npcinfo[$kind]['itms'.$id]/$npcinfo[$kind]['itmsk'.$id.'_words'] $npcinfo[$kind]['itm'.$id]/$npcinfo[$kind]['itmk'.$id]/$npcinfo[$kind]['itme'.$id]/$npcinfo[$kind]['itms'.$id]<!--{if isset($npcinfo[$kind]['itmsk'.$id.'_words'])}-->/$npcinfo[$kind]['itmsk'.$id.'_words']<!--{/if}-->
</td> </td>
</tr> </tr>
<!--{/if}--> <!--{/if}-->
......
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