mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[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.
This commit is contained in:
parent
0c636c6e3e
commit
9b6900b9a3
4 changed files with 30 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9025"
|
||||
#define REVISION_NR "9026"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue