Commit c36a0718 authored by hisuinohoshi's avatar hisuinohoshi

horizon phase o.21

zhang lang bie bu chu lai
parent 9c5b98df
This diff is collapsed.
......@@ -118,6 +118,7 @@ $mixinfo = array
array('class' => 'item', 'stuff' => array('手机','笔记本电脑'),'result' => array('移动PC','EE',1,1,),),
array('class' => 'item', 'stuff' => array('高压线圈','原型武器G','原型武器C','某种机械设备'),'result' => array('电磁发射装置','X',1,1,''),),
//array('class' => 'item', 'stuff' => array('风见 幽香的ID卡','坂持 金发的ID卡','御坂 美琴的ID卡'),'result' => array('游戏解除钥匙','Y',1,1,),),
array('class' => 'item', 'stuff' => array('数据……碎片','全息幻象的自律回路'),'result' => array('调制解调器','Y',1,1,''),),
array('class' => 'item', 'stuff' => array('社员专用的ID卡','社员专用的ID卡','社员专用的ID卡'),'result' => array('游戏解除钥匙','Y',1,1,'v'),),
array('class' => 'item', 'stuff' => array('冰炎钥匙·炎','冰炎钥匙·冰'),'result' => array('游戏解除钥匙','Y',1,1,'Zv'),),
array('class' => 'item', 'stuff' => array('★荆棘式电子地雷★','★阔剑地雷★','★全图不唯一的野生巨大香蕉★'),'result' => array('★一发逆转神话★','TNc',1,1,'x'),),
......
......@@ -1289,6 +1289,7 @@
8 => array
(
'name' => 'Yoshiko-G',
'horizon' => 1,
'gd' => 'f',
'def' => 30250,
'icon' => 4,
......@@ -1310,13 +1311,14 @@
'skill' => 600,
'wep' => '光翼型近接支援残酷戦闘機',
'wepk' => 'WG',
'wepe' => 500,
'wepe' => 5000,
'weps' => 999,
'wepsk' => 'nre',
),
9 => array
(
'name' => 'lemon',
'horizon' => 1,
'gd' => 'r',
'icon' => 0,
'club' => 98,
......@@ -1481,6 +1483,7 @@
1 => array
(
'name' => '星莲船四面BOSS',
'horizon' => 1,
'gd' => 'm',
'icon' => 4,
'club' => 10,
......
......@@ -5,7 +5,7 @@
}
global $can_lootdepot_type;
//个人仓库最多可以储存的道具数量 0=不限制
$max_saveitem_num = 0;
$max_saveitem_num = 6;
//储存每件道具的手续费
$saveitem_cost = 20;
//取出道具的手续费
......
......@@ -1641,14 +1641,14 @@ function itemuse($itmn,&$data=NULL) {
include_once GAME_ROOT . './include/system.func.php';
$log .= '嗯……?只有碎片也能用吗?<br>好像将一小部分NPC部署进了游戏内……<br>';
//思念体 4*3
addnpc ( 2, 0, 4);
addnpc ( 2, 1, 4);
addnpc ( 2, 2, 4);
addnpc ( 2, 3, 4);
addnpc ( 2, 4, 4);
addnpc ( 2, 5, 4);
addnpc ( 2, 6, 4);
addnpc ( 2, 7, 4);
addnpc ( 2, 0, 2);
addnpc ( 2, 1, 2);
addnpc ( 2, 2, 2);
addnpc ( 2, 3, 2);
addnpc ( 2, 4, 2);
addnpc ( 2, 5, 2);
addnpc ( 2, 6, 2);
addnpc ( 2, 7, 2);
addnews ($now , 'key0', $name,$nick);
$itms --;
if($itms <= 0) destory_single_item($data,$itmn,1);
......@@ -2239,6 +2239,26 @@ function itemuse($itmn,&$data=NULL) {
$log .="宝石在你的手上发出异样的光芒,似乎有个奇怪的女声在你耳边说道<span class=\"yellow\">\"我是从天界来的凯丽\"</span>.";
}
return;
} elseif ($itm == '调制解调器'){
if(!empty($gamevars['apis']))
{
$log .= '你将这件长得很像猫的东西放在了地上……目送它慢悠悠地爬走了。<br>';
if($gamevars['api'] < $gamevars['apis'])
{
$gamevars['api']++;
save_gameinfo();
$log .= '<span class="yellow">好像有什么东西恢复了!</span><br>';
}
else
{
$log .= '<span class="yellow">但是什么也没有发生!</span><br>';
}
$itms--;
}
else
{
$log .= '这件长得很像猫的东西该怎么用呢?<br>';
}
} elseif ($itm == '水果刀') {
$flag = false;
......
......@@ -835,11 +835,13 @@
function calculate_rest_upsp($rtime,&$pa)
{
global $sleep_time,$db,$tablepre,$log;
# 治疗姿态下恢复速率变为3倍
if($pa['pose'] == 5) $rtime *= 3;
$upsp = round ($pa['msp'] * $rtime / $sleep_time / 100 );
# 灵子姿态下,恢复速率受种火数量加成
if($pa['pose'] == 8 && $pa['sp'] < $pa['msp'])
# 灵子视界下,恢复速率受种火数量加成
if($pa['horizon'] && $pa['sp'] < $pa['msp'])
{
$result = $db->query("SELECT pid FROM {$tablepre}players WHERE type=92 AND pls={$pa['pls']} AND hp>0 ");
$nums = $db->num_rows($result);
......@@ -857,11 +859,9 @@
# 治疗姿态下恢复速率变为3倍
if($pa['pose'] == 5) $rtime *= 3;
$uphp = round ($pa['mhp'] * $rtime / $heal_time / 100 );
/*if (strpos ($pa['inf'], 'b' ) !== false) {
$uphp = round ( $uphp / 2 );
}*/
# 灵子姿态下,恢复速率受种火数量加成
if($pa['pose'] == 8 && $pa['hp'] < $pa['mhp'])
# 灵子视界下,恢复速率受种火数量加成
if($pa['horizon'] && $pa['hp'] < $pa['mhp'])
{
$result = $db->query("SELECT pid FROM {$tablepre}players WHERE type=92 AND pls={$pa['pls']} AND hp>0 ");
$nums = $db->num_rows($result);
......
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