mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Fix trophy score
This commit is contained in:
parent
14658250e3
commit
1c84579924
1 changed files with 3 additions and 3 deletions
|
@ -1410,7 +1410,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
|
|||
self.trophyStarSpeed = 0
|
||||
if self.trophyScore >= ToontownGlobals.TrophyStarLevels[4]:
|
||||
self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star')
|
||||
np = NodePath(self.nametag.getIcon())
|
||||
np = NodePath(self.nametag.getNameIcon())
|
||||
self.trophyStar.reparentTo(np)
|
||||
self.trophyStar.setScale(2)
|
||||
self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[4])
|
||||
|
@ -1419,7 +1419,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
|
|||
taskMgr.add(self.__starSpin, self.uniqueName('starSpin'))
|
||||
elif self.trophyScore >= ToontownGlobals.TrophyStarLevels[2]:
|
||||
self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star')
|
||||
np = NodePath(self.nametag.getIcon())
|
||||
np = NodePath(self.nametag.getNameIcon())
|
||||
self.trophyStar.reparentTo(np)
|
||||
self.trophyStar.setScale(1.5)
|
||||
self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[2])
|
||||
|
@ -1428,7 +1428,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
|
|||
taskMgr.add(self.__starSpin, self.uniqueName('starSpin'))
|
||||
elif self.trophyScore >= ToontownGlobals.TrophyStarLevels[0]:
|
||||
self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star')
|
||||
np = NodePath(self.nametag.getIcon())
|
||||
np = NodePath(self.nametag.getNameIcon())
|
||||
self.trophyStar.reparentTo(np)
|
||||
self.trophyStar.setScale(1.5)
|
||||
self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[0])
|
||||
|
|
Loading…
Reference in a new issue