Ezzz-dev / Nostalrius

Nostalrius is a 7.7 Tibia Clone Project based on The Forgotten Server 1.2 and CipSoft files.
99 stars 70 forks source link

Monsters attacks bug #38

Closed tarantonio closed 5 years ago

tarantonio commented 5 years ago

It seems to be a problem with monsters, they are not attacking players as the xml file is coded. Examples: Orc spearman, dragon, warlock...

An orc spearman can stay minutes without any spear attack. orcs Compared to OTHire: orcsothire

Ezzz-dev commented 5 years ago

As people have reported on otland, it seems the issue is only related to the random function from TFS, that calling uniform_random solves it instead, if someone could test and report, would be appreciated.

Ezzz-dev commented 5 years ago

Should be fixed, normal_random vs uniform_random .