#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;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server
|
|||
public static int S_DungeonBountyRefusalDelay = 10; // 1-1440 minutes delay between refusing a quest
|
||||
public static bool S_DungeonTraps = false; // Spawns Dugeon floor traps
|
||||
public static bool S_RegionDungeonTraps = true; // Step activated dungeon traps
|
||||
public static int S_RegionDungeonTrapsChance = 3; // 1-100 Chance to get a trap check per step
|
||||
public static int S_RegionDungeonTrapsChance = 3; // 1-10 Chance to get a trap check per step
|
||||
public static bool S_TrapDetected = false; // Get a message if the trap gets detected
|
||||
public static bool S_TrapDamageMitigated = true; // Get a message if the trap damage gets mitigated
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue