0.13地图回合构筑中
This commit is contained in:
1 parent
36cfe11dc2
commit
b30cd88fd6
9 files changed
+1085
-93
No files matched your search
+81
-81
@@ -1,84 +1,84 @@
|
||||
var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
{
|
||||
"greenSlime": {"name":"绿头怪","hp":40,"atk":7,"def":1,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redSlime": {"name":"红头怪","hp":60,"atk":10,"def":1,"money":0,"exp":0,"point":0,"special":[],"value":0},
|
||||
"blackSlime": {"name":"青头怪","hp":80,"atk":18,"def":1,"money":0,"exp":0,"point":0,"special":0},
|
||||
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[]},
|
||||
"bat": {"name":"小蝙蝠","hp":30,"atk":12,"def":3,"money":2,"exp":0,"point":0,"special":[4]},
|
||||
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[],"n":8},
|
||||
"skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"skeletonCaptain": {"name":"骷髅队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"zombieKnight": {"name":"兽人武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3},
|
||||
"bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[9]},
|
||||
"redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"special":15,"value":100,"range":2},
|
||||
"redWizard": {"name":"高级巫师","hp":1000,"atk":1200,"def":0,"money":160,"exp":0,"point":0,"special":15,"value":200,"zoneSquare":true},
|
||||
"swordsman": {"name":"双手剑士","hp":100,"atk":120,"def":0,"money":6,"exp":0,"point":0,"special":4},
|
||||
"soldier": {"name":"冥战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"yellowKnight": {"name":"金骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redKnight": {"name":"红骑士","hp":500,"atk":200,"def":50,"money":0,"exp":0,"point":0,"special":[7]},
|
||||
"darkKnight": {"name":"黑骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"blueKnight": {"name":"蓝骑士","hp":100,"atk":120,"def":0,"money":9,"exp":0,"point":0,"special":8},
|
||||
"goldSlime": {"name":"黄头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"poisonSkeleton": {"name":"紫骷髅","hp":50,"atk":60,"def":70,"money":80,"exp":0,"point":0,"special":13},
|
||||
"poisonBat": {"name":"紫蝙蝠","hp":100,"atk":120,"def":0,"money":14,"exp":0,"point":0,"special":13},
|
||||
"skeletonPriest": {"name":"骷髅法师","hp":100,"atk":100,"def":0,"money":0,"exp":0,"point":0,"special":18,"value":20},
|
||||
"skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"goldHornSlime": {"name":"金角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"silverSlime": {"name":"银头怪","hp":100,"atk":120,"def":0,"money":15,"exp":0,"point":0,"special":14},
|
||||
"whiteHornSlime": {"name":"尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redSwordsman": {"name":"剑王","hp":300,"atk":300,"def":2,"money":0,"exp":0,"point":0,"special":[28]},
|
||||
"poisonZombie": {"name":"绿兽人","hp":100,"atk":120,"def":0,"money":13,"exp":0,"point":0,"special":[12]},
|
||||
"octopus": {"name":"血影","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":"dragon_1.png"},
|
||||
"princessEnemy": {"name":"假公主","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"angel": {"name":"天使","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"elemental": {"name":"元素生物","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"steelGuard": {"name":"铁守卫","hp":50,"atk":50,"def":50,"money":0,"exp":0,"point":0,"special":[18],"value":20},
|
||||
"evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"goldSlimelord": {"name":"金怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"skeletonWarrior": {"name":"骷髅士兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"whiteSlimeman": {"name":"水银战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"slimeman": {"name":"影子战士","hp":100,"atk":0,"def":0,"money":11,"exp":0,"point":0,"special":[9],"atkValue":2,"defValue":3},
|
||||
"yellowGateKeeper": {"name":"初级卫兵","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":0},
|
||||
"blueGateKeeper": {"name":"中级卫兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redGateKeeper": {"name":"高级卫兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"magicMaster": {"name":"黑暗大法师","hp":100,"atk":120,"def":0,"money":12,"exp":0,"point":0,"special":11,"value":0.3333333333333333,"add":true,"notBomb":true},
|
||||
"devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":"dragon_0.png"},
|
||||
"skeletonKnight": {"name":"骷髅武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"ironRock": {"name":"铁面人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"grayRock": {"name":"灰色石头人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"yellowPriest": {"name":"中级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"evilPrincess": {"name":"痛苦魔女","hp":1000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[10]},
|
||||
"blademaster": {"name":"剑圣","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"evilFairy": {"name":"黑暗仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"greenKnight": {"name":"强盾骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"bowman": {"name":"初级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"watcherSlime": {"name":"邪眼怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"devilKnight": {"name":"恶灵骑士","hp":150,"atk":100,"def":50,"money":0,"exp":0,"point":0,"special":[1,5,7,8]},
|
||||
"grayPriest": {"name":"混沌法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"greenGateKeeper": {"name":"卫兵队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"ghostSoldier": {"name":"冥队长","hp":200,"atk":100,"def":50,"money":0,"exp":0,"point":0,"special":8},
|
||||
"frostBat": {"name":"寒蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"blackKing": {"name":"黑衣魔王","hp":1000,"atk":500,"def":0,"money":1000,"exp":1000,"point":0,"special":0,"notBomb":true},
|
||||
"yellowKing": {"name":"黄衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"greenKing": {"name":"青衣武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"redKing": {"name":"红衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"blueKing": {"name":"白衣武士","hp":100,"atk":120,"def":0,"money":17,"exp":0,"point":0,"special":16},
|
||||
"keiskeiFairy": {"name":"铃兰花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"tulipFairy": {"name":"郁金香花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"purpleBowman": {"name":"高级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||
"bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png"},
|
||||
"bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}},
|
||||
"bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}},
|
||||
"bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}
|
||||
"greenSlime": {"name":"绿头怪","hp":40,"atk":7,"def":1,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redSlime": {"name":"红头怪","hp":60,"atk":10,"def":1,"money":0,"exp":0,"point":0,"timeCost":null,"special":[],"value":0},
|
||||
"blackSlime": {"name":"青头怪","hp":80,"atk":18,"def":1,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"timeCost":null,"special":[]},
|
||||
"bat": {"name":"小蝙蝠","hp":30,"atk":12,"def":3,"money":2,"exp":0,"point":0,"timeCost":null,"special":[4]},
|
||||
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[]},
|
||||
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"timeCost":null,"special":[],"n":8},
|
||||
"skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"skeletonCaptain": {"name":"骷髅队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"zombieKnight": {"name":"兽人武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"timeCost":null,"special":3},
|
||||
"bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"timeCost":null,"special":[9]},
|
||||
"redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"timeCost":null,"special":15,"value":100,"range":2},
|
||||
"redWizard": {"name":"高级巫师","hp":1000,"atk":1200,"def":0,"money":160,"exp":0,"point":0,"timeCost":null,"special":15,"value":200,"zoneSquare":true},
|
||||
"swordsman": {"name":"双手剑士","hp":100,"atk":120,"def":0,"money":6,"exp":0,"point":0,"timeCost":null,"special":4},
|
||||
"soldier": {"name":"冥战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"yellowKnight": {"name":"金骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redKnight": {"name":"红骑士","hp":500,"atk":200,"def":50,"money":0,"exp":0,"point":0,"timeCost":null,"special":[7]},
|
||||
"darkKnight": {"name":"黑骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"blueKnight": {"name":"蓝骑士","hp":100,"atk":120,"def":0,"money":9,"exp":0,"point":0,"timeCost":null,"special":8},
|
||||
"goldSlime": {"name":"黄头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"poisonSkeleton": {"name":"紫骷髅","hp":50,"atk":60,"def":70,"money":80,"exp":0,"point":0,"timeCost":null,"special":13},
|
||||
"poisonBat": {"name":"紫蝙蝠","hp":100,"atk":120,"def":0,"money":14,"exp":0,"point":0,"timeCost":null,"special":13},
|
||||
"skeletonPriest": {"name":"骷髅法师","hp":100,"atk":100,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":18,"value":20},
|
||||
"skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"goldHornSlime": {"name":"金角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"silverSlime": {"name":"银头怪","hp":100,"atk":120,"def":0,"money":15,"exp":0,"point":0,"timeCost":null,"special":14},
|
||||
"whiteHornSlime": {"name":"尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redSwordsman": {"name":"剑王","hp":300,"atk":300,"def":2,"money":0,"exp":0,"point":0,"timeCost":null,"special":[28]},
|
||||
"poisonZombie": {"name":"绿兽人","hp":100,"atk":120,"def":0,"money":13,"exp":0,"point":0,"timeCost":null,"special":[12]},
|
||||
"octopus": {"name":"血影","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0,"bigImage":"dragon_1.png"},
|
||||
"princessEnemy": {"name":"假公主","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"angel": {"name":"天使","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"elemental": {"name":"元素生物","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"steelGuard": {"name":"铁守卫","hp":50,"atk":50,"def":50,"money":0,"exp":0,"point":0,"timeCost":null,"special":[18],"value":20},
|
||||
"evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"goldSlimelord": {"name":"金怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"skeletonWarrior": {"name":"骷髅士兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"whiteSlimeman": {"name":"水银战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"slimeman": {"name":"影子战士","hp":100,"atk":0,"def":0,"money":11,"exp":0,"point":0,"timeCost":null,"special":[9],"atkValue":2,"defValue":3},
|
||||
"yellowGateKeeper": {"name":"初级卫兵","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"blueGateKeeper": {"name":"中级卫兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redGateKeeper": {"name":"高级卫兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"magicMaster": {"name":"黑暗大法师","hp":100,"atk":120,"def":0,"money":12,"exp":0,"point":0,"timeCost":null,"special":11,"value":0.3333333333333333,"add":true,"notBomb":true},
|
||||
"devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0,"bigImage":"dragon_0.png"},
|
||||
"skeletonKnight": {"name":"骷髅武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"ironRock": {"name":"铁面人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"grayRock": {"name":"灰色石头人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"yellowPriest": {"name":"中级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"evilPrincess": {"name":"痛苦魔女","hp":1000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[10]},
|
||||
"blademaster": {"name":"剑圣","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"evilFairy": {"name":"黑暗仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"greenKnight": {"name":"强盾骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"bowman": {"name":"初级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"watcherSlime": {"name":"邪眼怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"devilKnight": {"name":"恶灵骑士","hp":150,"atk":100,"def":50,"money":0,"exp":0,"point":0,"timeCost":null,"special":[1,5,7,8]},
|
||||
"grayPriest": {"name":"混沌法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"greenGateKeeper": {"name":"卫兵队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"ghostSoldier": {"name":"冥队长","hp":200,"atk":100,"def":50,"money":0,"exp":0,"point":0,"timeCost":null,"special":8},
|
||||
"frostBat": {"name":"寒蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"blackKing": {"name":"黑衣魔王","hp":1000,"atk":500,"def":0,"money":1000,"exp":1000,"point":0,"timeCost":null,"special":0,"notBomb":true},
|
||||
"yellowKing": {"name":"黄衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"greenKing": {"name":"青衣武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"redKing": {"name":"红衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"blueKing": {"name":"白衣武士","hp":100,"atk":120,"def":0,"money":17,"exp":0,"point":0,"timeCost":null,"special":16},
|
||||
"keiskeiFairy": {"name":"铃兰花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"tulipFairy": {"name":"郁金香花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"purpleBowman": {"name":"高级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":0},
|
||||
"bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png"},
|
||||
"bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}},
|
||||
"bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}},
|
||||
"bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"timeCost":null,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}
|
||||
}
|
||||
+65
-8
@@ -1,31 +1,35 @@
|
||||
var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
{
|
||||
"yellowKey": {
|
||||
"cls": "tools",
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "黄钥匙",
|
||||
"text": "可以打开一扇黄门",
|
||||
"hideInToolbox": true
|
||||
},
|
||||
"blueKey": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "蓝钥匙",
|
||||
"text": "可以打开一扇蓝门",
|
||||
"hideInToolbox": true
|
||||
},
|
||||
"redKey": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "红钥匙",
|
||||
"text": "可以打开一扇红门",
|
||||
"hideInToolbox": true
|
||||
},
|
||||
"greenKey": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "绿钥匙",
|
||||
"text": "可以打开一扇绿门",
|
||||
"hideInToolbox": true
|
||||
"text": "可以打开一扇绿门"
|
||||
},
|
||||
"yellowKey2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "黄钥匙×2",
|
||||
"text": "获得两把黄钥匙",
|
||||
"itemEffect": "core.addItem('yellowKey', 2)",
|
||||
@@ -35,6 +39,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"blueKey2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "蓝钥匙×2",
|
||||
"text": "获得两把蓝钥匙",
|
||||
"itemEffect": "core.addItem('blueKey', 2)",
|
||||
@@ -44,6 +49,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"redKey2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "红钥匙×2",
|
||||
"text": "获得两把红钥匙",
|
||||
"itemEffect": "core.addItem('redKey', 2)",
|
||||
@@ -53,6 +59,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"greenKey2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "绿钥匙×2",
|
||||
"text": "获得两把绿钥匙",
|
||||
"itemEffect": "core.addItem('greenKey', 2)",
|
||||
@@ -62,6 +69,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"yellowKey3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "黄钥匙×3",
|
||||
"text": "获得三把黄钥匙",
|
||||
"itemEffect": "core.addItem('yellowKey', 3)",
|
||||
@@ -71,6 +79,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"blueKey3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "蓝钥匙×3",
|
||||
"text": "获得三把蓝钥匙",
|
||||
"itemEffect": "core.addItem('blueKey', 3)",
|
||||
@@ -80,6 +89,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"redKey3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "红钥匙×3",
|
||||
"text": "获得三把红钥匙",
|
||||
"itemEffect": "core.addItem('redKey', 3)",
|
||||
@@ -89,6 +99,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"greenKey3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "绿钥匙×3",
|
||||
"text": "获得三把绿钥匙",
|
||||
"itemEffect": "core.addItem('greenKey', 3)",
|
||||
@@ -98,6 +109,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"redGem": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "红宝石",
|
||||
"text": "攻击+${core.values.redGem}",
|
||||
"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
|
||||
@@ -107,6 +119,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"blueGem": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "蓝宝石",
|
||||
"text": ",防御+${core.values.blueGem}",
|
||||
"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
|
||||
@@ -116,6 +129,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"greenGem": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "绿宝石",
|
||||
"text": ",护盾+${core.values.greenGem}",
|
||||
"itemEffect": "core.status.hero.mdef += core.values.greenGem * core.status.thisMap.ratio",
|
||||
@@ -125,6 +139,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"yellowGem": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "黄宝石",
|
||||
"text": ",生命+${core.values.yellowGem},生命上限+${core.values.yellowGem}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.yellowGem * core.status.thisMap.ratio; core.status.hero.hpmax += core.values.yellowGem * core.status.thisMap.ratio",
|
||||
@@ -134,6 +149,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"redPotion": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "红血瓶",
|
||||
"text": ",生命+${core.values.redPotion}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.redPotion * core.status.thisMap.ratio",
|
||||
@@ -143,6 +159,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"bluePotion": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "蓝血瓶",
|
||||
"text": ",生命+${core.values.bluePotion}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.bluePotion * core.status.thisMap.ratio",
|
||||
@@ -152,6 +169,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"yellowPotion": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "黄血瓶",
|
||||
"text": ",生命+${core.values.yellowPotion}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.yellowPotion * core.status.thisMap.ratio",
|
||||
@@ -161,6 +179,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"greenPotion": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "绿血瓶",
|
||||
"text": ",生命+${core.values.greenPotion}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.greenPotion * core.status.thisMap.ratio",
|
||||
@@ -170,6 +189,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"redPotion2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "大红血瓶",
|
||||
"text": ",生命+${core.values.redPotion * 20}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.redPotion * 20 * core.status.thisMap.ratio",
|
||||
@@ -179,6 +199,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"bluePotion2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "大蓝血瓶",
|
||||
"text": ",生命+${core.values.bluePotion * 20}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.bluePotion * 20 * core.status.thisMap.ratio",
|
||||
@@ -188,6 +209,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"yellowPotion2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "大黄血瓶",
|
||||
"text": ",生命+${core.values.yellowPotion * 20}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.yellowPotion * 20 * core.status.thisMap.ratio",
|
||||
@@ -197,6 +219,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"greenPotion2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "大绿血瓶",
|
||||
"text": ",生命+${core.values.greenPotion * 20}",
|
||||
"itemEffect": "core.status.hero.hp += core.values.greenPotion * 20 * core.status.thisMap.ratio",
|
||||
@@ -206,6 +229,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword0": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "破旧的剑",
|
||||
"text": "一把已经生锈的剑",
|
||||
"equip": {
|
||||
@@ -220,6 +244,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword1": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "铁剑",
|
||||
"text": "一把很普通的铁剑",
|
||||
"equip": {
|
||||
@@ -234,6 +259,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "银剑",
|
||||
"text": "一把很普通的银剑",
|
||||
"equip": {
|
||||
@@ -248,6 +274,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "骑士剑",
|
||||
"text": "一把很普通的骑士剑",
|
||||
"equip": {
|
||||
@@ -262,6 +289,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword4": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "圣剑",
|
||||
"text": "一把很普通的圣剑",
|
||||
"equip": {
|
||||
@@ -276,6 +304,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"sword5": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "神圣剑",
|
||||
"text": "一把很普通的神圣剑",
|
||||
"equip": {
|
||||
@@ -290,6 +319,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield0": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "破旧的盾",
|
||||
"text": "一个很破旧的铁盾",
|
||||
"equip": {
|
||||
@@ -303,6 +333,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield1": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "铁盾",
|
||||
"text": "一个很普通的铁盾",
|
||||
"equip": {
|
||||
@@ -316,6 +347,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield2": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "银盾",
|
||||
"text": "一个很普通的银盾",
|
||||
"equip": {
|
||||
@@ -329,6 +361,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield3": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "骑士盾",
|
||||
"text": "一个很普通的骑士盾",
|
||||
"equip": {
|
||||
@@ -342,6 +375,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield4": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "圣盾",
|
||||
"text": "一个很普通的圣盾",
|
||||
"equip": {
|
||||
@@ -355,6 +389,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"shield5": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "神圣盾",
|
||||
"text": "一个很普通的神圣盾",
|
||||
"equip": {
|
||||
@@ -369,6 +404,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"superPotion": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "圣水",
|
||||
"itemEffect": "core.status.hero.hp *= 2",
|
||||
"itemEffectTip": ",生命值翻倍",
|
||||
@@ -378,6 +414,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"book": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "怪物手册",
|
||||
"text": "可以查看当前楼层各怪物属性",
|
||||
"hideInToolbox": true,
|
||||
@@ -386,6 +423,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"fly": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "楼层传送器",
|
||||
"text": "可以自由往来去过的楼层",
|
||||
"hideInReplay": true,
|
||||
@@ -395,11 +433,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"coin": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "幸运金币",
|
||||
"text": "持有时打败怪物可得双倍金币"
|
||||
},
|
||||
"freezeBadge": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "冰冻徽章",
|
||||
"text": "可以将面前的熔岩变成平地",
|
||||
"useItemEffect": "(function () {\n\tvar success = false;\n\n\tvar snowFourDirections = false; // 是否多方向雪花;如果是将其改成true\n\tif (snowFourDirections) {\n\t\t// 多方向雪花\n\t\tfor (var direction in core.utils.scan) { // 多方向雪花默认四方向,如需改为八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (core.getBlockId(nx, ny) == 'lava') {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (core.getBlockId(core.nextX(), core.nextY()) == 'lava') {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('打开界面');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
|
||||
@@ -407,21 +447,25 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"cross": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "十字架",
|
||||
"text": "持有后无视怪物的无敌属性"
|
||||
},
|
||||
"dagger": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "屠龙匕首",
|
||||
"text": "该道具尚未被定义"
|
||||
},
|
||||
"amulet": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "护符",
|
||||
"text": "持有时无视负面地形"
|
||||
},
|
||||
"bigKey": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "大黄门钥匙",
|
||||
"text": "可以开启当前层所有黄门",
|
||||
"itemEffect": "core.addItem('yellowKey', 1);\ncore.addItem('blueKey', 1);\ncore.addItem('redKey', 1);",
|
||||
@@ -429,18 +473,15 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"useItemEffect": "(function () {\n\tvar actions = core.searchBlock(\"yellowDoor\").map(function (block) {\n\t\treturn { \"type\": \"openDoor\", \"loc\": [block.x, block.y], \"async\": true };\n\t});\n\tactions.push({ \"type\": \"waitAsync\" });\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();",
|
||||
"canUseItemEffect": "(function () {\n\treturn core.searchBlock('yellowDoor').length > 0;\n})();"
|
||||
},
|
||||
"greenKey": {
|
||||
"cls": "tools",
|
||||
"name": "绿钥匙",
|
||||
"text": "可以打开一扇绿门"
|
||||
},
|
||||
"steelKey": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "铁门钥匙",
|
||||
"text": "可以打开一扇铁门"
|
||||
},
|
||||
"pickaxe": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "破墙镐",
|
||||
"text": "可以破坏勇士面前的墙",
|
||||
"useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\n\tvar success = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
|
||||
@@ -448,6 +489,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"icePickaxe": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "破冰镐",
|
||||
"text": "可以破坏勇士面前的一堵冰墙",
|
||||
"useItemEffect": "(function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\tcore.insertAction({ \"type\": \"openDoor\", \"loc\": [\"core.nextX()\", \"core.nextY()\"] });\n})();",
|
||||
@@ -455,6 +497,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"bomb": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "炸弹",
|
||||
"text": "可以炸掉勇士面前的怪物",
|
||||
"useItemEffect": "(function () {\n\tvar bombList = []; // 炸掉的怪物坐标列表\n\tvar todo = []; // 炸弹后事件\n\tvar money = 0,\n\t\texp = 0; // 炸弹获得的金币和经验\n\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar bomb = function (x, y) {\n\t\tif (!canBomb(x, y)) return;\n\t\tbombList.push([x, y]);\n\t\tvar id = core.getBlockId(x, y),\n\t\t\tenemy = core.material.enemys[id];\n\t\tmoney += core.getEnemyValue(enemy, 'money', x, y) || 0;\n\t\texp += core.getEnemyValue(enemy, 'exp', x, y) || 0;\n\t\tcore.push(todo, core.floors[core.status.floorId].afterBattle[x + \",\" + y]);\n\t\tcore.push(todo, enemy.afterBattle);\n\t\tcore.removeBlock(x, y);\n\t}\n\n\t// 如果要多方向可炸,把这里的false改成true\n\tif (false) {\n\t\tvar scan = core.utils.scan; // 多方向炸时默认四方向,如果要改成八方向炸可以改成 core.utils.scan2\n\t\tfor (var direction in scan) {\n\t\t\tvar delta = scan[direction];\n\t\t\tbomb(core.getHeroLoc('x') + delta.x, core.getHeroLoc('y') + delta.y);\n\t\t}\n\t} else {\n\t\t// 仅炸当前\n\t\tbomb(core.nextX(), core.nextY());\n\t}\n\n\tif (bombList.length == 0) {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('当前无法使用' + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\n\t// 取消这里的注释可以炸弹后获得金币和经验\n\t// core.status.hero.money += money;\n\t// core.status.hero.exp += exp;\n\n\t// 取消这里的注释可以炸弹引发战后事件\n\t// if (todo.length > 0) core.insertAction(todo);\n\n})();",
|
||||
@@ -462,6 +505,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"centerFly": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "中心对称飞行器",
|
||||
"text": "可以飞向当前楼层中心对称的位置",
|
||||
"useItemEffect": "core.playSound('centerFly.mp3');\ncore.clearMap('hero');\ncore.setHeroLoc('x', core.bigmap.width - 1 - core.getHeroLoc('x'));\ncore.setHeroLoc('y', core.bigmap.height - 1 - core.getHeroLoc('y'));\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
|
||||
@@ -469,6 +513,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"upFly": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "上楼器",
|
||||
"text": "可以飞往楼上的相同位置",
|
||||
"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) + 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
|
||||
@@ -476,6 +521,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"downFly": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "下楼器",
|
||||
"text": "可以飞往楼下的相同位置",
|
||||
"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) - 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
|
||||
@@ -483,6 +529,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"earthquake": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "地震卷轴",
|
||||
"text": "可以破坏当前层的所有墙",
|
||||
"useItemEffect": "(function () {\n\tvar indexes = [];\n\tfor (var index in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[index];\n\t\tif (!block.disable && block.event.canBreak) {\n\t\t\tindexes.push(index);\n\t\t}\n\t}\n\tcore.removeBlockByIndexes(indexes);\n\tcore.redrawMap();\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n})();",
|
||||
@@ -490,6 +537,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"poisonWine": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "解毒药水",
|
||||
"text": "可以解除中毒状态",
|
||||
"useItemEffect": "core.triggerDebuff('remove', 'poison');",
|
||||
@@ -497,6 +545,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"weakWine": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "解衰药水",
|
||||
"text": "可以解除衰弱状态",
|
||||
"useItemEffect": "core.triggerDebuff('remove', 'weak');",
|
||||
@@ -504,6 +553,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"curseWine": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "解咒药水",
|
||||
"text": "可以解除诅咒状态",
|
||||
"useItemEffect": "core.triggerDebuff('remove', 'curse');",
|
||||
@@ -511,6 +561,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"superWine": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "万能药水",
|
||||
"text": "可以解除所有不良状态",
|
||||
"useItemEffect": "core.triggerDebuff('remove', ['poison', 'weak', 'curse']);",
|
||||
@@ -518,11 +569,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"hammer": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "圣锤",
|
||||
"text": "该道具尚未被定义"
|
||||
},
|
||||
"lifeWand": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "生命魔杖",
|
||||
"text": "可以恢复100点生命值",
|
||||
"useItemEvent": [
|
||||
@@ -581,6 +634,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"jumpShoes": {
|
||||
"cls": "tools",
|
||||
"timeCost": null,
|
||||
"name": "跳跃靴",
|
||||
"text": "能跳跃到前方两格处",
|
||||
"useItemEffect": "core.playSound(\"跳跃\");\ncore.insertAction({ \"type\": \"jumpHero\", \"loc\": [core.nextX(2), core.nextY(2)] });",
|
||||
@@ -588,6 +642,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"skill1": {
|
||||
"cls": "constants",
|
||||
"timeCost": null,
|
||||
"name": "技能:二倍斩",
|
||||
"text": "可以打开或关闭主动技能二倍斩",
|
||||
"hideInReplay": true,
|
||||
@@ -596,10 +651,12 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"wand": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "新物品"
|
||||
},
|
||||
"pack": {
|
||||
"cls": "items",
|
||||
"timeCost": null,
|
||||
"name": "钱袋",
|
||||
"itemEffect": "core.status.hero.money += 500",
|
||||
"itemEffectTip": ",金币+500"
|
||||
|
||||
+102
-1
@@ -2656,6 +2656,107 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"mapTurn": function () {
|
||||
var __enable = false;
|
||||
|
||||
function ensureFlags() {
|
||||
var m = core.getFlag("mapTurnState");
|
||||
if (m == null || typeof m !== "object") {
|
||||
core.setFlag("mapTurnState", {
|
||||
clock: 0,
|
||||
mapTurn: 0,
|
||||
enemyActionGauge: {},
|
||||
activeEnemiesByFloor: {},
|
||||
activeEnemiesVersion: 0
|
||||
});
|
||||
} else {
|
||||
if (m.clock == null) m.clock = 0;
|
||||
if (m.mapTurn == null) m.mapTurn = 0;
|
||||
if (!m.enemyActionGauge) m.enemyActionGauge = {};
|
||||
if (!m.activeEnemiesByFloor) m.activeEnemiesByFloor = {};
|
||||
if (m.activeEnemiesVersion == null) m.activeEnemiesVersion = 0;
|
||||
}
|
||||
var sk = core.getFlag("skillState");
|
||||
if (sk == null || typeof sk !== "object") {
|
||||
core.setFlag("skillState", { activeStatusSkills: {}, activeBattleSkillId: null, temp: {} });
|
||||
} else {
|
||||
if (!sk.activeStatusSkills) sk.activeStatusSkills = {};
|
||||
if (sk.activeBattleSkillId === undefined) sk.activeBattleSkillId = null;
|
||||
if (!sk.temp) sk.temp = {};
|
||||
}
|
||||
}
|
||||
|
||||
this.mapTurn = {
|
||||
isEnabled: function () {
|
||||
return __enable;
|
||||
},
|
||||
setEnabled: function (v) {
|
||||
__enable = !!v;
|
||||
},
|
||||
consumeTime: function (deltaTime, reason) {
|
||||
if (!__enable || !deltaTime || deltaTime <= 0) return;
|
||||
ensureFlags();
|
||||
var n = Math.floor(deltaTime);
|
||||
var s = core.getFlag("mapTurnState");
|
||||
s.clock = (s.clock || 0) + n;
|
||||
for (var i = 0; i < n; i++)
|
||||
this.advanceMapTurnOne(reason);
|
||||
},
|
||||
advanceMapTurnOne: function (reason) {
|
||||
if (!__enable) return;
|
||||
ensureFlags();
|
||||
var s = core.getFlag("mapTurnState");
|
||||
s.mapTurn = (s.mapTurn || 0) + 1;
|
||||
this.resolveEnemyActionsForSingleTick(reason);
|
||||
},
|
||||
resolveEnemyActionsForSingleTick: function (reason) {
|
||||
/* 占位:按 docs/map-turn-spec.md §6.2 接入 activeEnemies 与怪物行动 */
|
||||
},
|
||||
rebuildActiveEnemies: function (floorId) {
|
||||
ensureFlags();
|
||||
var s = core.getFlag("mapTurnState");
|
||||
floorId = floorId || core.status.floorId;
|
||||
if (!floorId) return;
|
||||
if (!s.activeEnemiesByFloor) s.activeEnemiesByFloor = {};
|
||||
s.activeEnemiesByFloor[floorId] = [];
|
||||
s.activeEnemiesVersion = (s.activeEnemiesVersion || 0) + 1;
|
||||
},
|
||||
patchActiveEnemiesForBlockChange: function (floorId, hint) {
|
||||
ensureFlags();
|
||||
},
|
||||
settleBattleTimeCost: function () {
|
||||
ensureFlags();
|
||||
var baseBattleTimeCost = 1;
|
||||
var statusBattleTimeCostMax = 0;
|
||||
var skills = core.getFlag("skillState").activeStatusSkills || {};
|
||||
for (var skillId in skills) {
|
||||
var st = skills[skillId];
|
||||
var v = st && st.battleTimeCost;
|
||||
if (typeof v === "number" && v > statusBattleTimeCostMax) statusBattleTimeCostMax = v;
|
||||
}
|
||||
return Math.max(baseBattleTimeCost, statusBattleTimeCostMax);
|
||||
},
|
||||
applyStatusAfterBattle: function (battleResult) {
|
||||
if (battleResult !== "success") return;
|
||||
ensureFlags();
|
||||
var skills = core.getFlag("skillState").activeStatusSkills || {};
|
||||
for (var skillId in skills) {
|
||||
var state = skills[skillId];
|
||||
if (typeof state.remainBattles === "number") {
|
||||
state.remainBattles -= 1;
|
||||
if (state.remainBattles <= 0) delete skills[skillId];
|
||||
}
|
||||
}
|
||||
},
|
||||
clearOnDeath: function () {
|
||||
ensureFlags();
|
||||
var ss = core.getFlag("skillState");
|
||||
ss.temp = {};
|
||||
ss.activeBattleSkillId = null;
|
||||
ss.activeStatusSkills = {};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user