henbagle / LE1CommunityPatch

Issue tracker for the Community Patch mod for Mass Effect 1: Legendary Edition
13 stars 0 forks source link

Kaidan Still Acts as if Player Isn't Biotic #134

Closed StellarExile closed 2 years ago

StellarExile commented 2 years ago

Describe the bug According to the fix for #14, Kaidan will still refer to the player as a biotic if they are. However, while playing as a Sentinel the modified line is spoken and Kaidan does not acknowledge Shepard as a biotic.

To Reproduce Speak to Kaidan about his L2 flare up when the player is a Sentinel, and the dialogue should trigger.

Expected behavior Kaidan should acknowledge the character is a biotic with the vanilla line.

Screenshots & Saves If applicable, add screenshots or savegames to help explain the issue

Malcolm00_AutoSave.zip

henbagle commented 2 years ago

Fixed, seems the conditional to check if the player is biotic has been broken all along.

Conditional 1374 updated via .pmu file to be the following:

public function bool F1374(BioWorldInfo bioWorld, int Argument)
{
    local BioPlayerController bpc;
    local int playerClass;

    bpc = bioWorld.GetLocalPlayerController();
    playerClass = BioPawn(bpc.Pawn).GetXLASTClassContextID();
    return (playerClass == 2 || playerClass == 4) || playerClass == 5;
}