addhp不应该取整
This commit is contained in:
parent
8e9553386f
commit
45c5a195ed
@ -305,7 +305,7 @@ export class HeroShared {
|
|||||||
static amendAttr(buff: k_v<number>) {
|
static amendAttr(buff: k_v<number>) {
|
||||||
for (let k in buff) {
|
for (let k in buff) {
|
||||||
if (typeof buff[k] != 'number') continue;
|
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]);
|
buff[k] = Math.floor(buff[k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user