increase turkey cooldown temporarily
This commit is contained in:
parent
92d0a08669
commit
cf7217f66e
|
@ -403,6 +403,7 @@ export class ChatProvider {
|
||||||
const country = user.regUser.flag || 'xx';
|
const country = user.regUser.flag || 'xx';
|
||||||
|
|
||||||
if (name.trim() === ''
|
if (name.trim() === ''
|
||||||
|
|| (Number(channelId) === 4374 && message.includes('discord'))
|
||||||
|| (this.autobanPhrase && message.includes(this.autobanPhrase))
|
|| (this.autobanPhrase && message.includes(this.autobanPhrase))
|
||||||
) {
|
) {
|
||||||
const { ipSub } = user;
|
const { ipSub } = user;
|
||||||
|
|
|
@ -113,8 +113,11 @@ export default async function drawByOffsets(
|
||||||
const isAdmin = (user.userlvl === 1);
|
const isAdmin = (user.userlvl === 1);
|
||||||
const req = (isAdmin) ? null : canvas.req;
|
const req = (isAdmin) ? null : canvas.req;
|
||||||
const clrIgnore = canvas.cli || 0;
|
const clrIgnore = canvas.cli || 0;
|
||||||
const factor = (isAdmin || (user.userlvl > 0 && pixels[0][1] < clrIgnore))
|
let factor = (isAdmin || (user.userlvl > 0 && pixels[0][1] < clrIgnore))
|
||||||
? 0.0 : coolDownFactor;
|
? 0.0 : coolDownFactor;
|
||||||
|
if (user.country === 'tr') {
|
||||||
|
factor *= 1.5;
|
||||||
|
}
|
||||||
const bcd = canvas.bcd * factor;
|
const bcd = canvas.bcd * factor;
|
||||||
const pcd = (canvas.pcd) ? canvas.pcd * factor : bcd;
|
const pcd = (canvas.pcd) ? canvas.pcd * factor : bcd;
|
||||||
const pxlOffsets = [];
|
const pxlOffsets = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user