newsbot
28.06.2010, 14:22
<pre>m src/game/Creature.cpp
m src/game/GameEventMgr.cpp
m src/game/Pet.cpp
m src/game/Player.cpp
m src/game/SpellAuras.cpp
m src/game/Unit.cpp
m src/game/Unit.h
m src/shared/revision_nr.h
[10115] Add function to update model_info at changes to scale or model.
* At every change to model or scale, the related data
(bounding_radius/combat_reach) is now updated accordingly (note that player
combat_reach are not changed like creature).
* UpdateModelData is called from within SetDisplayId while changes to scale has
explicit call to UpdateModelData after new scale is set (mostly for aura scale)
* The updated values are calculated by
(scale*bounding_radius)/(scale*combat_reach)
* Database values for bounding_radius/combat_reach are expected to be relative
to scale like 1.0
Signed-off-by: NoFantasy <nofantasy@nf.no></pre>
Дальше... (http://github.com/mangos/mangos/commit/3a9ce8384bab7bdca7183cad14de5615dda07001)
m src/game/GameEventMgr.cpp
m src/game/Pet.cpp
m src/game/Player.cpp
m src/game/SpellAuras.cpp
m src/game/Unit.cpp
m src/game/Unit.h
m src/shared/revision_nr.h
[10115] Add function to update model_info at changes to scale or model.
* At every change to model or scale, the related data
(bounding_radius/combat_reach) is now updated accordingly (note that player
combat_reach are not changed like creature).
* UpdateModelData is called from within SetDisplayId while changes to scale has
explicit call to UpdateModelData after new scale is set (mostly for aura scale)
* The updated values are calculated by
(scale*bounding_radius)/(scale*combat_reach)
* Database values for bounding_radius/combat_reach are expected to be relative
to scale like 1.0
Signed-off-by: NoFantasy <nofantasy@nf.no></pre>
Дальше... (http://github.com/mangos/mangos/commit/3a9ce8384bab7bdca7183cad14de5615dda07001)