First Commit
This commit is contained in:
parent
4297e6998c
commit
4a0ce6dce1
1
libs/core.min.js
vendored
1
libs/core.min.js
vendored
File diff suppressed because one or more lines are too long
1
libs/data.min.js
vendored
1
libs/data.min.js
vendored
@ -1 +0,0 @@
|
|||||||
function data(){}data.prototype.init=function(){this.firstData={name:"yikongjian",version:"Ver 1.0.0 (Beta)",floorId:"MT1",enableExperience:true,hero:{id:"hero1",name:"勇士",hp:1000,atk:10,def:10,mdef:0,money:0,experience:0,items:{keys:{yellowKey:0,blueKey:0,redKey:0},constants:{},tools:{}},flyRange:["MT1"],loc:{direction:"up",x:6,y:11},steps:0,time:{starttime:new Date(),playtime:0,totaltime:0,lasttime:new Date()},flags:{visitFloors:{},passLava:false,hasShield5:false,seal20F:false}},shops:{shop1:{id:"shop1",title:"贪婪之神",name:"3楼金币商店",icon:"blueShop",times:0,need:"25",visited:false,use:"money",choices:[{text:"生命+800",effect:"status,hp,800"},{text:"攻击+4",effect:"status,atk,4"},{text:"防御+4",effect:"status,def,4"}]},shop2:{id:"shop2",title:"经验之神",name:"5楼经验商店",icon:"redShop",times:0,need:-1,visited:false,use:"experience",choices:[{text:"攻击+5",effect:"status,atk,5",need:"30"},{text:"防御+5",effect:"status,def,5",need:"30"},{text:"等级+1",effect:"status,hp,1000;status,atk,7;status,def,7",need:"100"}]},shop3:{id:"shop3",title:"钥匙商人",name:"6楼钥匙商人",icon:"womanMagician",times:0,need:-1,visited:false,use:"money",choices:[{text:"黄钥匙+1",effect:"item,yellowKey,1",need:"10"},{text:"蓝钥匙+1",effect:"item,blueKey,1",need:"50"},{text:"红钥匙+1",effect:"item,redKey,1",need:"100"}]},shop4:{id:"shop4",title:"贪婪之神",name:"10楼金币商店",icon:"blueShop",times:0,need:"100",visited:false,use:"money",choices:[{text:"生命+4000",effect:"status,hp,4000"},{text:"攻击+20",effect:"status,atk,20"},{text:"防御+20",effect:"status,def,20"}]},shop5:{id:"shop5",title:"经验之神",name:"15楼经验商店",icon:"redShop",times:0,need:-1,visited:false,use:"experience",choices:[{text:"攻击+17",effect:"status,atk,17",need:"95"},{text:"防御+17",effect:"status,def,17",need:"95"},{text:"等级+3",effect:"status,hp,3000;status,atk,21;status,def,21",need:"270"}]}},npcs:{},animateSpeed:500};this.flags={HPMAX:999999,enableExperience:true,flyNearStair:false,bombTrigger:true,picaxeFourDirections:true,potionWhileRouting:false}};data.prototype.getFirstData=function(){return core.clone(this.firstData)};main.instance.data=new data();
|
|
||||||
1
libs/enemys.min.js
vendored
1
libs/enemys.min.js
vendored
File diff suppressed because one or more lines are too long
1
libs/events.min.js
vendored
1
libs/events.min.js
vendored
File diff suppressed because one or more lines are too long
1
libs/icons.min.js
vendored
1
libs/icons.min.js
vendored
@ -1 +0,0 @@
|
|||||||
function icons(){}icons.prototype.init=function(){this.icons={heros:{hero1:{down:{loc:{iconLoc:0,stop:0,leftFoot:1,rightFoot:2},size:32},left:{loc:{iconLoc:1,stop:0,leftFoot:1,rightFoot:2},size:32},right:{loc:{iconLoc:2,stop:0,leftFoot:1,rightFoot:2},size:32},up:{loc:{iconLoc:3,stop:0,leftFoot:1,rightFoot:2},size:32}}},terrains:{ground:{loc:0,size:32},yellowWall:{loc:1,size:32},whiteWall:{loc:2,size:32},blueWall:{loc:3,size:32},starWall:{loc:4,size:32},lavaWall:{loc:5,size:32},downFloor:{loc:6,size:32},upFloor:{loc:7,size:32},cavity:{loc:8,size:32},yellowDoor:{loc:9,size:32},blueDoor:{loc:10,size:32},redDoor:{loc:11,size:32},greenDoor:{loc:12,size:32},specialDoor:{loc:13,size:32},steelDoor:{loc:14,size:32},"blueShop-left":{loc:15,size:32},"blueShop-right":{loc:16,size:32},"redShop-left":{loc:17,size:32},"redShop-right":{loc:18,size:32}},animates:{star:{loc:0,size:32},lava:{loc:1,size:32},water:{loc:2,size:32},yellowDoor:{loc:3,size:32},blueDoor:{loc:4,size:32},redDoor:{loc:5,size:32},greenDoor:{loc:6,size:32},specialDoor:{loc:7,size:32},blueWallDoor:{loc:8,size:32},yellowWallDoor:{loc:9,size:32},whiteWallDoor:{loc:10,size:32},ironDoor:{loc:11,size:32},lavaDoor:{loc:12,size:32},grayLavaDoor:{loc:13,size:32},starDoor:{loc:14,size:32},mockBlueWallDoor:{loc:15,size:32},mockYellowWallDoor:{loc:16,size:32},mockWhiteWallDoor:{loc:17,size:32},iceYellowWallDoor:{loc:18,size:32},transparentStar:{loc:19,size:32},exclamation:{loc:20,size:32},portal:{loc:21,size:32},"switch":{loc:22,size:32},lavaNet:{loc:23,size:32}},npcs:{man:{loc:0,size:32},woman:{loc:1,size:32},thief:{loc:2,size:32},fairy:{loc:3,size:32},magician:{loc:4,size:32},womanMagician:{loc:5,size:32},wood:{loc:8,size:32},blueShop:{loc:10,size:32},redShop:{loc:9,size:32},princess:{loc:11,size:32}},enemys:{greenSlime:{loc:0,size:32},redSlime:{loc:1,size:32},blackSlime:{loc:2,size:32},slimelord:{loc:3,size:32},bat:{loc:4,size:32},bigBat:{loc:5,size:32},redBat:{loc:6,size:32},vampire:{loc:7,size:32},skeleton:{loc:8,size:32},skeletonSoilder:{loc:9,size:32},skeletonCaptain:{loc:10,size:32},ghostSkeleton:{loc:11,size:32},zombie:{loc:12,size:32},zombieKnight:{loc:13,size:32},rock:{loc:14,size:32},slimeMan:{loc:15,size:32},bluePriest:{loc:16,size:32},redPriest:{loc:17,size:32},brownWizard:{loc:18,size:32},redWizard:{loc:19,size:32},yellowGuard:{loc:20,size:32},blueGuard:{loc:21,size:32},redGuard:{loc:22,size:32},swordsman:{loc:23,size:32},soldier:{loc:24,size:32},yellowKnight:{loc:25,size:32},redKnight:{loc:26,size:32},darkKnight:{loc:27,size:32},blackKing:{loc:28,size:32},yellowKing:{loc:29,size:32},greenKing:{loc:30,size:32},blueKnight:{loc:31,size:32},goldSlime:{loc:32,size:32},poisonSkeleton:{loc:33,size:32},poisonBat:{loc:34,size:32},steelRock:{loc:35,size:32},skeletonPriest:{loc:36,size:32},skeletonKing:{loc:37,size:32},skeletonWizard:{loc:38,size:32},redSkeletonCaption:{loc:39,size:32},badHero:{loc:40,size:32},demon:{loc:41,size:32},demonPriest:{loc:42,size:32},goldHornSlime:{loc:43,size:32},redKing:{loc:44,size:32},whiteKing:{loc:45,size:32},blackMagician:{loc:46,size:32},silverSlime:{loc:47,size:32},swordEmperor:{loc:48,size:32},whiteHornSlime:{loc:49,size:32},badPrincess:{loc:50,size:32},badFairy:{loc:51,size:32},grayPriest:{loc:52,size:32},redSwordsman:{loc:53,size:32},whiteGhost:{loc:54,size:32},poisonZombie:{loc:55,size:32},magicDragon:{loc:56,size:32},octopus:{loc:57,size:32},fairy:{loc:58,size:32},greenKnight:{loc:59,size:32}},items:{yellowKey:{loc:0,size:32},blueKey:{loc:1,size:32},redKey:{loc:2,size:32},greenKey:{loc:3,size:32},steelKey:{loc:4,size:32},bigKey:{loc:6,size:32},redJewel:{loc:16,size:32},blueJewel:{loc:17,size:32},greenJewel:{loc:18,size:32},yellowJewel:{loc:19,size:32},redPotion:{loc:20,size:32},bluePotion:{loc:21,size:32},greenPotion:{loc:22,size:32},yellowPotion:{loc:23,size:32},book:{loc:9,size:32},fly:{loc:12,size:32},coin:{loc:11,size:32},wand:{loc:10,size:32},cross:{loc:40,size:32},snow:{loc:41,size:32},pickaxe:{loc:45,size:32},icePickaxe:{loc:44,size:32},bomb:{loc:43,size:32},centerFly:{loc:13,size:32},downFly:{loc:14,size:32},upFly:{loc:15,size:32},earthquake:{loc:8,size:32},sword1:{loc:50,size:32},sword2:{loc:51,size:32},sword3:{loc:52,size:32},sword4:{loc:53,size:32},sword5:{loc:54,size:32},shield1:{loc:55,size:32},shield2:{loc:56,size:32},shield3:{loc:57,size:32},shield4:{loc:58,size:32},shield5:{loc:59,size:32},superPotion:{loc:29,size:32}}}};icons.prototype.getIcons=function(a){if(a==undefined){return this.icons}return this.icons[a]};main.instance.icons=new icons();
|
|
||||||
1
libs/items.min.js
vendored
1
libs/items.min.js
vendored
File diff suppressed because one or more lines are too long
1
libs/maps.min.js
vendored
1
libs/maps.min.js
vendored
File diff suppressed because one or more lines are too long
1
libs/npcs.min.js
vendored
1
libs/npcs.min.js
vendored
@ -1 +0,0 @@
|
|||||||
function npcs(){}npcs.prototype.init=function(){this.npcs={npc1:{id:"npc1",name:"神秘老人",icon:"magician"},npc2:{id:"npc2",name:"神秘老人",icon:"magician"},npc3:{id:"npc3",name:"神秘老人",icon:"womanMagician"},npc4:{id:"npc4",name:"神秘老人",icon:"womanMagician"}}};npcs.prototype.getNpcs=function(a){if(a==undefined){return this.npcs}return this.npcs[a]};npcs.prototype.getEffect=function(a,b){switch(a){case"npc1":return[{action:"text",id:"npc1",content:"提示:灰色的水泥墙比棕色的更为坚固。\n用破墙镐无法破坏水泥墙。\n例如本层墙内的宝物,可以使用地震卷轴获取。"}];break;case"npc2":return[{action:"text",id:"npc2",content:"提示:14F位于神秘空间之中,无法直接到达。\n只能使用特殊道具到达。\n类似14F的还有一层,在0F。"}];break;case"npc3":return[{action:"choices",id:"npc3",cancel:true,hint:"送你一件道具,你自己\n选吧:",choices:[{text:"破墙镐",effect:"item,pickaxe,1"},{text:"炸弹",effect:"item,bomb,1"},{text:"中心对称飞行器",effect:"item,centerFly,1"}]},{action:"text",id:"npc3",content:"祝你好运,我先溜了~"},{action:"disappear"}];break;case"npc4":return[{action:"choices",id:"npc4",cancel:true,hint:"低价回收各种钥匙:",choices:[{text:"黄钥匙(7金币)",effect:"status,money,7",need:"item,yellowKey,1"},{text:"蓝钥匙(35金币)",effect:"status,money,35",need:"item,blueKey,1"},{text:"红钥匙(70金币)",effect:"status,money,70",need:"item,redKey,1"}]},{action:"revisit"}];break}return[]};main.instance.npcs=new npcs();
|
|
||||||
1
libs/ui.min.js
vendored
1
libs/ui.min.js
vendored
File diff suppressed because one or more lines are too long
1
main.min.js
vendored
1
main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user