#W# Typo: Fixed a Typo.
This commit is contained in:
parent
17f0b6926c
commit
c789630cd5
3 changed files with 5 additions and 5 deletions
|
|
@ -205,7 +205,7 @@ namespace Server.Misc
|
|||
|
||||
m.Karma = newKarma;
|
||||
|
||||
if (message && offset != 0)
|
||||
if (message)
|
||||
{
|
||||
SendKarmaMessage(m, offset);
|
||||
}
|
||||
|
|
@ -252,7 +252,7 @@ namespace Server.Misc
|
|||
|
||||
m.Karma += offset;
|
||||
|
||||
if (message)
|
||||
if (message && offset != 0)
|
||||
{
|
||||
SendKarmaMessage(m, offset);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ namespace Server
|
|||
public static double RegionDungeonTrapsChance()
|
||||
{
|
||||
int chance = Settings.S_RegionDungeonTrapsChance;
|
||||
if (chance > 100)
|
||||
chance = 100;
|
||||
if (chance > 10)
|
||||
chance = 10;
|
||||
if (chance < 1 )
|
||||
chance = 1;
|
||||
return (double)chance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue