Merge branch 'bugfix' into dev
This commit is contained in:
commit
2e1bd44f0f
@ -322,7 +322,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