addhp不应该取整
This commit is contained in:
parent
a8d0a87f72
commit
0947bc386e
@ -318,7 +318,7 @@ export class HeroShared {
|
||||
static amendAttr(buff: k_v<number>) {
|
||||
for (let k in buff) {
|
||||
if (typeof buff[k] != 'number') continue;
|
||||
if (k.indexOf('pro') != -1 || k.indexOf('drop') != -1) continue;
|
||||
if (k.indexOf('pro') != -1 || k.indexOf('drop') != -1 || k=='addhp') continue;
|
||||
buff[k] = Math.floor(buff[k]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user