Tipologie server(PvM / PvP):Pvm
*Resursă folosită: Propriu
*ServerFiles utilizat: propriu
*Syserr: - - nu am eroare
Poză:[imagelink]https://ibb.co/gTVnjwB[/imagelink]
*Detalii suplimentare: Am implementat acel uitooltip pentru bonusuri la pet, nu am avut erori sau ceva si nici syserr nu am in client, singura problema este ca am schimbat bonusurile dat pe acel pet vizual sunt aceleasi bonusuri ramase, chiar daca le schimb din navicat sau item proto de acolo vizual nu se schimba, vreo sugetie ? Multumesc anticipat !
Acesta este codul folosit.
Cod: Selectaţi tot
## Start of Pet System Bonus info ##
elif itemVnum >= 53001 and itemVnum <= 53999:
self.AppendSpace(5)
for g in xrange(item.ITEM_APPLY_MAX_NUM):
(affectType, affectValue) = item.GetAffect(g)
affectString = self.__GetAffectString(affectType, affectValue)
if affectString:
affectColor = grp.GenerateColor(0.3824, 0.5804, 0.9824, 1.0) # You can play here for the text color.
self.AppendTextLine(affectString, affectColor)
self.__AppendAttributeInformation(attrSlot)
bHasRealtimeFlag = 0
for i in xrange(item.LIMIT_MAX_NUM):
(limitType, limitValue) = item.GetLimit(i)
if item.LIMIT_REAL_TIME == limitType:
bHasRealtimeFlag = 1
if bHasRealtimeFlag == 1:
self.AppendMallItemLastTime(metinSlot[0])
## End of Pet System Bonus info ##


