#W# Added: New player area at the entrance of the dungeon. Added some npcs.
This commit is contained in:
parent
48358c80df
commit
6cd2f766da
3 changed files with 87 additions and 2 deletions
72
Distribution/Data/Spawns/Overworld/NewPlayerArea_NPCs.json
Normal file
72
Distribution/Data/Spawns/Overworld/NewPlayerArea_NPCs.json
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"$type": "Spawner",
|
||||||
|
"guid": "62ea3b2f-2896-4684-8b0b-06d12a790b22",
|
||||||
|
"location": [1620, 2074, 22],
|
||||||
|
"map": "Veridia",
|
||||||
|
"count": 1,
|
||||||
|
"minDelay": "00:05:00",
|
||||||
|
"maxDelay": "00:10:00",
|
||||||
|
"spawnBounds": { "x1": 1620, "y1": 2074, "z1": 22, "x2": 1621, "y2": 2075, "z2": 128 },
|
||||||
|
"walkingRange": 4,
|
||||||
|
"entries": [
|
||||||
|
{ "name": "provisioner", "probability": 100, "maxCount": 1 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Spawner",
|
||||||
|
"guid": "fd2c78f7-cb34-483c-bb9d-b17b037337e1",
|
||||||
|
"location": [1618, 2079, 22],
|
||||||
|
"map": "Veridia",
|
||||||
|
"count": 1,
|
||||||
|
"minDelay": "00:05:00",
|
||||||
|
"maxDelay": "00:10:00",
|
||||||
|
"spawnBounds": { "x1": 1618, "y1": 2079, "z1": 22, "x2": 1619, "y2": 2080, "z2": 128 },
|
||||||
|
"walkingRange": 6,
|
||||||
|
"entries": [
|
||||||
|
{ "name": "healer", "probability": 100, "maxCount": 1 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Spawner",
|
||||||
|
"guid": "13a41f80-6c46-4c0a-95e1-6407f1db6507",
|
||||||
|
"location": [1619, 2084, 22],
|
||||||
|
"map": "Veridia",
|
||||||
|
"count": 1,
|
||||||
|
"minDelay": "00:05:00",
|
||||||
|
"maxDelay": "00:10:00",
|
||||||
|
"spawnBounds": { "x1": 1619, "y1": 2084, "z1": 22, "x2": 1620, "y2": 2085, "z2": 128 },
|
||||||
|
"walkingRange": 4,
|
||||||
|
"entries": [
|
||||||
|
{ "name": "mage", "probability": 100, "maxCount": 1 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Spawner",
|
||||||
|
"guid": "cad4963a-d076-4280-966b-aa983a077388",
|
||||||
|
"location": [1621, 2084, 22],
|
||||||
|
"map": "Veridia",
|
||||||
|
"count": 1,
|
||||||
|
"minDelay": "00:05:00",
|
||||||
|
"maxDelay": "00:10:00",
|
||||||
|
"spawnBounds": { "x1": 1621, "y1": 2084, "z1": 22, "x2": 1622, "y2": 2085, "z2": 128 },
|
||||||
|
"walkingRange": 4,
|
||||||
|
"entries": [
|
||||||
|
{ "name": "armorer", "probability": 100, "maxCount": 1 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Spawner",
|
||||||
|
"guid": "fb4c508a-be8b-4a59-9b83-7b1eb7a84025",
|
||||||
|
"location": [1623, 2074, 22],
|
||||||
|
"map": "Veridia",
|
||||||
|
"count": 1,
|
||||||
|
"minDelay": "00:05:00",
|
||||||
|
"maxDelay": "00:10:00",
|
||||||
|
"spawnBounds": { "x1": 1623, "y1": 2074, "z1": 22, "x2": 1624, "y2": 2075, "z2": 128 },
|
||||||
|
"walkingRange": 4,
|
||||||
|
"entries": [
|
||||||
|
{ "name": "alchemist", "probability": 100, "maxCount": 1 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
@ -2421,6 +2421,19 @@
|
||||||
{ "x1": 3415, "y1": 3702, "x2": 3425, "y2": 3717 }
|
{ "x1": 3415, "y1": 3702, "x2": 3425, "y2": 3717 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$type": "GreetingTownRegion",
|
||||||
|
"Map": "Veridia",
|
||||||
|
"Name": "the New Player Area",
|
||||||
|
"Priority": 60,
|
||||||
|
"Area": [
|
||||||
|
{ "x1": 1605, "y1": 2063, "x2": 1638, "y2": 2101 },
|
||||||
|
{ "x1": 1638, "y1": 2072, "x2": 1642, "y2": 2100 },
|
||||||
|
{ "x1": 1641, "y1": 2071, "x2": 1652, "y2": 2072 },
|
||||||
|
{ "x1": 1642, "y1": 2072, "x2": 1652, "y2": 2082 },
|
||||||
|
{ "x1": 1642, "y1": 2082, "x2": 1650, "y2": 2096 }
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$type": "NewbieDungeonRegion",
|
"$type": "NewbieDungeonRegion",
|
||||||
"Map": "Underworld",
|
"Map": "Underworld",
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ public static class SkillCheck
|
||||||
{
|
{
|
||||||
Gain(from, skill);
|
Gain(from, skill);
|
||||||
}
|
}
|
||||||
else if (AllowGain(from, skill, amObj))
|
else if (success && AllowGain(from, skill, amObj))
|
||||||
{
|
{
|
||||||
var gc = (double)(from.Skills.Cap - from.Skills.Total) / from.Skills.Cap;
|
var gc = (double)(from.Skills.Cap - from.Skills.Total) / from.Skills.Cap;
|
||||||
gc += (skill.Cap - skill.Base) / skill.Cap;
|
gc += (skill.Cap - skill.Base) / skill.Cap;
|
||||||
|
|
@ -146,7 +146,7 @@ public static class SkillCheck
|
||||||
|
|
||||||
if (from.Region is NewbieDungeonRegion)
|
if (from.Region is NewbieDungeonRegion)
|
||||||
{
|
{
|
||||||
gc *= 3.0;
|
gc *= 2.5;
|
||||||
}
|
}
|
||||||
else if (DailyDungeonManager.IsActive(from.Region))
|
else if (DailyDungeonManager.IsActive(from.Region))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue