SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def __AppendAttributeInformation(self, attrSlot, itemAbsChance = 0):
  2.         import chat
  3.         chat.AppendChat(1, str(attrSlot))
  4.         if 0 != attrSlot:
  5.             for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM):
  6.                 type = attrSlot[i][0]
  7.                 value = attrSlot[i][1]
  8.                 if 0 == value:
  9.                     continue
  10.                
  11.                 affectString = self.__GetAffectString(type, value)
  12.                 if app.ENABLE_SASH_SYSTEM:
  13.                     if item.GetItemType() == item.ITEM_TYPE_COSTUME and item.GetItemSubType() == item.COSTUME_TYPE_SASH and itemAbsChance:
  14.                         value = self.CalcSashValue(value, itemAbsChance)
  15.                         affectString = self.__GetAffectString(type, value)
  16.                
  17.                 if affectString:
  18.                     affectColor = self.__GetAttributeColor(i, value, type)
  19.                     self.AppendTextLine(affectString, affectColor)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top