Hello, I'm trying to change a thing about uirefine and scrolls type.
in uirefine.py I have this for example:
"if 3 == self.type" where I can find which scrolls is the type number 3 so I can modify it?
for example 25041 is type 3 and 25040 is type 2, where do I set the type of the scrolls? for example if i want to make a scrolls 25043 and create the type number 7 for example?
I can't understand where the game knows the item 25041 is self.type number 3
Code
- def OpenQuestionDialog(self):
- if 100 == self.percentage:
- self.Accept()
- return
- if 5 == self.type: ## ¹«½ÅÀÇ Ãູ¼
- self.Accept()
- return
- dlgQuestion = uiCommon.QuestionDialog2()
- dlgQuestion.SetText2(localeInfo.REFINE_WARNING2)
- dlgQuestion.SetAcceptEvent(ui.__mem_func__(self.Accept))
- dlgQuestion.SetCancelEvent(ui.__mem_func__(dlgQuestion.Close))
- if 3 == self.type: ## Çöö
- dlgQuestion.SetText1(localeInfo.REFINE_DESTROY_WARNING_WITH_BONUS_PERCENT_1)
- dlgQuestion.SetText2(localeInfo.REFINE_DESTROY_WARNING_WITH_BONUS_PERCENT_2)
- elif 2 == self.type: ## Ãູ¼
- dlgQuestion.SetText1(localeInfo.REFINE_DOWN_GRADE_WARNING)
- else:
- dlgQuestion.SetText1(localeInfo.REFINE_DESTROY_WARNING)
- dlgQuestion.Open()
- self.dlgQuestion = dlgQuestion