Commit 9ad40d69 authored by Nemo Ma's avatar Nemo Ma

Interim

Add: Type 93 NPC caller
parent 1f2030f7
......@@ -44,6 +44,7 @@ templates/default/lastnews.htm
bot/lock/
# PSD Material
img/psd_template/
*.psd
# =========================
......
This diff is collapsed.
......@@ -15,6 +15,7 @@ EOT;
$jokeonothers = <<<EOT
[D3],🎲,1,1,,
[D6],🎲,1,1,,
✦【自律AI呼唤器】,Y,1,1,,
EOT;
$superjoke = <<<EOT
......
......@@ -143,6 +143,7 @@ $typeinfo = Array(
90=>'各路党派',
91=>'各路党派',
92=>'种火',
93=>'各路党派',
);
$killmsginfo = Array(
0=>'',
......@@ -166,7 +167,8 @@ $killmsginfo = Array(
89=>'系统弹出,正在计算补正值……',
90=>'你弱爆了!',
91=>'你弱爆了!',
92=>'怜悯覆唱……让希望的执念……成为焰火……'
92=>'怜悯覆唱……让希望的执念……成为焰火……',
93=>'你弱爆了!'
);
$stateinfo = Array
(
......@@ -296,6 +298,7 @@ $lwinfo = Array(
90 => '我觉得我还可以抢救一下……',
91 => '我觉得我还可以抢救一下……',
92 => '成为……焰火……',
93 => '我觉得我还可以抢救一下……',
);
$infinfo = Array('b' => '<span class="red">胸</span>', 'h' => '<span class="red">头</span>', 'a' => '<span class="red">腕</span>', 'f' => '<span class="red">足</span>', 'p' => '<span class="purple">毒</span>', 'u' => '<span class="red">烧</span>', 'i' => '<span class="clan">冻</span>', 'e' => '<span class="yellow">麻</span>','w' => '<span class="grey">乱</span>');
$attinfo = Array('N' => '徒手殴打', 'P' => '殴打','K' => '斩刺', 'G' => '射击', 'C' => '投掷', 'D' => '设置引信伏击', 'F' => '释放灵力攻击', 'J' => '狙击', 'B' => '投射');
......
......@@ -85,6 +85,7 @@ $tps_name = Array
'神秘的「🥚」' =>Array('class'=>'glitch1', 'title'=>"一个神秘的蛋状物品,你潜意识觉得它可能会很大条,而且觉得它像是什么哺乳生物产生的……"),
'✦ЦВЙΨХЩΗЖФ✦' =>Array('class'=>'spitem2', 'title'=>"看起来是一个黑色的,安静的盒子,里面可能放着好东西。可以加上一个焰火进一步合成。"),
'✦ЦΨЙЩЦΑПΨЁВЦЩΨ✦' =>Array('class'=>'spitem2', 'title'=>"看起来是一个橙色的,骚动的盒子,里面可能放着莫名其妙的东西。"),
'✦【自律AI呼唤器】' =>Array('title'=>"这是一个整蛊他人的NPC钥匙。会向游戏内部署大量特殊小兵NPC,你会因此遭到道德拷问。"),
);
$tps_name_lore = Array
......
......@@ -57,6 +57,7 @@ $ty10[1]=21;
$ty11[1]=Array(89,'asub');
$ty11e[1]=Array(89,'esub'); #电掣NPC第二形态情报
$ty12[1]=24;
$ty13[1]=Array(93,'asub'); #可召唤小兵
$ty25a[1] = Array(25,'asub'); #佣兵NPC
if(filemtime($vnmixfile) > filemtime($writefile) ||filemtime($mixfile) > filemtime($writefile) || filemtime($shopfile) > filemtime($writefile) || filemtime($mapitemfile) > filemtime($writefile) || filemtime($synfile) > filemtime($writefile) || filemtime($ovlfile) > filemtime($writefile) || filemtime($presentfile) > filemtime($writefile) || filemtime($boxfile) > filemtime($writefile)){
......
No preview for this file type
......@@ -2874,6 +2874,42 @@ function itemuse($itmn,&$data=NULL) {
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
}
} elseif ($itm == '✦【自律AI呼唤器】') {
//Call in 20 type 93 NPCs, 5 each.
//get player's 1st Yume value - different value results in different NPC.
//There are 2 sets for now - TODO: Add more set.
include_once GAME_ROOT . './include/system.func.php';
$log .= '你将这根权杖一般的钥匙狠狠插在了地面上,<br>很快,大批NPC就从空中降落到了战场上!<br>';
if ($clbpara['randver1'] < 64){
// 1st set
addnpc ( 93,0,5);
addnpc ( 93,1,5);
addnpc ( 93,2,5);
addnpc ( 93,3,5);
}else{
// 2nd set
addnpc ( 93,4,5);
addnpc ( 93,5,5);
addnpc ( 93,6,5);
addnpc ( 93,7,5);
}
//This is considered a troll move - we don't announce it in game newsinfo - however--!
$db->query("INSERT INTO {$tablepre}chat (type,`time`,send,recv,msg) VALUES ('0','$now','$name','','「神奇AI们,快过来!」')");
$db->query("INSERT INTO {$tablepre}chat (type,`time`,send,recv,msg) VALUES ('2','$now','【红暮】','','竟然有人从幻境中叫出了外援!怎么可能!')");
//HOWEVER--
$log .= '突然你感到全身一寒,<br>你感觉罪恶感爬上了你的脊梁!<br>';
$rp += diceroll(1555);
$moralcheck = diceroll(6);
if ($moralcheck > 4){
$log .= '罪恶感让你不禁呕吐起来。<br>你感觉头晕目眩。<br>';
$mhp = round($mhp / 1.33);
$msp = round($msp / 1.22);
$hp = round($hp / 1.33);
$sp = round($sp / 1.22);
}
$itms --;
if($itms <= 0) destory_single_item($data,$itmn,1);
} elseif ($itm == '✦种火定点移位装置✦') {
//global $db, $tablepre, $pls;
$result = $db->query("SELECT * FROM {$tablepre}players WHERE type = 92"); //SELECT 全部种火NPC
......
......@@ -49,6 +49,22 @@
{template npcinfohelp}
<!--{/loop}-->
<br>
此外,也有一些特殊的小兵NPC可以使用通过称号或随机从盒子中刷出的小兵NPC钥匙<span class="yellow">【自律AI呼唤器】</span>刷出:
<input class="cmdbutton" onclick="showModalDialog($('ty13'))" value="点击这里查看" type="button"><br>
<dialog id="ty13">
<p><span class="lime b">特殊小兵NPC简介</span></p>
<p></p>
<br>
<!--{loop $ty13 $vkind $kind}-->
{template npcinfohelp}
<!--{/loop}-->
<input class="cmdbutton" onclick="closeDialog($('ty13'))" value="关闭窗口" type="button">
<img class="dialog-background" src="img/profile.gif" onclick="closeDialog($('ty11e'))">
</dialog>
<br>
这些小兵NPC比游戏初始刷出时的小兵NPC要略强,但也就只是略强而已。<br>
小兵们的主题会在之后的版本更新中增加,但一位玩家每次进场无论如何都只能刷出一种主题的特殊小兵。<br>
<br>
<p><span class="lime">二重NPC 简介</span></p>
此类NPC对玩家无威胁,但当玩家击杀它们后,它们会变身为<span class="yellow">“第二形态”</span>,此时<span class="yellow">攻击力会变得极强</span><br>可别不小心击杀了它们后被第二形态秒杀哦~ 不过,当自己处于劣势时,偷偷击杀这类NPC,并期望对手撞上它们并被它们秒杀,也是不错的翻盘思路哦~<br>
......
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