#W# Traps: Added Dungeon traps that are step based but can be avoided with skill/armor/stats. New settings in Settings.cs

This commit is contained in:
WarrentyExpired 2026-10-14 15:19:54 -04:00
parent c66ce46f90
commit c43f543611
6 changed files with 294 additions and 6 deletions

View file

@ -64,5 +64,14 @@ namespace Server
mins = 1;
return (double)mins;
}
public static double RegionDungeonTrapsChance()
{
int chance = Settings.S_RegionDungeonTrapsChance;
if (chance > 100)
chance = 100;
if (chance < 1 )
chance = 1;
return (double)chance;
}
}
}