%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% '************************************* '函数 '************************************* Function FormatID(ID) FormatID=ID if len(FormatID)<2 then FormatID="00"& FormatID if len(FormatID)<3 then FormatID="0" & FormatID End Function %> <% dim PMID,PMIDs PMIDs=request.Form("PMIDs") if isnumeric(pmids)=true then if pmids<>0 then pmid=pmids else PMID=Request.QueryString("PMID")'获取精灵编号 end if else PMID=Request.QueryString("PMID")'获取精灵编号 end if PMID=cint(pmid) if pmid>=1 and pmid<=493 then ' else pmid="1" end if Dim n For n=1 to 4 IF Request.QueryString("Move"&n)<>"" then response.cookies("PokebbDex")("Move"&n)=Request.QueryString("Move"&n) Response.Cookies("PokebbDex").Expires=Date+7 End IF Next %> <% On Error Resume Next ReDim PMInfo(40) sql="SELECT * FROM DPPM where pmid=" & pmid & "; " dete.open sql,cnn,3,3 dete.movefirst PMInfo(0)=dete("PMID") PMInfo(1)=dete("RSID") PMInfo(2)=dete("DPID") PMInfo(3)=dete("JpnName") PMInfo(4)=dete("ChnName") PMInfo(5)=dete("EngName") PMInfo(6)=dete("Type1") PMInfo(7)=dete("Type2") PMInfo(8)=dete("Trait1") PMInfo(9)=dete("Trait1About") PMInfo(10)=dete("Trait2") PMInfo(11)=dete("Trait2About") PMInfo(12)=dete("Egg1") PMInfo(13)=dete("Egg2") PMInfo(14)=dete("EggStep") PMInfo(15)=dete("Exp1") PMInfo(16)=dete("Exp100") PMInfo(17)=dete("Item1") PMInfo(18)=dete("Item2") PMInfo(19)=dete("Place") PMInfo(20)=dete("Evo") PMInfo(21)=dete("TypeInfo") PMInfo(22)=dete("GetNum") PMInfo(23)=dete("Height") PMInfo(24)=dete("weight") PMInfo(25)=dete("Sex") PMInfo(26)=dete("Fenlei") PMInfo(27)=dete("Qinmi") PMInfo(28)=dete("HP") PMInfo(29)=dete("Atk") PMInfo(30)=dete("Def") PMInfo(31)=dete("Spd") PMInfo(32)=dete("SpAtk") PMInfo(33)=dete("SpDef") PMInfo(34)=dete("Allzz") PMInfo(35)=dete("nlHP") PMInfo(36)=dete("nlAtk") PMInfo(37)=dete("nlDef") PMInfo(38)=dete("nlSpd") PMInfo(39)=dete("nlSpAtk") PMInfo(40)=dete("nlSpDef") dete.close %>
![]() |
<% if pmid=386 then
response.Write(" |
[基础资料] | ||||||
全国编号 | <%=PMInfo(0)%> | 新奥编号 | <%if PMInfo(2)=0 then response.Write("-") else response.Write(PMInfo(2))%> | 宝石编号 | <%if PMInfo(1)=0 then response.Write("-") else response.Write(PMInfo(1))%> | |
中文名 | <%=PMInfo(4)%> | 日文名 | <%=PMInfo(3)%> | 英文名 | <%=PMInfo(5)%> | |
属性 | <%=PMInfo(6)%><%if "--"<>PMInfo(7) then response.Write("/" & PMInfo(7)) end if%> | 特性1 | <%=PMInfo(8)%> | 特性2 | <%if PMInfo(10)<>"无" then %><%end if%><%=PMInfo(10)%><%if PMInfo(10)<>"无" then %><%end if%> | |
生蛋组别1 | <%=PMInfo(12)%> | 生蛋组别2 | <%=PMInfo(13)%> | |||
身高体重 | <% if PMInfo(23)<1 then response.Write("0" & PMInfo(23)) else response.Write(PMInfo(23)) end if%>m/<% if PMInfo(24)<1 then response.Write("0" & PMInfo(24)) else response.Write(PMInfo(24)) end if%>kg | 性别比例 | <%=PMInfo(25)%> | 孵蛋步数 | <%=PMInfo(14)%> | |
初始亲密 | <%=PMInfo(27)%> | 1级EXP | <%=PMInfo(15)%> | 100级EXP | <%=PMInfo(16)%> | |
持有道具 | <%=PMInfo(17)%> | <%=PMInfo(18)%> | 分类 | <% select case PMInfo(26) case 1 response.Write("初级型态") case 2 response.Write("中等型态") case 3 response.Write("最终型态") case 4 response.Write("神兽") end select %> | ||
属性相克 | <%=PMInfo(21)%> | |||||
入手方法 | <%=PMInfo(19)%> | |||||
进化方式 | <%=PMInfo(20)%> | |||||
<% if PMInfo(0)<=386 then %>* 查看此PM的:NPC图鉴<% end if %> |
[种族值] <% dim hp,atk,def,spd,spatk,spdef,allzz dim p,q,r p=1 for p=1 to 7 select case p case 1 q=PMInfo(28) case 2 q=PMInfo(29) case 3 q=PMInfo(30) case 4 q=PMInfo(31) case 5 q=PMInfo(32) case 6 q=PMInfo(33) case 7 q=PMInfo(34) end select if p<>7 then if q>=0 and q<30 then r=20 elseif q>=30 and q<60 then r=40 elseif q>=60 and q<80 then 'case 60 to 79 r=60 elseif q>=80 and q<100 then 'case 80 to 99 r=80 elseif q>=100 and q<=110 then 'case 100 to 110 r=105 elseif q>110 and q<=135 then 'case 110 to 135 r=130 elseif q>135 and q<=200 then 'case 135 to 199 r=165 elseif q>200 and q<=255 then 'case 200 to 255 r=200 end if else '总和 if q>=0 and q<220 then r=20 elseif q>=220 and q<300 then r=35 elseif q>=300 and q<340 then r=50 elseif q>=340 and q<400 then r=65 elseif q>=400 and q<475 then r=90 elseif q>=475 and q<500 then r=115 elseif q>=500 and q<540 then r=140 elseif q>=540 and q<580 then r=160 elseif q>=580 and q<670 then r=180 elseif q>=670 and q<=720 then r=200 end if end if select case p case 1 hp=r case 2 atk=r case 3 def=r case 4 spd=r case 5 spatk=r case 6 spdef=r case 7 allzz=r end select next %> | ||||||
种族 | 比例 | 无努力 | 满努力 | 极限 | >>计算能力 | |
HP | <%if PMInfo(28)>=130 then response.Write("")%><%=PMInfo(28)%><%if PMInfo(28)>=130 then response.Write("")%>(<%=PMInfo(35)%>) | <% response.Write(fix((cint(PMInfo(28))*2+31+0/4)*100/100+100+10)) %> | <% response.Write(fix((cint(PMInfo(28))*2+31+252/4)*100/100+100+10)) %> | - | ||
攻击 | <%if PMInfo(29)>=130 then response.Write("")%><%=PMInfo(29)%><%if PMInfo(29)>=130 then response.Write("")%>(<%=PMInfo(36)%>) | <% response.Write(fix(((cint(PMInfo(29))*2+31+0/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(29))*2+31+252/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(29))*2+31+252/4)*100/100+5)*1.1)) %> | ||
防御 | <%if PMInfo(30)>=130 then response.Write("")%><%=PMInfo(30)%><%if PMInfo(30)>=130 then response.Write("")%>(<%=PMInfo(37)%>) | <% response.Write(fix(((cint(PMInfo(30))*2+31+0/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(30))*2+31+252/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(30))*2+31+252/4)*100/100+5)*1.1)) %> | ||
速度 | <%if PMInfo(31)>=130 then response.Write("")%><%=PMInfo(31)%><%if PMInfo(31)>=130 then response.Write("")%>(<%=PMInfo(38)%>) | <% response.Write(fix(((cint(PMInfo(31))*2+31+0/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(31))*2+31+252/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(31))*2+31+252/4)*100/100+5)*1.1)) %> | ||
特攻 | <%if PMInfo(32)>=130 then response.Write("")%><%=PMInfo(32)%><%if PMInfo(32)>=130 then response.Write("")%>(<%=PMInfo(39)%>) | <% response.Write(fix(((cint(PMInfo(32))*2+31+0/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(32))*2+31+252/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(32))*2+31+252/4)*100/100+5)*1.1)) %> | ||
特防 | <%if PMInfo(33)>=130 then response.Write("")%><%=PMInfo(33)%><%if PMInfo(33)>=130 then response.Write("")%>(<%=PMInfo(40)%>) | <% response.Write(fix(((cint(PMInfo(33))*2+31+0/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(33))*2+31+252/4)*100/100+5)*1.0)) %> | <% response.Write(fix(((cint(PMInfo(33))*2+31+252/4)*100/100+5)*1.1)) %> | ||
总和 | <%if PMInfo(34)>500 then response.Write("")%><%=PMInfo(34)%><%if PMInfo(34)>500 then response.Write("")%> |
[升级技能] | 关 | |||||||||
等级 | 中文名 | 日文名 | 英文名 | 属性 | 分类 | 威力 | 命中 | PP | 范围 |
<%if dete("Lv")="Lv.1" then response.Write("Lv.--") else response.Write(dete("lv"))%> | &c=<%=dete2("ID")%>&PMID=<%=pmid%>#<%=dete2("ID")%>" target="_blank"><%=dete2("chnname")%> | <%=dete("mv")%> | <%=dete2("engname")%> | <%=dete2("type")%> | <%=dete2("class")%> | <%=dete2("power")%> | <%=dete2("acc")%> | <%=dete2("pp")%> | <%=dete2("fanwei")%> | " target="_blank">搜 |
<%=dete2("about")%> |
[遗传技能] | 关 | ||||||||
中文名 | 日文名 | 英文名 | 属性 | 分类 | 威力 | 命中 | PP | 范围 |
无 | |||||||||
&c=<%=dete2("ID")%>&PMID=<%=pmid%>#<%=dete2("ID")%>" target="_blank"><%=dete2("chnname")%> | <%=dete("mv")%> | <%=dete2("engname")%> | <%=dete2("type")%> | <%=dete2("class")%> | <%=dete2("power")%> | <%=dete2("acc")%> | <%=dete2("pp")%> | <%=dete2("fanwei")%> | " target="_blank">搜 |
<%=dete2("about")%> |
[机器习得] | 关 | |||||||||
机器 | 中文名 | 日文名 | 英文名 | 属性 | 分类 | 威力 | 命中 | PP | 范围 |
无 | ||||||||||
<%=way%> | &c=<%=dete2("ID")%>&PMID=<%=pmid%>#<%=dete2("ID")%>" target="_blank"><%=dete2("chnname")%> | <%=dete("mv")%> | <%=dete2("engname")%> | <%=dete2("type")%> | <%=dete2("class")%> | <%=dete2("power")%> | <%=dete2("acc")%> | <%=dete2("pp")%> | <%=dete2("fanwei")%> | " target="_blank">搜 |
<%=dete2("about")%> |
[定点技能] | 关 | |||||||||
中文名 | 日文名 | 英文名 | 属性 | 分类 | 威力 | 命中 | PP | 范围 | 版本 |
无 | ||||||||||
&c=<%=dete2("ID")%>&PMID=<%=pmid%>#<%=dete2("ID")%>" target="_blank"><%=dete2("chnname")%> | <%=dete("mv")%> | <%=dete2("engname")%> | <%=dete2("type")%> | <%=dete2("class")%> | <%=dete2("power")%> | <%=dete2("acc")%> | <%=dete2("pp")%> | <%=dete2("fanwei")%> | <%=dete("way")%> | " target="_blank">搜 |
<%=dete2("about")%> |