fix:竞技场第一名头像特殊处理,可以用道具直接解锁
This commit is contained in:
parent
b0a3c17927
commit
1c256ab58b
@ -305,8 +305,11 @@ export class UserFun {
|
|||||||
gud.headFrames[conf.id] += val * v;
|
gud.headFrames[conf.id] += val * v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(conf?.cond?.[0] == "jjc_rank") {
|
||||||
|
change = true;
|
||||||
|
gud.headFrames[conf.id] = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (change) {
|
if (change) {
|
||||||
PlayerFun.changeAttr(uid, {headFrames: gud.headFrames});
|
PlayerFun.changeAttr(uid, {headFrames: gud.headFrames});
|
||||||
G.server.sendMsgByUid(uid, 'msg_s2c/PlayerChange', {headFrames: gud.headFrames});
|
G.server.sendMsgByUid(uid, 'msg_s2c/PlayerChange', {headFrames: gud.headFrames});
|
||||||
|
Loading…
Reference in New Issue
Block a user