⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tzbox.php

📁 天使宠物 V6 Final版 天使宠物 V6 Final版目前支持Discuz!6.0 和 Discuz!6.1论坛
💻 PHP
字号:
<?php
if(!defined('IN_DISCUZ')) { exit('Access Denied');}

updatestoragebyid(-1,$storageid);
			    $rand=rand(1,100);
				$addcname = "玄铁套装";
				$addcname1 = "初心者套装";
				$addcname2 = "皇者套装";
				$addcname3 = "青铜套装";
				$addcname4 = "权利套装";
				$addcname5 = "死神套装";
				if($rand>90){
					updatestoragebyitemname($discuz_user,'xtzj',1,1);
					updatestoragebyitemname($discuz_user,'xtjz',1,1);
					updatestoragebyitemname($discuz_user,'xttk',1,1);
					updatestoragebyitemname($discuz_user,'xths',1,1);
					updatestoragebyitemname($discuz_user,'xtzx',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand>80){
					updatestoragebyitemname($discuz_user,'cxzd',1,1);
					updatestoragebyitemname($discuz_user,'cxjz',1,1);
					updatestoragebyitemname($discuz_user,'cxtk',1,1);
					updatestoragebyitemname($discuz_user,'cxhs',1,1);
					updatestoragebyitemname($discuz_user,'cxxz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname1."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand>75){
					updatestoragebyitemname($discuz_user,'kingw',1,1);
					updatestoragebyitemname($discuz_user,'kingl',1,1);
					updatestoragebyitemname($discuz_user,'kingh',1,1);
					updatestoragebyitemname($discuz_user,'kingb',1,1);
					updatestoragebyitemname($discuz_user,'kings',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname2."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand>71){
					updatestoragebyitemname($discuz_user,'qtzf',1,1);
					updatestoragebyitemname($discuz_user,'qtjz',1,1);
					updatestoragebyitemname($discuz_user,'qttk',1,1);
					updatestoragebyitemname($discuz_user,'qths',1,1);
					updatestoragebyitemname($discuz_user,'qtxz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname3."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand>68){
					updatestoragebyitemname($discuz_user,'qlzz',1,1);
					updatestoragebyitemname($discuz_user,'qlyd',1,1);
					updatestoragebyitemname($discuz_user,'qltk',1,1);
					updatestoragebyitemname($discuz_user,'qlhs',1,1);
					updatestoragebyitemname($discuz_user,'qlzx',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname4."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand>64){
					updatestoragebyitemname($discuz_user,'wmtcst',1,1);
					updatestoragebyitemname($discuz_user,'wmtcyj',1,1);
					updatestoragebyitemname($discuz_user,'wmtcmj',1,1);
					updatestoragebyitemname($discuz_user,'wmtccp',1,1);
					updatestoragebyitemname($discuz_user,'wmtczx',1,1);
					showmessage("你打开潘多拉宝箱 获得了1套".$addcname5."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}else{
				showmessage("你打开潘多拉宝箱 可惜甚么都没有获得~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -