Commit graph

21 commits

Author SHA1 Message Date
patman128
4372a956dc [10965] Fixed typo in faction state changes flags reset.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-05 06:36:33 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
VladimirMangos
26668c067b [10780] Fixed warning in ReputationMgr::SetReputation. 2010-11-24 00:13:16 +03:00
Lynx3d
10a1573c8e [10775] Use separate vars to indicate whether reputation needs to be sent or needs to be saved. 2010-11-22 00:28:13 +01:00
Lynx3d
7026dc0d1b [10774] Implement more generic reputation spillover
* Also fixes factions 1037 and 1052
* More correct client output when reputation assigned to parent faction
* reputation_spillover_template can still be used to override spillover from dbc
2010-11-22 00:26:07 +01:00
NoFantasy
b4a48f976e [10697] Less strict check for update at war state for factions
Clarify in comments of recent added spell dummy effect

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-08 01:16:20 +01:00
emsy
3ada9f635f [10665] Allow use faction data for cases raceMask==0
Also some related code cleanup

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 04:04:40 +03:00
zergtmn
3766eee71b [10398] Fix mixed up FactionEntry to lookup in SetReputation
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-22 11:25:42 +02:00
NoFantasy
6756fff93a [10392] Small correction in SetReputation to avoid confusion
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-21 10:27:10 +02:00
VladimirMangos
af50d03f16 [10297] Drop CMSG_SET_FACTION_CHEAT support.
No reported long time and now finaly broken by spillover rep changes.
2010-07-31 07:21:36 +04:00
NoFantasy
747d1ebdcf [10271] Include ObjectMgr.h to reputationMgr, helping *nix compilers to know what to do
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-25 18:48:30 +02:00
NoFantasy
fb1e8c01ef [10270] Implement basic system for reputation spillover
* Database table needs data for each faction that should give spillover to other faction(s). One faction may give spillover to max 4 other spillover factions.
* The spillover rate is multiplied with the points after bonuses and reward rate is set, Rate is given as: 0.5 for 50% gain, -1.0 for 100% loss, etc
* It is possible to restrict spillover faction by rank. If player has a higher rank with the spillover faction given in database, no spillover will be given towards this faction

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-25 17:05:34 +02:00
KAPATEJIb
e499150b59 [9640] Fix a typo in ReputationMgr
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-30 09:19:26 +02:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
Gendalph
ae61c1eec0 [8277] Add new line at the end of some .cpp to make gcc happy
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-29 18:34:37 +04:00
VladimirMangos
b768401438 [7553] Fixed character save/creating. 2009-03-27 06:02:07 +03:00
VladimirMangos
c4d4bb5620 [7552] Move client version dependend DBC code to src/game. 2009-03-27 01:59:26 +03:00
VladimirMangos
18ec7c8011 [7547] Improvments in reputation achievements implememtaion.
* Speedup achievement checks at reputation updates.
* Implement
  - ACHIEVEMENT_CRITERIA_TYPE_GAIN_REVERED_REPUTATION
  - ACHIEVEMENT_CRITERIA_TYPE_GAIN_HONORED_REPUTATION
  - ACHIEVEMENT_CRITERIA_TYPE_KNOWN_FACTIONS
2009-03-26 20:38:19 +03:00
VladimirMangos
4f17a6a4e2 [7543] Avoid code duplication in ReputationMgr. 2009-03-26 17:21:35 +03:00
VladimirMangos
6a649f43ee [7542] Some new reputation code related cleanups. 2009-03-26 13:30:11 +03:00
VladimirMangos
c33eff13f4 [7540] Move most reputation/force faction reaction code to new ReputationMgr. 2009-03-26 11:28:56 +03:00