DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ DummyHitSelector()

bool DummyHitSelector ( EMeleeHitType hitType,
out string ammoType )
protected

evaluation of hit player vs. player

in case of kick (on back or push from erc) change the ammo type to dummy

См. определение в файле DayZPlayerMeleeFightLogic_LightHeavy.c строка 764

765 {
766 switch (hitType)
767 {
769 case EMeleeHitType.KICK:
770 ammoType = DUMMY_HEAVY_AMMO;
771 return true;
772 break;
773 }
774
775 ammoType = DUMMY_LIGHT_AMMO;
776
777 return false;
778 }
EMeleeHitType
Определения DayZPlayerImplementMeleeCombat.c:2
const string DUMMY_HEAVY_AMMO
const string DUMMY_LIGHT_AMMO
dummy ammo types

Перекрестные ссылки DUMMY_HEAVY_AMMO и DUMMY_LIGHT_AMMO.

Используется в EvaluateHit_Common().