PDA

Просмотр полной версии : [10270] Implement basic system for reputation spillover


newsbot
25.07.2010, 19:10
<pre>m sql/mangos.sql
+ sql/updates/10270_01_mangos_reputation_spillover_template.sql
m sql/updates/Makefile.am
m src/game/Chat.cpp
m src/game/Chat.h
m src/game/Level3.cpp
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/ReputationMgr.cpp
m src/game/SharedDefines.h
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h

[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></pre>



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

Vladimir
25.07.2010, 21:43
http://udbforums.kicks-ass.net/index.php?topic=16043.msg57632;topicseen#new