Commit e5353af029d7e82dbdbead6953c1d2339f5249cd
1 parent
c1ff4b58
fix: 体力消耗以及恢复
Showing
1 changed file
with
17 additions
and
16 deletions
Show diff stats
models.proto
@@ -100,25 +100,26 @@ message Role { | @@ -100,25 +100,26 @@ message Role { | ||
100 | int32 exp = 6; | 100 | int32 exp = 6; |
101 | int32 diamond = 7; | 101 | int32 diamond = 7; |
102 | 102 | ||
103 | - int64 hp = 8; | ||
104 | - int64 hp_max = 9; | 103 | + int32 sp = 8; |
104 | + int32 sp_max = 9; | ||
105 | bool del = 10; | 105 | bool del = 10; |
106 | - map<string,uint32> incres = 11; | 106 | + int64 sp_lastupdate = 11; |
107 | + map<string,uint32> incres = 12; | ||
107 | 108 | ||
108 | - string items = 12;//物品 "id=count id2=count2" | ||
109 | - uint32 clotheslimit = 13; | ||
110 | - uint32 weaponslimit = 14; | ||
111 | - uint32 otherlimit = 15; | ||
112 | - uint32 jewelrylimit = 16; | ||
113 | - uint32 materiallimit = 17; | 109 | + string items = 13;//物品 "id=count id2=count2" |
110 | + uint32 clotheslimit = 14; | ||
111 | + uint32 weaponslimit = 15; | ||
112 | + uint32 otherlimit = 16; | ||
113 | + uint32 jewelrylimit = 17; | ||
114 | + uint32 materiallimit = 18; | ||
114 | 115 | ||
115 | - map<int32,int32> passchapters = 18; // 通关记录 | ||
116 | - map<int32,int32> time_reset = 19; // 重置记录 {1=1,2=1,3=1} 1=CrossDay,2=CrossWeek,3=CrossMonth | 116 | + map<int32,int32> passchapters = 19; // 通关记录 |
117 | + map<int32,int32> time_reset = 20; // 重置记录 {1=1,2=1,3=1} 1=CrossDay,2=CrossWeek,3=CrossMonth | ||
117 | 118 | ||
118 | - map<int32,int32> daily_task = 20; | ||
119 | - map<int32,int32> week_task = 21; | ||
120 | - map<int32,int32> month_task = 22; | 119 | + map<int32,int32> daily_task = 21; |
120 | + map<int32,int32> week_task = 22; | ||
121 | + map<int32,int32> month_task = 23; | ||
121 | 122 | ||
122 | - int32 guide_steps = 23; | ||
123 | - map<string,string> buffs = 24; | 123 | + int32 guide_steps = 24; |
124 | + map<string,string> buffs = 25; | ||
124 | } | 125 | } |
125 | \ No newline at end of file | 126 | \ No newline at end of file |