|
2010-05-28 16:55
조회: 1,099
추천: 0
첨부파일
pitbull4 질문 좀 드릴께요;;local dr,dg,db = DifficultyColor(unit)
local form = DruidForm(unit) local classification = Classification(unit) if UnitIsPlayer(unit) or (not UnitIsFriend(unit,"player") and not IsPet(unit)) then local cr,cg,cb = ClassColor(unit) if form then return "%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or '' else return "%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or '' end else if form then return "%s%s|cff%02x%02x%02x%s|r (%s) %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or '' else return "%s%s|cff%02x%02x%02x%s|r %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or '' end end 이렇게 사용하던걸 local dr,dg,db = DifficultyColor(unit) local form = DruidForm(unit) local classification = Classification(unit) if UnitIsPlayer(unit) or (not UnitIsFriend(unit,"player") and not IsPet(unit)) then local cr,cg,cb = ClassColor(unit) if form then return "%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Name(unit),Angle(AFK(unit) or DND(unit)) or '' else return "%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Name(unit),Angle(AFK(unit) or DND(unit)) or '' end else if form then return "%s%s|cff%02x%02x%02x%s|r (%s) %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or '' else return "%s%s|cff%02x%02x%02x%s|r %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or '' end end 이렇게 수정하였습니다.. 인간형은 문제가 안되는데.. 드루이드가 폼변신하면 이름 부분에서 에러가 뜨네요.. 어떻게 수정해야는지 좀.. 제가 코드 이런건 잘몰라서;;
EXP
25,388
(59%)
/ 26,201
|


kubrick 