Add support for insurgency suppression bonus

This commit is contained in:
DarkPhoenix
2025-03-13 11:28:57 +01:00
parent 9c519b878e
commit 7e92b58c62
3 changed files with 28 additions and 5 deletions

View File

@@ -651,6 +651,16 @@ def update_db():
effect.effectName = effectName
item.effects[effectName] = effect
def hardcodeSuppressionTackleRange():
beaconTypeID = 79839
attrMap = {
'warfareBuff1ID': 2405,
'warfareBuff1Value': 10}
effectMap = {100000: 'pyfaCustomSuppressionTackleRange'}
_hardcodeAttribs(beaconTypeID, attrMap)
_hardcodeEffects(beaconTypeID, effectMap)
def hardcodeShapash():
shapashTypeID = 1000000
_copyItem(srcName='Utu', tgtTypeID=shapashTypeID, tgtName='Shapash')
@@ -794,8 +804,7 @@ def update_db():
_hardcodeAttribs(cybeleTypeID, attrMap)
_hardcodeEffects(cybeleTypeID, effectMap)
# hardcodeShapash()
# hardcodeCybele()
hardcodeSuppressionTackleRange()
eos.db.gamedata_session.commit()
eos.db.gamedata_engine.execute('VACUUM')