XCOM 2
No Full Cover Grabs
กำลังแสดง 1-3 จาก 3 รายการ
อัปเดต: 10 มี.ค. 2017 @ 8: 43am

Simplified code to:


if (`TACTICALRULES.VisibilityMgr.GetVisibilityInfo(ViperState.ObjectID, UnitState.ObjectID, CurrentVisibility) && CurrentVisibility.TargetCover == CT_Standing)
{
return 'AA_UnitIsImmune';
}



(this checks what type of cover the viper is against from the unit it's viewing, getting CT_Standing means it's an unflanked target in full cover)

อัปเดต: 9 มี.ค. 2017 @ 10: 05pm

อัปเดต: 9 มี.ค. 2017 @ 10: 00pm