修
This commit is contained in:
Binary file not shown.
@@ -181,6 +181,7 @@
|
||||
<Compile Include="Pawn_Comps\ARA_TrainingWork\TrainingSystem_Patcher.cs" />
|
||||
<Compile Include="Thing_Comps\ARA_CustomUniqueWeapon\CompCustomUniqueWeapon.cs" />
|
||||
<Compile Include="Thing_Comps\ARA_CustomUniqueWeapon\CompProperties_CustomUniqueWeapon.cs" />
|
||||
<Compile Include="Thing_Comps\ARA_IngestionOutcomeDoer_GiveHediff\IngestionOutcomeDoer_GiveHediffByRace.cs" />
|
||||
<Compile Include="Thing_Comps\Filth_Toxic.cs" />
|
||||
<Compile Include="Thing_Comps\OPToxicGas.cs" />
|
||||
<Compile Include="Verbs\Cleave\CompCleave.cs" />
|
||||
|
||||
@@ -24,14 +24,13 @@ namespace ArachnaeSwarm
|
||||
|
||||
protected override void DoIngestionOutcomeSpecial(Pawn pawn, Thing ingested, int ingestedCount)
|
||||
{
|
||||
// 如果列表是空的或null,则默认对所有的pawn进行操作
|
||||
if (!targetRaces.Contains(pawn.def))
|
||||
// 如果 targetRaces 列表有内容,并且当前pawn的种族不在列表中,则不执行任何操作。
|
||||
if (!targetRaces.NullOrEmpty() && !targetRaces.Contains(pawn.def))
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (targetRaces.NullOrEmpty())
|
||||
{
|
||||
}
|
||||
|
||||
// 如果列表为空,或者pawn的种族在列表中,则继续执行后续代码
|
||||
Hediff hediff = HediffMaker.MakeHediff(hediffDef, pawn);
|
||||
float effect = ((!(severity > 0f)) ? hediffDef.initialSeverity : severity);
|
||||
AddictionUtility.ModifyChemicalEffectForToleranceAndBodySize(pawn, toleranceChemical, ref effect, multiplyByGeneToleranceFactors, divideByBodySize);
|
||||
|
||||
@@ -37,7 +37,6 @@ namespace ArachnaeSwarm
|
||||
private CruiseMissileProperties settings;
|
||||
private bool flag2;
|
||||
private Vector3 Randdd;
|
||||
private Vector3 position2;
|
||||
public Vector3 ExPos;
|
||||
public bool isDummy = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user