DayZ 1.28
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 строка 770

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