newsbot
19.12.2009, 18:20
<pre>m src/game/AchievementMgr.cpp
m src/game/AchievementMgr.h
m src/game/InstanceData.h
m src/shared/revision_nr.h
[9026] Implement ACHIEVEMENT_CRITERIA_REQUIRE_INSTANCE_SCRIPT.
This achievement criteria requirement type let set in table `achievement_criteria_requirement`
that specific criteria id for achievmenet connected with some instance
must be checked by new InstanceData call
bool CheckAchievementCriteriaMeet(uint32 criteria_id,Player const* source, Unit const* target, uint32 miscvalue1)
It expected to be used for cases: kill boss without raid members death or for some limited time
or without kill before some other boss helpers and etc. Implementation expected base at collection some data/counters update
in instance data at specific event and then make check by query and retunr success for specific criteri or fail requirements.</pre>
Дальше... (http://github.com/mangos/mangos/commit/1b870143d630bf4881ba3b05e4de6b992ce9bc11)
m src/game/AchievementMgr.h
m src/game/InstanceData.h
m src/shared/revision_nr.h
[9026] Implement ACHIEVEMENT_CRITERIA_REQUIRE_INSTANCE_SCRIPT.
This achievement criteria requirement type let set in table `achievement_criteria_requirement`
that specific criteria id for achievmenet connected with some instance
must be checked by new InstanceData call
bool CheckAchievementCriteriaMeet(uint32 criteria_id,Player const* source, Unit const* target, uint32 miscvalue1)
It expected to be used for cases: kill boss without raid members death or for some limited time
or without kill before some other boss helpers and etc. Implementation expected base at collection some data/counters update
in instance data at specific event and then make check by query and retunr success for specific criteri or fail requirements.</pre>
Дальше... (http://github.com/mangos/mangos/commit/1b870143d630bf4881ba3b05e4de6b992ce9bc11)