DayZ 1.29
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 строка 768

769 {
770 switch (hitType)
771 {
773 case EMeleeHitType.KICK:
774 ammoType = DUMMY_HEAVY_AMMO;
775 return true;
776 break;
777 }
778
779 ammoType = DUMMY_LIGHT_AMMO;
780
781 return false;
782 }
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().