whitevo
Feeling good, thats what I do.
as expected. Nop
Although I did something friday night.
I think I finally got all the boss features in one place. That was so awful xD, scripts were practically every main folder.
Anyway. First glance how does my new boss generating config looks like with the "Central System":
Although I did something friday night.
I think I finally got all the boss features in one place. That was so awful xD, scripts were practically every main folder.
Anyway. First glance how does my new boss generating config looks like with the "Central System":
Code:
local AIDT = AID.areas.archanosRoom
local confT = {
bossArea = {upCorner = {x = 454, y = 554, z = 6}, downCorner = {x = 468, y = 560, z = 6}},
}
archanosRoom = {
name = "Archanos boss room",
area = {
areaCorners = {
{upCorner = {x = 445, y = 550, z = 5}, downCorner = {x = 472, y = 564, z = 5}},
confT.bossArea,
},
},
AIDItems = {
[AIDT.redBook] = {funcSTR = "herbs_discoverHint"},
},
bossRoom = {
upCorner = confT.bossArea.upCorner,
downCorner = confT.bossArea.downCorner,
roomAID = AIDT.lever,
kickAID = AIDT.kickLever,
leaveAID = AIDT.leave,
signAID = AIDT.sign,
highscoreAID = AIDT.highscores,
quePos = {{x = 454, y = 556, z = 5}, {x = 453, y = 556, z = 5}},
enterPos = {{x = 454, y = 556, z = 6}, {x = 454, y = 557, z = 6}},
kickPos = {x = 445, y = 555, z = 5},
bossPos = {x = 467, y = 556, z = 6},
bossName = "archanos",
clearObjects = {1500},
respawnCost = 8,
bountyStr = "archanosBounty",
respawnSV = SV.ArchanosRespawn,
killSV = SV.archanosKill,
rewardExp = 30,
},
monsters = {
["archanos"] = {
name = "Archanos",
reputationPoints = 6,
race = "human",
task = {
groupID = 5,
requiredSV = {[SV.bandithunterTaskOnce] = 1, [SV.banditKnightTaskOnce] = 1, [SV.banditMageTaskOnce] = 1, [SV.banditDruidTaskOnce] = 1},
answer = {"There is big shot in Bandit Mountains, 'Archanos'. Go deal with him and perhaps the bandit attacks will reduce."},
killsRequired = 1,
storageID = SV.archanosTask,
storageID2 = SV.archanosTaskOnce,
skillPoints = 2,
location = "west Bandit mountain",
reputation = 15,
},
bossRoomAID = AIDT.lever,
},
},
monsterResistance = {
["archanos"] = {
PHYSICAL = -10,
ICE = 35,
EARTH = -20,
FIRE = 60,
HOLY = 20,
DEATH = -50,
ENERGY = 50,
},
},
monsterLoot = {
["archanos"] = {
storage = SV.archanos,
[8707] = {chance = 5, mage = 15, druid = 15, firstTime = 20, partyBoost = "false"}, -- thunder book
[7696] = {chance = 8, aid = {1104, 1105, 1106, 1124}, partyBoost = "false"}, -- SpellScroll: shiver / rubydef / death / volley
[2542] = {chance = 5, knight = 15, firstTime = 20, partyBoost = "false"}, -- zvoid shield
[2558] = {chance = 55, aid = 108, partyBoost = "false"}, -- saw
["bounty"] = {[2148] = {amount = "archanosBounty"}}, -- coin
[2148] = {staged = {100,50,25}, count = {3,2,5}}, -- coin
[9970] = {staged = {9,9,9,9,9}, count = {}}, -- Ice Gem
[2146] = {staged = {9,9,9,9,9}, count = {}}, -- Energy gem
[2147] = {staged = {9,9,9,9,9}, count = {}}, -- fire gem
[2666] = {chance = 60, count = 2}, -- meat
[2674] = {chance = 30, count = 5}, -- apple
[2643] = {chance = 15}, -- leather boots
},
},
monsterSpells = {
["archanos"] = {
["archanos ice aura"] = {{},{},{}},
["archanos fire aura"] = {{},{},{}},
["archanos electric shot"] = {{},{},{}},
["archanos teleport"] = {{},{},{}},
["archanos field bombs"] = {{},{},{}},
["damage: cd=500, d=30-80"] = {{},{},{}},
["damage: cd=2000, d=5-25, r=7, t=LD, fe=11"] = {{},{},{}},
},
},
}
table.insert(bossRoomT, archanosRoom)