Как работает функция TAG.*DAMAGE?
Вверх
30-08-2006, Nazghul
- MODIFIED: RESCOLD, RESENERGY, RESFIRE, RESPOISON now can also be set on NPC
Remember that RES*=100 will give you a 100 percent immunity against the damage inflicted
by TAG.*DAMAGE.
- Added: COMBAT_SPECIALDAMAGE to INI CombatFlags (08). If set, TAG.*DAMAGE (below) will be
used.
- Added: COMBAT_USE_RESISTANCE to INI CombatFlags (010). If set, RES* on characters will
also be weighted against normal damage if the old fashioned damage flags are set.
- Added: TAG.COLDDAMAGE, TAG.ENERGYDAMAGE, TAG.FIREDAMAGE, TAG.POISONDAMAGE for characters
and items. The server will only evaluate the tags on characters, and if ComBatFlag
COMBAT_SPECIALDAMAGE is set. Then any damage done to others (if it's damage type contains
at least one of the physical types OR magic) will be increased by the value of the
appropriate tag, lowered by the RES* percentage of the victim.
Tags on items will not be evaluated by the server - their values can be used to for
example increase the TAGs or the RES* properties on characters on equip of the item.
This way you can use TAG.*DAMAGE on a weapon to increase the wearer's appropriate
damage tag, or on a piece of armor to increase his RES*, or to whatever you want.