Commit f5edaee1 authored by Nemo Ma's avatar Nemo Ma

Interim

parent e5047752
...@@ -571,7 +571,8 @@ $anpcinfo = array ...@@ -571,7 +571,8 @@ $anpcinfo = array
0 => array 0 => array
( (
'name' => 'Acg_Xilin', 'name' => 'Acg_Xilin',
'icon' => 2, //'icon' => 2,
'icon' => 'n_xilinn.gif',
'club' => 4, 'club' => 4,
'clubskillpara' => Array 'clubskillpara' => Array
( (
...@@ -1167,22 +1168,22 @@ $anpcinfo = array ...@@ -1167,22 +1168,22 @@ $anpcinfo = array
'arbk' => 'DB', 'arbk' => 'DB',
'arbe' => 100, 'arbe' => 100,
'arbs' => 500, 'arbs' => 500,
'arbsk' => '*', 'arbsk' => '*v',
'arh' => '人工干扰力场H', 'arh' => '人工干扰力场H',
'arhk' => 'DH', 'arhk' => 'DH',
'arhe' => 100, 'arhe' => 100,
'arhs' => 500, 'arhs' => 500,
'arhsk' => '-', 'arhsk' => '-v',
'arf' => '人工波动力场F', 'arf' => '人工波动力场F',
'arfk' => 'DF', 'arfk' => 'DF',
'arfe' => 100, 'arfe' => 100,
'arfs' => 500, 'arfs' => 500,
'arfsk' => '+', 'arfsk' => '+v',
'ara' => '人工备用力场A', 'ara' => '人工备用力场A',
'arak' => 'DA', 'arak' => 'DA',
'arae' => 100, 'arae' => 100,
'aras' => 500, 'aras' => 500,
'arask' => 'aA', 'arask' => 'aAv',
'art' => '妖精的羽翼', 'art' => '妖精的羽翼',
'artk' => 'A', 'artk' => 'A',
'arte' => 1, 'arte' => 1,
...@@ -1199,6 +1200,18 @@ $anpcinfo = array ...@@ -1199,6 +1200,18 @@ $anpcinfo = array
'wepe' => 200, 'wepe' => 200,
'weps' => 5000, 'weps' => 5000,
'wepsk' => '', 'wepsk' => '',
'itm1' => '[D10]',
'itmk1' => '🎲',
'itme1' => 1,
'itms1' => 1,
'itm2' => '[D10]',
'itmk2' => '🎲',
'itme2' => 1,
'itms2' => 1,
'itm3' => '[D10]',
'itmk3' => '🎲',
'itme3' => 1,
'itms3' => 1,
), ),
1 => array 1 => array
( (
...@@ -1209,6 +1222,18 @@ $anpcinfo = array ...@@ -1209,6 +1222,18 @@ $anpcinfo = array
'wepe' => 200, 'wepe' => 200,
'weps' => 5000, 'weps' => 5000,
'wepsk' => '', 'wepsk' => '',
'itm1' => '[D40]',
'itmk1' => '🎲',
'itme1' => 1,
'itms1' => 1,
'itm2' => '[D40]',
'itmk2' => '🎲',
'itme2' => 1,
'itms2' => 1,
'itm3' => '[D40]',
'itmk3' => '🎲',
'itme3' => 1,
'itms3' => 1,
), ),
2 => array 2 => array
( (
...@@ -1219,6 +1244,18 @@ $anpcinfo = array ...@@ -1219,6 +1244,18 @@ $anpcinfo = array
'wepe' => 200, 'wepe' => 200,
'weps' => 5000, 'weps' => 5000,
'wepsk' => '', 'wepsk' => '',
'itm1' => '[D100]',
'itmk1' => '🎲',
'itme1' => 1,
'itms1' => 1,
'itm2' => '[D100]',
'itmk2' => '🎲',
'itme2' => 1,
'itms2' => 1,
'itm3' => '[D100]',
'itmk3' => '🎲',
'itme3' => 1,
'itms3' => 1,
), ),
), ),
), ),
......
...@@ -2311,17 +2311,17 @@ $npcdescription = array ...@@ -2311,17 +2311,17 @@ $npcdescription = array
0 => array 0 => array
( (
'count' => 1, 'count' => 1,
'description' => '循环使者 妖精幻象-麦基,<span class="yellow">PVE后期送玩家抽取属性的NPC。</span>', 'description' => '循环使者 妖精幻象-麦基,<span class="yellow">携带强力的骰子道具[D10],可以为你产生高级空想道具。</span>',
), ),
1 => array 1 => array
( (
'count' => 1, 'count' => 1,
'description' => '循环使者 妖精幻象-拉普尼,<span class="yellow">PVE后期送玩家抽取属性的NPC。</span>', 'description' => '循环使者 妖精幻象-拉普尼,<span class="yellow">携带强力的骰子道具[D40],可以从地图上随机获得物品。</span>',
), ),
2 => array 2 => array
( (
'count' => 1, 'count' => 1,
'description' => '循环使者 妖精幻象-斯洛蒂,<span class="yellow">PVE后期送玩家抽取属性的NPC。</span>', 'description' => '循环使者 妖精幻象-斯洛蒂,<span class="yellow">携带强力的骰子道具[D100],可以重新投掷你的各色数值。</span>',
), ),
), ),
), ),
......
...@@ -1076,7 +1076,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1076,7 +1076,7 @@ function itemuse($itmn,&$data=NULL) {
} }
}elseif (strpos ( $itmk, '🎲' ) === 0 ) { }elseif (strpos ( $itmk, '🎲' ) === 0 ) {
if ($itm == '[D3]') { if ($itm == '[D3]') {
$log .= '你向天空投出了骰子!<br>进行1d3检定!<br>'; $log .= '你向天空投出了骰子!<br><br>进行1d3检定!<br>';
//D3 - Randomly shuffle the effect and stamina of player's equipment and weapon. //D3 - Randomly shuffle the effect and stamina of player's equipment and weapon.
//grabbing the effect and stamina of player equipment and weapon //grabbing the effect and stamina of player equipment and weapon
//Does not affect "A" equipment //Does not affect "A" equipment
...@@ -1129,7 +1129,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1129,7 +1129,7 @@ function itemuse($itmn,&$data=NULL) {
$itme = $itms = 0; $itme = $itms = 0;
} }
}elseif ($itm == '[D6]') { }elseif ($itm == '[D6]') {
$log .= '你向天空投出了骰子!<br>进行1d6检定!<br>'; $log .= '你向天空投出了骰子!<br><br>进行1d6检定!<br>';
//D6 - spawn a random item to player's hand. //D6 - spawn a random item to player's hand.
$log .= '骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>'; $log .= '骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>';
//Populate an array desinating which kind of item this would turn into. //Populate an array desinating which kind of item this would turn into.
...@@ -1169,7 +1169,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1169,7 +1169,7 @@ function itemuse($itmn,&$data=NULL) {
$itme = $itms = 0; $itme = $itms = 0;
} }
}elseif ($itm == '[D10]') { }elseif ($itm == '[D10]') {
$log .= '你向天空投出了骰子!<br>进行1d10检定!<br>'; $log .= '你向天空投出了骰子!<br><br>进行1d10检定!<br>';
//D10 - spawn a random item to player's hand - Enhanced D6 with a better item pool. //D10 - spawn a random item to player's hand - Enhanced D6 with a better item pool.
$log .= '骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>'; $log .= '骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>';
//Populate an array desinating which kind of item this would turn into. //Populate an array desinating which kind of item this would turn into.
...@@ -1207,7 +1207,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1207,7 +1207,7 @@ function itemuse($itmn,&$data=NULL) {
$itme = $itms = 0; $itme = $itms = 0;
} }
}elseif ($itm == '[D20]') { }elseif ($itm == '[D20]') {
$log .= '你向天空投出了骰子!<br>进行1d20检定!<br><br>'; $log .= '你向天空投出了骰子!<br><br>进行1d20检定!<br><br>';
//D20 - Randomly fill player's bag with items from player's location. //D20 - Randomly fill player's bag with items from player's location.
//Get item from database. //Get item from database.
$result = $db->query("SELECT * FROM {$tablepre}mapitem WHERE pls = '$pls'"); $result = $db->query("SELECT * FROM {$tablepre}mapitem WHERE pls = '$pls'");
...@@ -1306,7 +1306,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1306,7 +1306,7 @@ function itemuse($itmn,&$data=NULL) {
$itmsk0 = ''; $itmsk0 = '';
} }
}elseif ($itm == '[D40]') { }elseif ($itm == '[D40]') {
$log .= '你向天空投出了骰子!<br>进行1d40检定!<br><br>'; $log .= '你向天空投出了骰子!<br><br>进行1d40检定!<br><br>';
//D40 - Randomly fill player's bag with items from all mapitems. - Enhanced D20 //D40 - Randomly fill player's bag with items from all mapitems. - Enhanced D20
//Get item from database. //Get item from database.
$result = $db->query("SELECT * FROM {$tablepre}mapitem"); $result = $db->query("SELECT * FROM {$tablepre}mapitem");
...@@ -1405,7 +1405,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1405,7 +1405,7 @@ function itemuse($itmn,&$data=NULL) {
$itmsk0 = ''; $itmsk0 = '';
} }
}elseif ($itm == '[D100]') { }elseif ($itm == '[D100]') {
$log .= '你向天空投出了骰子!<br>进行1d100检定!<br><br>'; $log .= '你向天空投出了骰子!<br><br>进行1d100检定!<br><br>';
//D100 - Shuffle the player's mhp, msp, mss, atk, def and all w values. //D100 - Shuffle the player's mhp, msp, mss, atk, def and all w values.
//Firstly, are you the chosen one? //Firstly, are you the chosen one?
$chosenone = 1; $chosenone = 1;
...@@ -1455,7 +1455,7 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1455,7 +1455,7 @@ function itemuse($itmn,&$data=NULL) {
$itme = $itms = 0; $itme = $itms = 0;
} }
}elseif ($itm == '[D1000]') { }elseif ($itm == '[D1000]') {
$log .= '你投出了这个骰子!骰子飞上了天空,变成了三个不同的骰子!这真是太炫酷了!<br>'; $log .= '你投出了这个骰子!<br>骰子飞上了天空,变成了三个不同的骰子!这真是太炫酷了!<br>';
//D1000 - Does all of the above, based on player's Yume Values. //D1000 - Does all of the above, based on player's Yume Values.
//D3 //D3
if ($clbpara['randver1'] > 64){ if ($clbpara['randver1'] > 64){
...@@ -1644,7 +1644,76 @@ function itemuse($itmn,&$data=NULL) { ...@@ -1644,7 +1644,76 @@ function itemuse($itmn,&$data=NULL) {
} }
} }
}elseif (strpos ( $itmk, '🥚' ) === 0 ) { }elseif (strpos ( $itmk, '🥚' ) === 0 ) {
//🥚 items does a variety of different things based on its itmsk - may expand in the future.
if (strpos ( $itmsk, 'J' ) === 0){
//J item turns into a yugioh pack.
$log .= '你将这个蛋捧在手里仔细端详着……<br>它突然变成了一包卡牌!<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//generate a yugioh pack in player's hand.
$itm0 = '游戏王卡包';
$itmk0 = 'ygo';
$itme0 = 1;
$itms0 = 1;
$itmsk0 = '';
}elseif (strpos ( $itmsk, 's' ) === 0){
//s item turns into a yugioh pack.
//TODO: May actually implement new yugioh packs for Exceed and Synchro only packs.
$log .= '你将这个蛋捧在手里仔细端详着……<br>它突然变成了一包卡牌!<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//generate a yugioh pack in player's hand.
$itm0 = '游戏王卡包';
$itmk0 = 'ygo';
$itme0 = 1;
$itms0 = 1;
$itmsk0 = '';
}elseif (strpos ( $itmsk, 'X' ) === 0){
//X item turns into a Deathnote.
$log .= '你将这个蛋捧在手里仔细端详着……<br>它突然变成了一本黑色的小册子<br>卧槽,这不会是……<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//generate a Deathnote in player's hand.
$itm0 = '■DeathNote■';
$itmk0 = 'Y';
$itme0 = 1;
$itms0 = 1;
$itmsk0 = '';
}elseif (strpos ( $itmsk, 'x' ) === 0){
//x item turns into a super recovery item.
$log .= '你将这个蛋捧在手里仔细端详着……<br>它突然变成了一包卡牌!<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//generate the item in player's hand.
$itm0 = '奇迹的元素';
$itmk0 = 'HB';
$itme0 = 65535;
$itms0 = 1;
$itmsk0 = 'z';
}elseif (strpos ( $itmsk, 'v' ) === 0){
//v item curses player's current weapon.
$log .= '你看了一眼这个蛋,就理解了它的用法。<br>你痛快地……吃掉了它?<br>你感觉到你的武器泛起了一股诅咒的力量……<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//Apply curses to player's current holding weapon.
$wepsk .='v';
}elseif (strpos ( $itmsk, 'V' ) === 0){
//X item make player's current weapon soulbind.
$log .= '你看了一眼这个蛋,就理解了它的用法。<br>你痛快地……吃掉了它?<br>你感觉到你的武器绑定在了你的身上……<br>';
//destroy the item.
$itm = $itmk = $itmsk = '';
$itme = $itms = 0;
//Apply soulbind to player's current holding weapon.
$wepsk .='V';
}else{
//FUTURE FEAT: We can make so much use of this in the future.
$log .= '你似乎听到了一个佻皮的女孩声音:<br><br>“这个代码片段……不妨以后再来探索吧!”<br>';
}
}elseif (strpos ( $itmk, '🎆' ) === 0 ) { }elseif (strpos ( $itmk, '🎆' ) === 0 ) {
//В ΜΑЛΨ, В ЩΑЁΨ, В ЦΨΨ ОΑЙЙ, В ТИХ ЩДТЖИΜД. //В ΜΑЛΨ, В ЩΑЁΨ, В ЦΨΨ ОΑЙЙ, В ТИХ ЩДТЖИΜД.
//ХЖ ДЖХЖТ, ЖХΨ ЦЩТΑВΜДЩ ТЖΑΡ, ΜΨЩ. ЩДВХΜЦ. ΡЖХΨ. //ХЖ ДЖХЖТ, ЖХΨ ЦЩТΑВΜДЩ ТЖΑΡ, ΜΨЩ. ЩДВХΜЦ. ΡЖХΨ.
......
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