Bitte melden Sie sich an, um dieses Bild zu sehen.
File: locale_game.txt
Add (set your description):
- TOOLTIP_BLEND_AFFECT_1 Red SNA
- TOOLTIP_BLEND_AFFECT_2 Yellow SNA
- TOOLTIP_BLEND_AFFECT_3 Blue SNA
- TOOLTIP_BLEND_AFFECT_4 White SNA
- TOOLTIP_BLEND_AFFECT_5 Orange SNA
- TOOLTIP_BLEND_AFFECT_6 Green SNA
File: uiAffectShower.py
Search for:
Add under:
- AFFECT_BLEND_START = 2000
Search for
- AFFECT_DATA_DICT[chr.NEW_AFFECT_DRAGON_SOUL_DECK1] = (localeInfo.TOOLTIP_DRAGON_SOUL_DECK1, "d:/ymir work/ui/dragonsoul/buff_ds_sky1.tga")
- AFFECT_DATA_DICT[chr.NEW_AFFECT_DRAGON_SOUL_DECK2] = (localeInfo.TOOLTIP_DRAGON_SOUL_DECK2, "d:/ymir work/ui/dragonsoul/buff_ds_land1.tga")
Add under:
- # AFFECT_DATA_DICT[AFFECT_BLEND_START + pointIdx]
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 40] = (localeInfo.TOOLTIP_BLEND_AFFECT_1, "icon/item/50821.tga")
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 41] = (localeInfo.TOOLTIP_BLEND_AFFECT_2, "icon/item/50822.tga")
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 17] = (localeInfo.TOOLTIP_BLEND_AFFECT_3, "icon/item/50823.tga")
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 6] = (localeInfo.TOOLTIP_BLEND_AFFECT_4, "icon/item/50824.tga")
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 95] = (localeInfo.TOOLTIP_BLEND_AFFECT_5, "icon/item/50825.tga")
- AFFECT_DATA_DICT[AFFECT_BLEND_START + 95] = (localeInfo.TOOLTIP_BLEND_AFFECT_6, "icon/item/50826.tga")
Search for:
- def BINARY_NEW_AddAffect(self, type, pointIdx, value, duration):
Add before (make sure that you have the same blend affect index - 531):
- def IsBlendAffect(self, type):
- return (type == 531)
Search for:
- if type == chr.NEW_AFFECT_MALL:
- affect = self.MALL_DESC_IDX_START + pointIdx
- else:
- affect = type
Replace with:
- if type == chr.NEW_AFFECT_MALL:
- affect = self.MALL_DESC_IDX_START + pointIdx
- elif self.IsBlendAffect(type):
- affect = self.AFFECT_BLEND_START + pointIdx
- else:
- affect = type
That's all. Tell me if you will find any bugs.
Enjoy!