PDA

Просмотр полной версии : [10109] Add and use actual bounding_radius/combat_reach per model for characters.


newsbot
27.06.2010, 03:34
<pre>m sql/mangos.sql
+ sql/updates/10109_01_mangos_creature_model_info.sql
m sql/updates/Makefile.am
m src/game/Player.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h

[10109] Add and use actual bounding_radius/combat_reach per model for
characters.

Data are stored in same table as for creature (like dbc models data), and
provides the default values for playable races.
Currently the bounding and reach are applied only at creation and load. Note
that these values are modified by scale. For player case, scale is always 1.0 as
default.

For later, auras and spell effects that change scale and/or modelid must in
addition make sure bounding_radius are updated accordingly to the new scale
and/or model (combat_reach does not seem to be affected by such changes, and is
always 1.5 for players).

Signed-off-by: NoFantasy <nofantasy@nf.no></pre>



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