hch
2025-10-14 47813c8aef184ab6bc6f4556d2a18303a2a31d47
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
@@ -509,7 +509,7 @@
def CanHappen(rate, maxRate=ShareDefine.Def_MaxRateValue):
    if rate <= 0:
        return 0
    if random.randint(0, maxRate -1) < rate:
    if rate >= maxRate or random.randint(0, maxRate -1) < rate:
        return 1
    
    return 0