Try to make slot 5 ammo spawns more generous.

This commit is contained in:
Mari the Deer 2023-12-09 09:35:09 +01:00
commit ca2df207cb
2 changed files with 9 additions and 9 deletions

View file

@ -94,12 +94,12 @@ Class SWWMClipAmmoSmall : SWWMAmmoSpawner
bool aex = SWWMUtility.ItemExists('Eviscerator',ownedonly:enemydrop),
bex = SWWMUtility.ItemExists('HeavyMahSheenGun',ownedonly:enemydrop);
if ( (!aex && bex) || (Random[Replacements](0,1) && bex) )
return Random[Replacements](0,2)?'SheenAmmo2':'SheenAmmo3';
return Random[Replacements](0,1)?'SheenAmmo2':'SheenAmmo3';
if ( aex ) return 'EvisceratorShell';
/*aex = (SWWMUtility.ItemExists('Spreadgun',ownedonly:enemydrop)||SWWMUtility.ItemExists('Wallbuster',ownedonly:enemydrop));
bex = (SWWMUtility.ItemExists('PuntzerBeta',ownedonly:enemydrop)||SWWMUtility.ItemExists('PuntzerGamma',ownedonly:enemydrop));
if ( (!aex && bex) || (Random[Replacements](0,1) && bex) )
return Random[Replacements](0,2)?'SMW05Ammo':'SMW05Ammo2';*/
return Random[Replacements](0,1)?'SMW05Ammo':'SMW05Ammo2';*/
return 'RedShell';
}
}
@ -122,8 +122,8 @@ Class SWWMClipAmmoBig : SWWMAmmoSpawner
bool aex = SWWMUtility.ItemExists('Eviscerator',ownedonly:enemydrop),
bex = SWWMUtility.ItemExists('HeavyMahSheenGun',ownedonly:enemydrop);
if ( (!aex && bex) || (Random[Replacements](0,1) && bex) )
return Random[Replacements](0,3)?'SheenSmallAmmo':'SheenBigAmmo';
return Random[Replacements](0,3)?'EvisceratorShell2':'EvisceratorShell3';
return Random[Replacements](0,1)?'SheenSmallAmmo':'SheenBigAmmo';
return Random[Replacements](0,1)?'EvisceratorShell2':'EvisceratorShell3';
}
}
Class SWWMBlastAmmoSmall : SWWMAmmoSpawner
@ -133,7 +133,7 @@ Class SWWMBlastAmmoSmall : SWWMAmmoSpawner
bool aex = SWWMUtility.ItemExists('Eviscerator',ownedonly:enemydrop),
bex = SWWMUtility.ItemExists('HeavyMahSheenGun',ownedonly:enemydrop);
if ( (!aex && bex) || (Random[Replacements](0,1) && bex) )
return Random[Replacements](0,2)?'SheenAmmo2':'SheenAmmo3';
return 'SheenSmallAmmo';
return 'EvisceratorShell';
}
}
@ -144,8 +144,8 @@ Class SWWMBlastAmmoBig : SWWMAmmoSpawner
bool aex = SWWMUtility.ItemExists('Eviscerator',ownedonly:enemydrop),
bex = SWWMUtility.ItemExists('HeavyMahSheenGun',ownedonly:enemydrop);
if ( (!aex && bex) || (Random[Replacements](0,1) && bex) )
return Random[Replacements](0,3)?'SheenSmallAmmo':'SheenBigAmmo';
return Random[Replacements](0,3)?'EvisceratorShell2':'EvisceratorShell3';
return 'SheenBigAmmo';
return 'EvisceratorShell3';
}
}
Class SWWMRocketAmmoSmall : SWWMAmmoSpawner