convert skill combo'

This commit is contained in:
VDH
2026-01-22 19:23:32 +07:00
parent 485488b804
commit ef366cfc32
12 changed files with 1144 additions and 452 deletions
+15
View File
@@ -85,6 +85,21 @@ public static class EC_Utility
{
return new System.Numerics.Vector3(v.x, v.y, v.z);
}
public static byte glb_BuildRefuseBLSMask()
{
byte byMask = 0;
// const EC_GAME_SETTING &gs = g_pGame->GetConfigs()->GetGameSettings();
var gs = EC_Game.GetConfigs().GetGameSettings();
if (gs.bBlsRefuse_Neutral)
byMask |= (byte)REFUSE_BLESS_MASK.REFUSE_NEUTRAL_BLESS;
if (gs.bBlsRefuse_NonTeammate)
byMask |= (byte)REFUSE_BLESS_MASK.REFUSE_NON_TEAMMATE_BLESS;
return byMask;
}
public static void Swap<T>(List<T> arr, int a, int b)
{
T tmp = arr[a];