Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch adds support for the following two parameters
in weapon items:
hit-effect-id: Effect triggered on the victim on normal hit.
critical-hit-effect-id: Triggered on the victim on critical hit.
(Specified in effects.xml)
The patch also permits the use of custom defaults set in paths.xml
by setting the following keys:
(Paths are relative to the 'particles' key value, here.)
hitEffectId: defaulted to effect id 26.
criticalHitEffectId: defaulted to effect id 28.
Resolves: Mana-mantis #337.
Reviewed-by: bcs86
Conflicts:
src/being.cpp
src/resources/itemdb.cpp
src/resources/iteminfo.h
ManaPlus: adding missing checks.
|
|
|
|
|
|
Also impliment sound events:
SOUND_EVENT_MOVE, SOUND_EVENT_SIT, SOUND_EVENT_SPAWN
|
|
|
|
As dirty hack added delayed direction.
|
|
|
|
|
|
|
|
Usefull for example for hiding hair if equiped helmet.
|
|
|
|
This code based on mana client http://www.gitorious.org/mana/mana
and my private repository.
|