Skip to content

Commit fd266cb

Browse files
committed
feat: 角色统计增加休闲点统计
1 parent 26c98ab commit fd266cb

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

MY_RoleStatistics/data/role/zhcn_exp.jx3dat

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,37 @@ return function(env)
216216
return env.me.GetJusticeRemainSpace()
217217
end,
218218
},
219+
-- ���е�
220+
{
221+
szKey = 'contribution',
222+
szTitle = '���е�',
223+
szTitleAbbr = '����',
224+
bTable = true,
225+
bRowTip = true,
226+
bFloatTip = true,
227+
bAlertChange = true,
228+
nMinWidth = 60,
229+
szCompareIncreaseText = '������е�%s��',
230+
szCompareDecreaseText = '�������е�%s��',
231+
GetValue = function(prevVal, prevRec)
232+
return env.me.nContribution
233+
end,
234+
},
235+
-- �������
236+
{
237+
szKey = 'contribution_remain',
238+
szTitle = '���������',
239+
szTitleAbbr = '������',
240+
bTable = true,
241+
bRowTip = true,
242+
bFloatTip = true,
243+
bAlertChange = true,
244+
nMinWidth = 60,
245+
szRefreshCircle = 'weekly',
246+
GetValue = function(prevVal, prevRec)
247+
return env.me.GetContributionRemainSpace()
248+
end,
249+
},
219250
-- �˿ͼ�
220251
{
221252
szKey = 'starve',

MY_RoleStatistics/data/role/zhcn_hd.jx3dat

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,37 @@ return function(env)
216216
return env.me.GetJusticeRemainSpace()
217217
end,
218218
},
219+
-- ���е�
220+
{
221+
szKey = 'contribution',
222+
szTitle = '���е�',
223+
szTitleAbbr = '����',
224+
bTable = true,
225+
bRowTip = true,
226+
bFloatTip = true,
227+
bAlertChange = true,
228+
nMinWidth = 60,
229+
szCompareIncreaseText = '������е�%s��',
230+
szCompareDecreaseText = '�������е�%s��',
231+
GetValue = function(prevVal, prevRec)
232+
return env.me.nContribution
233+
end,
234+
},
235+
-- �������
236+
{
237+
szKey = 'contribution_remain',
238+
szTitle = '���������',
239+
szTitleAbbr = '������',
240+
bTable = true,
241+
bRowTip = true,
242+
bFloatTip = true,
243+
bAlertChange = true,
244+
nMinWidth = 60,
245+
szRefreshCircle = 'weekly',
246+
GetValue = function(prevVal, prevRec)
247+
return env.me.GetContributionRemainSpace()
248+
end,
249+
},
219250
-- �˿ͼ�
220251
{
221252
szKey = 'starve',

MY_RoleStatistics/data/role/zhtw_hd.jx3dat

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,37 @@ return function(env)
216216
return env.me.GetJusticeRemainSpace()
217217
end,
218218
},
219+
-- 休閑點
220+
{
221+
szKey = 'contribution',
222+
szTitle = '休閑點',
223+
szTitleAbbr = '休閑',
224+
bTable = true,
225+
bRowTip = true,
226+
bFloatTip = true,
227+
bAlertChange = true,
228+
nMinWidth = 60,
229+
szCompareIncreaseText = '獲得休閑點%s點',
230+
szCompareDecreaseText = '消耗休閑點%s點',
231+
GetValue = function(prevVal, prevRec)
232+
return env.me.nContribution
233+
end,
234+
},
235+
-- 休閑點周餘
236+
{
237+
szKey = 'contribution_remain',
238+
szTitle = '休閑點周上限',
239+
szTitleAbbr = '休閑周',
240+
bTable = true,
241+
bRowTip = true,
242+
bFloatTip = true,
243+
bAlertChange = true,
244+
nMinWidth = 60,
245+
szRefreshCircle = 'weekly',
246+
GetValue = function(prevVal, prevRec)
247+
return env.me.GetContributionRemainSpace()
248+
end,
249+
},
219250
-- 浪客箋
220251
{
221252
szKey = 'starve',

0 commit comments

Comments
 (0)