#==================================================================== #============================Áö¿ìÁö¸¶½Ã¿À============================ #==================================================================== class Game_Actor < Game_Battler def exp_rate if @exp_list[@level+1] - @exp_list[@level] > 0 return (@exp - @exp_list[@level]).to_f / (@exp_list[@level+1] - @exp_list[@level]).to_f else return 0 end end end class Window_Gauge < Window_Base def initialize #=============================Á¦ÀÛÀÚÁ¤º¸============================= #Á¦ÀÛÀÚ : Coa(ÄÚ½ºÆ¬) µ¿ÀÏÀÎ ÀÔ´Ï´Ù. #ȨÆäÀÌÁö : www.coa.na.to #ÀÌ ½ºÅ©¸³Æ®´Â ºñ¹Ð¼Ò³â´ÔÀÇ ½ºÅ©¸³Æ®¸¦ ÀÀ¿ëÇÏ¿© ¸¸µç °ÍÀÔ´Ï´Ù. #==================================================================== #==================================================================== # »ç¿ë¹æ¹ý ¹× ¼³Á¤ #==================================================================== #================================ÆùÆ®================================ fonts = 1 #±âº» 1 (1~16ÀÌ ¾Æ´Ñ°æ¿ì 1·Î ¼³Á¤) #¡èÆùÆ®¸¦ ¼³Á¤ÇÕ´Ï´Ù. (1~16) #1=±¼¸², 2=±Ã¼­Ã¼, 3=¹ÙÅÁü, 4=¸¼Àº °íµñ, 5=³ª´®°íµñ, 6=ÈÞ¸Õ³ª¹« #7=ÈÞ¸Õ¸ÅÁ÷ü 8=ÈÞ¸ÕÆíÁöü, 9=ÇǾƳëM, 10=¾È»ó¼ö2006Áß°£, 11=HY¾èÀº»ù¹°M #12=HYÁß°íµñ, 13=HY¿±¼­M, 14=HY³ª¹«M, 15=HYµ¿³èM, 16=HY¼öÆò¼±M #==============================ÆùƮũ±â============================== sizes = 16 # ±âº» 16 (10~20ÀÌ ¾Æ´Ò°æ¿ì 16À¸·Î ¼³Á¤) #ÆùÆ®ÀÇ Å©±â¸¦ ¼³Á¤ÇÕ´Ï´Ù. (10~20) #================================À§Ä¡================================ sxys = 1 # ±âº» 1 (1~4°¡ ¾Æ´Ò°æ¿ì 1·Î ¼³Á¤) #»óÅÂâÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù. (1~4) #1=¿ÞÂÊ ¾Æ·¡ 2=¿ÞÂÊ À§ 3=¿À¸¥ÂÊ ¾Æ·¡ 4=¿À¸¥ÂÊ À§ #==============================ºÒÅõ¸íµµ============================== opacitys = -10 # ±âº» 180 (-ÀÇ ¼öÄ¡°¡ µÇ¸é 180À¸·Î ¼³Á¤) #»óÅÂâÀÇ Åõ¸íµµ¸¦ ¼³Á¤ÇÕ´Ï´Ù. (0~?) #0¿¡ °¡±î¿ï¼ö·Ï Åõ¸íÇØÁö°í Ä¿Áú¼ö·Ï ÁøÇØÁý´Ï´Ù. #¾î´ÀÁ¤µµÀÇ ¼öÄ¡¿¡ ´Ù´Ù¸£¸é ´õÀÌ»ó ÁøÇØÁöÁö ¾Ê½À´Ï´Ù. #0À¸·Î ¼³Á¤ÇÏ¸é ±Û¾¾¸¸ ¶° ÀÖ´Â µíÇÏ°Ô Ç¥½ÃµË´Ï´Ù. #==============================ÆùÆ®»ö±ò============================== fc=0 #±ÛÀÚÀÇ »ö»ì(»ö±ò)À» ¼³Á¤ÇÕ´Ï´Ù. #0=ÇϾá»ö, 1=ÆĶõ»ö, 2=»¡°£»ö, 3=¿¬µÎ»ö, 4=Çϴûö, 5=ºÐÈ«»ö, 6=³ë¶õ»ö, 7=ȸ»ö #8=ÆĶõ»ö, 9=»¡°£»ö, 10=ÃÊ·Ï»ö, 11=Çϴûö, 12=ºÐÈ«»ö, 13=³ë¶õ»ö, 14=º¸¶ó»ö #15=°ËÁ¤»ö, 1~6 = ¿¬ÇÑ»ö, 8~13 = ÁøÇÑ»ö #ÀÌÁß ´Ù¸¥°ÍÀ¸·Î ¼³Á¤µÇ¸é ÇϾá»öÀ¸·Î ¼³Á¤µÇ°Å³ª ¿À·ù°¡ ³³´Ï´Ù. #==============================±Û¾¾¼³Á¤============================== @exp = "°æÇèÄ¡" # [°æÇèÄ¡] : ??.?? À϶§ []ºÎºÐ #¿¹) °æÇèÄ¡ : 93.752% ¶ó¸é °æÇèÄ¡ºÎºÐ @gold = "¼ÒÁö±Ý" # [¼ÒÁö±Ý] : ????G À϶§ []ºÎºÐ #¿¹) ¼ÒÁö±Ý : 93752G ¶ó¸é ¼ÒÁö±ÝºÎºÐ @job = "Á÷¾÷" # [Á÷¾÷] : ??? À϶§ []ºÎºÐ #¿¹) Á÷¾÷ : ÆÄÀÌÅÍ ¶ó¸é Á÷¾÷ºÎºÐ @level = "·¹º§" # [·¹º§] : ?? À϶§ []ºÎºÐ #¿¹) ·¹º§ : 52 ¶ó¸é ·¹º§ºÎºÐ @character = "ij¸¯ÅÍ" # [ij¸¯ÅÍ] : ???? À϶§ []ºÎºÐ #¿¹) ij¸¯ÅÍ : ¾Æ¸£½Ã½º ¶ó¸é ij¸¯ÅͺκР#==================================================================== if sxys == 1 super(0, 290, 180, 190) elsif sxys == 2 super(0, 0, 180, 190) elsif sxys == 3 super(460, 290, 180, 190) elsif sxys == 4 super(460, 0, 180, 190) end unless(sxys == 1 or sxys == 2 or sxys == 3 or sxys == 4) super(0, 310, 180, 190) end self.contents = Bitmap.new(width - 32, height - 32) if fonts == 1 if sizes == 10 self.contents.font = Font.new("±¼¸²", 10) end if sizes == 11 self.contents.font = Font.new("±¼¸²", 11) end if sizes == 12 self.contents.font = Font.new("±¼¸²", 12) end if sizes == 13 self.contents.font = Font.new("±¼¸²", 13) end if sizes == 14 self.contents.font = Font.new("±¼¸²", 14) end if sizes == 15 self.contents.font = Font.new("±¼¸²", 15) end if sizes == 16 self.contents.font = Font.new("±¼¸²", 16) end if sizes == 17 self.contents.font = Font.new("±¼¸²", 17) end if sizes == 18 self.contents.font = Font.new("±¼¸²", 18) end if sizes == 19 self.contents.font = Font.new("±¼¸²", 19) end if sizes == 20 self.contents.font = Font.new("±¼¸²", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("±¼¸²", 16) end end if fonts == 2 if sizes == 10 self.contents.font = Font.new("±Ã¼­Ã¼", 10) end if sizes == 11 self.contents.font = Font.new("±Ã¼­Ã¼", 11) end if sizes == 12 self.contents.font = Font.new("±Ã¼­Ã¼", 12) end if sizes == 13 self.contents.font = Font.new("±Ã¼­Ã¼", 13) end if sizes == 14 self.contents.font = Font.new("±Ã¼­Ã¼", 14) end if sizes == 15 self.contents.font = Font.new("±Ã¼­Ã¼", 15) end if sizes == 16 self.contents.font = Font.new("±Ã¼­Ã¼", 16) end if sizes == 17 self.contents.font = Font.new("±Ã¼­Ã¼", 17) end if sizes == 18 self.contents.font = Font.new("±Ã¼­Ã¼", 18) end if sizes == 19 self.contents.font = Font.new("±Ã¼­Ã¼", 19) end if sizes == 20 self.contents.font = Font.new("±Ã¼­Ã¼", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("±Ã¼­Ã¼", 16) end end if fonts == 3 if sizes == 10 self.contents.font = Font.new("¹ÙÅÁü", 10) end if sizes == 11 self.contents.font = Font.new("¹ÙÅÁü", 11) end if sizes == 12 self.contents.font = Font.new("¹ÙÅÁü", 12) end if sizes == 13 self.contents.font = Font.new("¹ÙÅÁü", 13) end if sizes == 14 self.contents.font = Font.new("¹ÙÅÁü", 14) end if sizes == 15 self.contents.font = Font.new("¹ÙÅÁü", 15) end if sizes == 16 self.contents.font = Font.new("¹ÙÅÁü", 16) end if sizes == 17 self.contents.font = Font.new("¹ÙÅÁü", 17) end if sizes == 18 self.contents.font = Font.new("¹ÙÅÁü", 18) end if sizes == 19 self.contents.font = Font.new("¹ÙÅÁü", 19) end if sizes == 20 self.contents.font = Font.new("¹ÙÅÁü", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("¹ÙÅÁü", 16) end end if fonts == 4 if sizes == 10 self.contents.font = Font.new("¸¼Àº °íµñ", 10) end if sizes == 11 self.contents.font = Font.new("¸¼Àº °íµñ", 11) end if sizes == 12 self.contents.font = Font.new("¸¼Àº °íµñ", 12) end if sizes == 13 self.contents.font = Font.new("¸¼Àº °íµñ", 13) end if sizes == 14 self.contents.font = Font.new("¸¼Àº °íµñ", 14) end if sizes == 15 self.contents.font = Font.new("¸¼Àº °íµñ", 15) end if sizes == 16 self.contents.font = Font.new("¸¼Àº °íµñ", 16) end if sizes == 17 self.contents.font = Font.new("¸¼Àº °íµñ", 17) end if sizes == 18 self.contents.font = Font.new("¸¼Àº °íµñ", 18) end if sizes == 19 self.contents.font = Font.new("¸¼Àº °íµñ", 19) end if sizes == 20 self.contents.font = Font.new("¸¼Àº °íµñ", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("¸¼Àº °íµñ", 16) end end if fonts == 5 if sizes == 10 self.contents.font = Font.new("³ª´®°íµñ", 10) end if sizes == 11 self.contents.font = Font.new("³ª´®°íµñ", 11) end if sizes == 12 self.contents.font = Font.new("³ª´®°íµñ", 12) end if sizes == 13 self.contents.font = Font.new("³ª´®°íµñ", 13) end if sizes == 14 self.contents.font = Font.new("³ª´®°íµñ", 14) end if sizes == 15 self.contents.font = Font.new("³ª´®°íµñ", 15) end if sizes == 16 self.contents.font = Font.new("³ª´®°íµñ", 16) end if sizes == 17 self.contents.font = Font.new("³ª´®°íµñ", 17) end if sizes == 18 self.contents.font = Font.new("³ª´®°íµñ", 18) end if sizes == 19 self.contents.font = Font.new("³ª´®°íµñ", 19) end if sizes == 20 self.contents.font = Font.new("³ª´®°íµñ", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("³ª´®°íµñ", 16) end end if fonts == 6 if sizes == 10 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 10) end if sizes == 11 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 11) end if sizes == 12 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 12) end if sizes == 13 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 13) end if sizes == 14 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 14) end if sizes == 15 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 15) end if sizes == 16 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 16) end if sizes == 17 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 17) end if sizes == 18 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 18) end if sizes == 19 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 19) end if sizes == 20 self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("ÈÞ¸Õ³ª¹«", 16) end end if fonts == 7 if sizes == 10 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 10) end if sizes == 11 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 11) end if sizes == 12 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 12) end if sizes == 13 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 13) end if sizes == 14 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 14) end if sizes == 15 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 15) end if sizes == 16 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 16) end if sizes == 17 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 17) end if sizes == 18 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 18) end if sizes == 19 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 19) end if sizes == 20 self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("ÈÞ¸Õ¸ÅÁ÷ü", 16) end end if fonts == 8 if sizes == 10 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 10) end if sizes == 11 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 11) end if sizes == 12 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 12) end if sizes == 13 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 13) end if sizes == 14 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 14) end if sizes == 15 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 15) end if sizes == 16 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 16) end if sizes == 17 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 17) end if sizes == 18 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 18) end if sizes == 19 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 19) end if sizes == 20 self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("ÈÞ¸ÕÆíÁöü", 16) end end if fonts == 9 if sizes == 10 self.contents.font = Font.new(" ÇǾƳëM", 10) end if sizes == 11 self.contents.font = Font.new(" ÇǾƳëM", 11) end if sizes == 12 self.contents.font = Font.new(" ÇǾƳëM", 12) end if sizes == 13 self.contents.font = Font.new(" ÇǾƳëM", 13) end if sizes == 14 self.contents.font = Font.new(" ÇǾƳëM", 14) end if sizes == 15 self.contents.font = Font.new(" ÇǾƳëM", 15) end if sizes == 16 self.contents.font = Font.new(" ÇǾƳëM", 16) end if sizes == 17 self.contents.font = Font.new(" ÇǾƳëM", 17) end if sizes == 18 self.contents.font = Font.new(" ÇǾƳëM", 18) end if sizes == 19 self.contents.font = Font.new(" ÇǾƳëM", 19) end if sizes == 20 self.contents.font = Font.new(" ÇǾƳëM", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new(" ÇǾƳëM", 16) end end if fonts == 10 if sizes == 10 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 10) end if sizes == 11 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 11) end if sizes == 12 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 12) end if sizes == 13 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 13) end if sizes == 14 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 14) end if sizes == 15 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 15) end if sizes == 16 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 16) end if sizes == 17 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 17) end if sizes == 18 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 18) end if sizes == 19 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 19) end if sizes == 20 self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("¾È»ó¼ö2006Áß°£", 16) end end if fonts == 11 if sizes == 10 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 10) end if sizes == 11 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 11) end if sizes == 12 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 12) end if sizes == 13 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 13) end if sizes == 14 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 14) end if sizes == 15 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 15) end if sizes == 16 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 16) end if sizes == 17 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 17) end if sizes == 18 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 18) end if sizes == 19 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 19) end if sizes == 20 self.contents.font = Font.new("HY¾èÀº»ù¹°M", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HY¾èÀº»ù¹°M", 16) end end if fonts == 12 if sizes == 10 self.contents.font = Font.new("HYÁß°íµñ", 10) end if sizes == 11 self.contents.font = Font.new("HYÁß°íµñ", 11) end if sizes == 12 self.contents.font = Font.new("HYÁß°íµñ", 12) end if sizes == 13 self.contents.font = Font.new("HYÁß°íµñ", 13) end if sizes == 14 self.contents.font = Font.new("HYÁß°íµñ", 14) end if sizes == 15 self.contents.font = Font.new("HYÁß°íµñ", 15) end if sizes == 16 self.contents.font = Font.new("HYÁß°íµñ", 16) end if sizes == 17 self.contents.font = Font.new("HYÁß°íµñ", 17) end if sizes == 18 self.contents.font = Font.new("HYÁß°íµñ", 18) end if sizes == 19 self.contents.font = Font.new("HYÁß°íµñ", 19) end if sizes == 20 self.contents.font = Font.new("HYÁß°íµñ", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HYÁß°íµñ", 16) end end if fonts == 13 if sizes == 10 self.contents.font = Font.new("HY¿±¼­M", 10) end if sizes == 11 self.contents.font = Font.new("HY¿±¼­M", 11) end if sizes == 12 self.contents.font = Font.new("HY¿±¼­M", 12) end if sizes == 13 self.contents.font = Font.new("HY¿±¼­M", 13) end if sizes == 14 self.contents.font = Font.new("HY¿±¼­M", 14) end if sizes == 15 self.contents.font = Font.new("HY¿±¼­M", 15) end if sizes == 16 self.contents.font = Font.new("HY¿±¼­M", 16) end if sizes == 17 self.contents.font = Font.new("HY¿±¼­M", 17) end if sizes == 18 self.contents.font = Font.new("HY¿±¼­M", 18) end if sizes == 19 self.contents.font = Font.new("HY¿±¼­M", 19) end if sizes == 20 self.contents.font = Font.new("HY¿±¼­M", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HY¿±¼­M", 16) end end if fonts == 14 if sizes == 10 self.contents.font = Font.new("HY³ª¹«M", 10) end if sizes == 11 self.contents.font = Font.new("HY³ª¹«M", 11) end if sizes == 12 self.contents.font = Font.new("HY³ª¹«M", 12) end if sizes == 13 self.contents.font = Font.new("HY³ª¹«M", 13) end if sizes == 14 self.contents.font = Font.new("HY³ª¹«M", 14) end if sizes == 15 self.contents.font = Font.new("HY³ª¹«M", 15) end if sizes == 16 self.contents.font = Font.new("HY³ª¹«M", 16) end if sizes == 17 self.contents.font = Font.new("HY³ª¹«M", 17) end if sizes == 18 self.contents.font = Font.new("HY³ª¹«M", 18) end if sizes == 19 self.contents.font = Font.new("HY³ª¹«M", 19) end if sizes == 20 self.contents.font = Font.new("HY³ª¹«M", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HY³ª¹«M", 16) end end if fonts == 15 if sizes == 10 self.contents.font = Font.new("HYµ¿³èM", 10) end if sizes == 11 self.contents.font = Font.new("HYµ¿³èM", 11) end if sizes == 12 self.contents.font = Font.new("HYµ¿³èM", 12) end if sizes == 13 self.contents.font = Font.new("HYµ¿³èM", 13) end if sizes == 14 self.contents.font = Font.new("HYµ¿³èM", 14) end if sizes == 15 self.contents.font = Font.new("HYµ¿³èM", 15) end if sizes == 16 self.contents.font = Font.new("HYµ¿³èM", 16) end if sizes == 17 self.contents.font = Font.new("HYµ¿³èM", 17) end if sizes == 18 self.contents.font = Font.new("HYµ¿³èM", 18) end if sizes == 19 self.contents.font = Font.new("HYµ¿³èM", 19) end if sizes == 20 self.contents.font = Font.new("HYµ¿³èM", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HYµ¿³èM", 16) end end if fonts == 16 if sizes == 10 self.contents.font = Font.new("HY¼öÆò¼±M", 10) end if sizes == 11 self.contents.font = Font.new("HY¼öÆò¼±M", 11) end if sizes == 12 self.contents.font = Font.new("HY¼öÆò¼±M", 12) end if sizes == 13 self.contents.font = Font.new("HY¼öÆò¼±M", 13) end if sizes == 14 self.contents.font = Font.new("HY¼öÆò¼±M", 14) end if sizes == 15 self.contents.font = Font.new("HY¼öÆò¼±M", 15) end if sizes == 16 self.contents.font = Font.new("HY¼öÆò¼±M", 16) end if sizes == 17 self.contents.font = Font.new("HY¼öÆò¼±M", 17) end if sizes == 18 self.contents.font = Font.new("HY¼öÆò¼±M", 18) end if sizes == 19 self.contents.font = Font.new("HY¼öÆò¼±M", 19) end if sizes == 20 self.contents.font = Font.new("HY¼öÆò¼±M", 20) end unless(sizes == 10 or sizes == 11 or sizes == 12 or sizes == 13 or sizes == 14 or sizes == 15 or sizes == 16 or sizes == 17 or sizes == 18 or sizes == 19 or sizes == 20) self.contents.font = Font.new("HY¼öÆò¼±M", 16) end end self.contents.font.color = text_color(fc) if opacitys < 0 self.opacity = 180 end if opacitys >= 0 self.opacity = opacitys end self.back_opacity = 180 end def refresh self.contents.clear self.contents.draw_text(0, -5, 120, 30, @show_text6) self.contents.draw_text(0, 14, 120, 30, @show_text7) self.contents.draw_text(0, 33, 120, 30, @show_text5) self.contents.draw_text(0, 62, 120, 30, @show_text) self.contents.draw_text(0, 81, 120, 30, @show_text2) self.contents.draw_text(0, 100, 120, 30, @show_text3) self.contents.draw_text(0, 129, 120, 30, @show_text4) end #+61 def actor $game_party.actors[0] end def update super text = sprintf("%s : %d / %d", $data_system.words.hp, actor.hp, actor.maxhp) #HP text2 = sprintf("%s : %d / %d", $data_system.words.sp, actor.sp, actor.maxsp) #MP text3 = sprintf("%s : %.3f%%", @exp, (actor.exp_rate*100).to_f)#°æÇèÄ¡ text4 = sprintf("%s : %d %s", @gold, $game_party.gold, $data_system.words.gold)#¼ÒÁö±Ý text5 = sprintf("%s : %d", @level, actor.level)#·¹º§ text6 = sprintf("%s : %s", @job, $game_party.actors[0].class_name)#Á÷¾÷ text7 = sprintf("%s : %s", @character, actor.name)#ij¸¯ÅÍ if @show_text != text or @show_text2 != text2 or @show_text3 != text3 or @show_text4 != text4 or @show_text5 != text5 or @show_text6 != text6 or @show_tex7 != text7 @show_text = text @show_text2 = text2 @show_text3 = text3 @show_text4 = text4 @show_text5 = text5 @show_text6 = text6 @show_text7 = text7 refresh end end end class Scene_Map alias update_before_map update def update update_before_map @window_gauge = Window_Gauge.new unless @window_gauge @window_gauge.update unless $scene.is_a?(Scene_Map) @window_gauge.dispose @window_gauge = nil end end end