PDA

Просмотр полной версии : [10347] Fixed wrong ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION (46) check.


newsbot
12.08.2010, 00:21
<pre>m src/game/AchievementMgr.cpp
m src/game/AchievementMgr.h
m src/game/Level3.cpp
m src/shared/revision_nr.h

[10347] Fixed wrong ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION (46) check.

In result wrong check characters complete
exalted reputation achievements at create or any reputation change event
with negative reputation. Fix prevent new cases but not do anything with
already wrongly recieved ahcievements.

Also:
* Avoid use PROGRESS_SET at normal achievment criteria progress update
becase achivement/counter in normal way can't decrease.
* At achievment criteria progress loading check that progress counter less
or equal max counter value.</pre>



Дальше... (http://github.com/mangos/mangos/commit/e898b9fc5c0c66099b112ae9745ffc75aa642ef7)