Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance of movieClip {
- onClipEvent (enterFrame) {
- fr = _root.dungeonRoomChest[_root.dungeonRoom] + 1;
- gotoAndStop(fr);
- if (Key.isDown(16)) {
- if (_root.dungeonRoomChest[_root.dungeonRoom] == 1) {
- _root.dungeonRoomChest[_root.dungeonRoom] = 2;
- _root.dungeonChestOpen += 1;
- _root.fightStat = 'Treasure Chests: ' + _root.dungeonChestOpen + ' / 10';
- if (Math.random() < 0.01 * _root.dungeonChestOpen) {
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot9', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- }
- if (_root.dungeonChestOpen == 1) {
- valueX = 100000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- } else {
- if (_root.dungeonChestOpen == 2) {
- valueX = 200000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- } else {
- if (_root.dungeonChestOpen == 3) {
- valueX = 300000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 4) {
- valueX = 400000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 5) {
- valueX = 500000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 6) {
- valueX = 600000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 7) {
- valueX = 700000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 8) {
- valueX = 800000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- if (_root.dungeonChestOpen == 9) {
- valueX = 900000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- if (_root.dungeonChestOpen == 10) {
- if (_root.endlessFloor < 10) {
- valueX = 1000000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- itemToGet = random(5) + 1;
- if (_root.worstMoon == true || _root.endlessFloor % 5 == 0) {
- itemToGet = random(10) + 1;
- }
- holyNoLife = true;
- if (_root.save.arenaHardcore == true && _root.endlessFloor >= 5) {
- holyNoLife = false;
- }
- holyUnob = 6;
- if (_root.save.arenaHardcore == true) {
- holyUnob += 4;
- }
- if (_root.worstMoon == true) {
- holyUnob += 10;
- }
- if (_root.apocalypse == true) {
- holyUnob += 10;
- }
- _root.incDt2();
- if (itemToGet == 1) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Hat', 'reqRank': 363, 'subtype': 'Hat', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 2) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Shirt', 'reqRank': 363, 'subtype': 'Shirt', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 3) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Gloves', 'reqRank': 363, 'subtype': 'Gloves', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 4) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Pants', 'reqRank': 363, 'subtype': 'Pants', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 5) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Shoes', 'reqRank': 363, 'subtype': 'Shoes', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 6) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Hat', 'reqRank': 413, 'subtype': 'Hat', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 7) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Shirt', 'reqRank': 413, 'subtype': 'Shirt', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 8) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Gloves', 'reqRank': 413, 'subtype': 'Gloves', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 9) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Pants', 'reqRank': 413, 'subtype': 'Pants', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 10) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Shoes', 'reqRank': 413, 'subtype': 'Shoes', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- onClipEvent (release) {
- if (_root.dungeonRoomChest[_root.dungeonRoom] == 1) {
- _root.dungeonRoomChest[_root.dungeonRoom] = 2;
- _root.dungeonChestOpen += 1;
- _root.fightStat = 'Treasure Chests: ' + _root.dungeonChestOpen + ' / 10';
- if (Math.random() < 0.01 * _root.dungeonChestOpen) {
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot9', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- }
- if (_root.dungeonChestOpen == 1) {
- valueX = 100000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- } else {
- if (_root.dungeonChestOpen == 2) {
- valueX = 200000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- } else {
- if (_root.dungeonChestOpen == 3) {
- valueX = 300000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 4) {
- valueX = 400000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 5) {
- valueX = 500000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 6) {
- valueX = 600000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 7) {
- valueX = 700000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 1});
- } else {
- if (_root.dungeonChestOpen == 8) {
- valueX = 800000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- if (_root.dungeonChestOpen == 9) {
- valueX = 900000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- if (_root.dungeonChestOpen == 10) {
- if (_root.endlessFloor < 10) {
- valueX = 1000000 * _root.endlessFloor;
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot7', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': valueX});
- _root.incDt2();
- _root.house.arena.stuffHolder.attachMovie('newLoot11', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'lootValue': 2});
- } else {
- itemToGet = random(5) + 1;
- if (_root.worstMoon == true || _root.endlessFloor % 5 == 0 && _root.endlessFloor >= 30) {
- itemToGet = random(10) + 1;
- }
- holyNoLife = true;
- if (_root.save.arenaHardcore == true && _root.endlessFloor >= 5) {
- holyNoLife = false;
- }
- holyUnob = 6;
- if (_root.save.arenaHardcore == true) {
- holyUnob += 4;
- }
- if (_root.worstMoon == true) {
- holyUnob += 10;
- }
- if (_root.apocalypse == true) {
- holyUnob += 10;
- }
- _root.incDt2();
- if (itemToGet == 1) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Hat', 'reqRank': 363, 'subtype': 'Hat', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 2) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Shirt', 'reqRank': 363, 'subtype': 'Shirt', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 3) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Gloves', 'reqRank': 363, 'subtype': 'Gloves', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 4) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Pants', 'reqRank': 363, 'subtype': 'Pants', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 5) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 175, 'name': 'Dragon Slayer Shoes', 'reqRank': 363, 'subtype': 'Shoes', 'attack': 40 + _root.endlessFloor * 4, 'defense': 400 + _root.endlessFloor * 40, 'speed': 0, 'crit': 20 + _root.endlessFloor * 2, 'dexterity': 10 + _root.endlessFloor * 1, 'health': 10 + _root.endlessFloor * 1, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 44, 'expTNL': 700000000, 'sell': 1000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 4, 'bonusPow': _root.endlessFloor * 70, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 6) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Hat', 'reqRank': 413, 'subtype': 'Hat', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 7) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Shirt', 'reqRank': 413, 'subtype': 'Shirt', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 8) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Gloves', 'reqRank': 413, 'subtype': 'Gloves', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 9) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Pants', 'reqRank': 413, 'subtype': 'Pants', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- if (itemToGet == 10) {
- _root.house.arena.stuffHolder.attachMovie('invenLoot', 'newLoot' + _root.summonCount, _root.antiLag2 + 100, {'x': 340, 'y': 150, 'type': 'Armor', 'frame': 176, 'name': 'Demon Slayer Shoes', 'reqRank': 413, 'subtype': 'Shoes', 'attack': 60 + _root.endlessFloor * 6, 'defense': 600 + _root.endlessFloor * 60, 'speed': 0, 'crit': 30 + _root.endlessFloor * 3, 'dexterity': 20 + _root.endlessFloor * 2, 'health': 20 + _root.endlessFloor * 2, 'bonus': 'Spawn Rate', 'ability': 'Attack', 'moreBonus': 'Attack Power', 'maxLevel': 66, 'expTNL': 2700000000.0, 'sell': 10000000 * _root.endlessFloor, 'expiry': (50 + _root.endlessFloor) * 86400000, 'enhance': 6, 'bonusPow': _root.endlessFloor * 110, 'unob': holyUnob, 'noBonus': false, 'noLife': holyNoLife, 'noRecycle': false, 'noFuse': false, 'spirit': false, 'desc': 'An item awarded for opening all 10 Treasure Chests on Floor ' + _root.endlessFloor + ' of Endless Dungeon.'});
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment