mangosR2/mangos — Issue #440: Deterrence as of 3.3.5
Author: say1981
Created: 2011-10-16 22:32:56+00:00
State: open

http://www.wowhead.com/spell=19263
спел использует механику парирования

нашёл участок где ето обрабатывается

```
// Check for attack from behind
if (from_behind)
{
// Can`t dodge from behind in PvP (but its possible in PvE)
if (GetTypeId() == TYPEID_PLAYER && pVictim->GetTypeId() == TYPEID_PLAYER)
canDodge = false;
// Can`t parry without special ability
if (!pVictim->HasAuraType(SPELL_AURA_MOD_PARRY_FROM_BEHIND_PERCENT))
canParry = false;
}
```

в тринити участок с кодом -затычкой для механики парирования на спел

```
// Check for attack from behind
if (!victim->HasInArc(M_PI, this))
{
if (!victim->HasAuraType(SPELL_AURA_IGNORE_HIT_DIRECTION))
{
// Can`t dodge from behind in PvP (but its possible in PvE)
if (victim->GetTypeId() == TYPEID_PLAYER)
canDodge = false;
// Can`t parry or block
canParry = false;
canBlock = false;
}
else // Only deterrence as of 3.3.5
{
if (spell->AttributesCu & SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET)
canParry = false;
}
}

```

Поставьте маркеры Хантер - спел.