mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
The rounds effective for lure now shows on the battle inventory screen
This commit is contained in:
parent
d9d1d66f37
commit
5b2f6ce816
3 changed files with 5 additions and 0 deletions
|
@ -1131,6 +1131,8 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
||||||
def getToonupDmgStr(self, track, level):
|
def getToonupDmgStr(self, track, level):
|
||||||
if track == HEAL_TRACK:
|
if track == HEAL_TRACK:
|
||||||
return TTLocalizer.InventoryHealString
|
return TTLocalizer.InventoryHealString
|
||||||
|
elif track == LURE_TRACK:
|
||||||
|
return TTLocalizer.InventoryLureString
|
||||||
else:
|
else:
|
||||||
return TTLocalizer.InventoryDamageString
|
return TTLocalizer.InventoryDamageString
|
||||||
|
|
||||||
|
|
|
@ -3999,6 +3999,7 @@ InventoryAffectsAllToons = 'Affects: All Toons'
|
||||||
InventoryAffectsAllCogs = 'Affects: All ' + Cogs
|
InventoryAffectsAllCogs = 'Affects: All ' + Cogs
|
||||||
InventoryHealString = 'Toon-up'
|
InventoryHealString = 'Toon-up'
|
||||||
InventoryDamageString = 'Damage'
|
InventoryDamageString = 'Damage'
|
||||||
|
InventoryLureString = 'Rounds effective'
|
||||||
InventoryBattleMenu = 'BATTLE MENU'
|
InventoryBattleMenu = 'BATTLE MENU'
|
||||||
InventoryRun = 'RUN'
|
InventoryRun = 'RUN'
|
||||||
InventorySOS = 'SOS'
|
InventorySOS = 'SOS'
|
||||||
|
|
|
@ -707,6 +707,8 @@ NumRoundsLured = [2,
|
||||||
15]
|
15]
|
||||||
|
|
||||||
def getAvPropDamage(attackTrack, attackLevel, exp, organicBonus = False, propBonus = False, propAndOrganicBonusStack = False):
|
def getAvPropDamage(attackTrack, attackLevel, exp, organicBonus = False, propBonus = False, propAndOrganicBonusStack = False):
|
||||||
|
if attackTrack == LURE_TRACK:
|
||||||
|
return NumRoundsLured[attackLevel]
|
||||||
minD = AvPropDamage[attackTrack][attackLevel][0][0]
|
minD = AvPropDamage[attackTrack][attackLevel][0][0]
|
||||||
maxD = AvPropDamage[attackTrack][attackLevel][0][1]
|
maxD = AvPropDamage[attackTrack][attackLevel][0][1]
|
||||||
minE = AvPropDamage[attackTrack][attackLevel][1][0]
|
minE = AvPropDamage[attackTrack][attackLevel][1][0]
|
||||||
|
|
Loading…
Reference in a new issue