hondacrx
2023-08-21 07:22:33 -04:00
parent 794ff2bb99
commit f6807e152c
76 changed files with 3149 additions and 2233 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ using Framework.Constants;
using Game.DataStorage;
using Game.Entities;
using Game.Maps;
using Game.Miscellaneous;
using Game.Scenarios;
using System;
using System.Collections.Generic;
@@ -159,7 +160,7 @@ namespace Game.Conditions
break;
case ConditionTypes.Race:
if (unit != null)
condMeets = Convert.ToBoolean(SharedConst.GetMaskForRace(unit.GetRace()) & ConditionValue1);
condMeets = new RaceMask<uint>(ConditionValue1).HasRace(unit.GetRace());
break;
case ConditionTypes.Gender:
if (player != null)