Commit graph

12 commits

Author SHA1 Message Date
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