#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
|
|
@ -123,7 +123,7 @@ public static class SkillCheck
|
|||
{
|
||||
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;
|
||||
gc += (skill.Cap - skill.Base) / skill.Cap;
|
||||
|
|
@ -146,7 +146,7 @@ public static class SkillCheck
|
|||
|
||||
if (from.Region is NewbieDungeonRegion)
|
||||
{
|
||||
gc *= 3.0;
|
||||
gc *= 2.5;
|
||||
}
|
||||
else if (DailyDungeonManager.IsActive(from.Region))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue