Builds / 1.10.97
Update 1.10.97
Compared with 1.10.87 · published Thu, 11 Jun 2026 08:34:21 GMT · live channel
No summary yet.
Text changes 4
| Key | Text | |
|---|---|---|
| GAME_1219 | + | Log in every day and claim your rewards! |
| PET_10017 | ~ |
|
| PET_10018 | ~ |
|
| PET_10019 | ~ |
|
Translations touched: de (4), es (4), fr (4), id (4), it (4), ja (4), ko (4), pl (11), pt (4), ru (4), th (4), tr (4), vi (4), zh-CN (4), zh-TW (4)
Assets 10
Code 191 changes in 91 classes
Minified client code with short names blanked for diffing. Class names are real.
- RaidCrossbow 325
- RaidBattleController 191
- DefaultShader 120
- ColorMatrixFilter 91
- MaskFilter 90
- CorpFlagGhost 39
- BaseRaidUnit 38
- AttendanceAutoTrigger 38
- AttendancePopup 34
- AttendanceSection 32
- OfflinePopup 26
- CorpFlagCommander 24
- GolemKing 23
- PassthroughFilter 17
- AttendanceDataManager 17
- CorpFlag 12
- AttendanceReceiveButton 11
- CorpCameraController 7
- GuildWarBattlePopupV3 7
- PoolGroupClass 5
- BackgroundLoader 5
- GpuGraphicsContext 5
- DOMPipe 5
- FrameLoopManager 5
- TextureManager 5
- GuildWarConfigVO 5
- Archery2GameScene 4
- ViewContainer 3
- GpuProgram 3
- CanvasGraphicsContext 3
- TreasureItemRenderer 3
- HonorShopItemRenderer 3
- Client 3
- SHA256 3
- SuiProvider 3
- WalletPopup 3
- CanvasSource 2
- TilingSpriteShader 2
- BatchableSprite 2
- CanvasRenderer 2
- WebGLRenderer 2
- WebGPURenderer 2
- TreasureBookPopup 2
- GuildBarrackRowItemRenderer 2
- GuildWarBattleReadyPopup 2
- GuildWarSquadsPopup 2
- GuildWarTierAssignPopup 2
- BufferImageSource 1
- FilterEffect 1
- InstructionSet 1
- RenderGroup 1
- CacheClass 1
- ApplicationInitHook 1
- Circle 1
- GraphicsContextRenderData 1
- AssetsClass 1
- CompressedSource 1
- WorkerInstance 1
- LRU 1
- CanvasTextGeneratorClass 1
- HTMLTextStyle 1
- RenderTargetSystem 1
- GlUboSystem 1
- VersionManager 1
- BuffStatusPopup 1
- PetListSubView 1
- PetSelectPopup 1
- FavoritePetSubView 1
- TreasureInventorySubView 1
- TreasureSubView 1
- Sr 1
- Ma 1
- Yp 1
- SuiStandardProvider 1
- AppReadyEvent 1
- SolProvider 1
- OkxwalletInjectConnector 1
- TcRootElement 1
- WalletSelectPopup 1
- GuildBarracksRaceView 1
- GuildMainSubView 1
- GuildWarHistoryItemRenderer 1
- BattleController 1
- GuildWarCombatLogItemRenderer 1
- GuildWarMemberStatusItemRenderer 1
- GuildWarTargetMarkerItemRenderer 1
- GoldPiece 1
- Delay 1
- NetworkTimeout 1
- RecaptchaVerifier 1
- BrowserPopupRedirectResolver 1
RaidCrossbow 1 hunks, 325 statements
+ const t8=class t{ + constructor(i,s,e,n){ + zt(this,"root"),zt(this,"arrowLayer"),zt(this,"spine",null),zt(this,"controlBone",null),zt(this,"arrowTexture",null),zt(this,"aim",0),zt(this,"baseX",0),zt(this,"baseY",0),zt(this,"fieldW",0),zt(this,"fieldH",0),zt(this,"dragging",!1),zt(this,"dragStartX",0),zt(this,"dragStartAim",0),zt(this,"phase","idle"),zt(this,"cooldownTimer",t.GAUGE_FULL_FRAMES),zt(this,"gauge",null),zt(this,"arrows",[]),zt(this,"hitCheck",null),this.baseX=i,this.baseY=s,this.fieldW=e,this.fieldH=n; + const h=SB.getInstance(); + this.arrowLayer=new Be,this.arrowLayer.label="RaidCrossbowArrows",this.arrowLayer.eventMode="none",h.addChild(this.arrowLayer),this.root=new Be,this.root.label="RaidCrossbow",this.root.position.set(this.baseX,this.baseY),this.root.eventMode="static",this.root.cursor="pointer",this.root.hitArea=new Pi(-90,-130,180,150),this.root.on("pointerdown",this.onDown,this),h.addChild(this.root),this.gauge=new Gf,this.gauge.eventMode="none",this.gauge.position.set(-60,t.GAUGE_Y),this.root.addChild(this.gauge),this.loadSpine()} + async loadSpine(){ + const i=YA.getBase(),s=t.SPINE_KEY,e=`weapon_${ + s} + _json`,n=`weapon_${ + s} + _atlas`; + try{ + od.add({ + alias:e,src:`${ + i} + assets/spines/${ + s} + .json`} + ),od.add({ + alias:n,src:`${ + i} + assets/spines/${ + s} + .atlas`} + )} + catch{ + } + try{ + await od.load([e,n])} + catch(Tft){ + return} + const h=x$.from({ + skeleton:e,atlas:n} + ); + h.scale.set(t.SCALE),h.autoUpdate=!0,this.spine=h,this.controlBone=h.skeleton.findBone("control"),h.beforeUpdateWorldTransforms=()=>{ + if(this.controlBone&&(this.controlBone.rotation=t.CONTROL_BASE_DEG+this.aim*t.RAD2DEG*t.AIM_SIGN),"charging"===this.phase){ + const i=h.state.getCurrent(0); + i&&i.trackTime>=t.CHARGE_MAX_TIME&&(i.timeScale=0)} + } + ,h.state.addListener({ + event:Kt((t,i)=>{ + "hit"===i.data.name&&"firing"===this.phase&&(this.spawnArrow(),this.phase="recoil")} + ,"event"),complete:Kt(t=>{ + var i; + "shot"===(null==(i=t.animation)?void 0:i.name)&&this.onShotComplete()} + ,"complete")} + ),this.root.addChildAt(h,0),this.loadArrowTexture(`${ + i} + assets/spines/${ + s} + .png`)} + async loadArrowTexture(i){ + try{ + const s=await od.load(i),e=t.ARROW_FRAME; + this.arrowTexture=new ss({ + source:s.source,frame:new Pi(e.x,e.y,e.w,e.h)} + )} + catch(Tft){ + } + } + onDown(i){ + if("idle"!==this.phase||!this.spine)return; + if(this.cooldownTimer<t.GAUGE_FULL_FRAMES)return; + i.stopPropagation(),this.dragging=!0,this.dragStartX=i.global.x,this.dragStartAim=this.aim,this.phase="charging",this.spine.state.setAnimation(0,"shot",!1).timeScale=t.CHARGE_TIME_SCALE; + const s=KA.stage; + s&&(s.on("globalpointermove",this.onMove,this),s.on("pointerup",this.onUp,this),s.on("pointerupoutside",this.onUp,this))} + onMove(i){ + if(!this.dragging)return; + const s=t.AIM_MAX_RAD/t.AIM_RANGE_PX,e=this.dragStartAim+(i.global.x-this.dragStartX)*s; + this.aim=Math.max(-t.AIM_MAX_RAD,Math.min(t.AIM_MAX_RAD,e))} + onUp(i){ + var s; + if(this.dragging&&(this.dragging=!1,this.detachStageListeners(),"charging"===this.phase)){ + this.phase="firing"; + const i=null==(s=this.spine)?void 0:s.state.getCurrent(0); + i&&(i.timeScale=t.CHARGE_TIME_SCALE)} + } + detachStageListeners(){ + const t=KA.stage; + t&&(t.off("globalpointermove",this.onMove,this),t.off("pointerup",this.onUp,this),t.off("pointerupoutside",this.onUp,this))} + spawnArrow(){ + if(!this.arrowTexture)return; + const i=Math.sin(this.aim),s=-Math.cos(this.aim),e=new je(this.arrowTexture); + e.anchor.set(.5,.5),e.scale.set(t.SCALE),e.position.set(this.baseX+i*t.ARROW_SPAWN_OFFSET,this.baseY+s*t.ARROW_SPAWN_OFFSET),e.rotation=this.aim,this.arrowLayer.addChild(e),this.arrows.push({ + sp:e,vx:i*t.ARROW_SPEED,vy:s*t.ARROW_SPEED} + ),this.cooldownTimer=0} + drawGauge(){ + if(!this.gauge)return; + const i=Math.min(1,this.cooldownTimer/t.GAUGE_FULL_FRAMES),s=i>=1,e=t.GAUGE_W,n=t.GAUGE_H,h=n/2,r=this.gauge; + r.clear(),r.roundRect(0,0,e,n,h).fill({ + color:1710618,alpha:.85} + ); + const o=i*e; + o>.5&&r.roundRect(0,0,o,n,h).fill({ + color:s?3855962:16757051} + ),r.roundRect(0,0,e,n,h).stroke({ + width:2,color:0,alpha:.8} + )} + onShotComplete(){ + this.phase="idle",this.spine&&this.spine.state.clearTrack(0)} + setHitCheck(t){ + this.hitCheck=t} + update(){ + if(this.cooldownTimer<t.GAUGE_FULL_FRAMES&&this.cooldownTimer++,this.drawGauge(),0===this.arrows.length)return; + const i=200; + for(let t=this.arrows.length-1; + t>=0; + t--){ + const s=this.arrows[t],e=s.sp.x,n=s.sp.y; + s.sp.x+=s.vx,s.sp.y+=s.vy,this.hitCheck&&this.hitCheck(e,n,s.sp.x,s.sp.y),(s.sp.y<-i||s.sp.y>this.fieldH+i||s.sp.x<-i||s.sp.x>this.fieldW+i)&&(s.sp.removeFromParent(),s.sp.destroy(),this.arrows.splice(t,1))} + } + destroy(){ + this.detachStageListeners(),this.dragging=!1; + for(const t of this.arrows)t.sp.removeFromParent(),t.sp.destroy(); + this.arrows.length=0,this.root.removeAllListeners(),this.root.removeFromParent(),this.root.destroy({ + children:!0} + ),this.arrowLayer.removeFromParent(),this.arrowLayer.destroy({ + children:!0} + )} + } + ; + Kt(t8,"RaidCrossbow"),zt(t8,"SPINE_KEY","raids/weapon/crossbow_tank"),zt(t8,"AIM_MAX_RAD",60*Math.PI/180),zt(t8,"CONTROL_BASE_DEG",0),zt(t8,"AIM_SIGN",-1),zt(t8,"RAD2DEG",180/Math.PI),zt(t8,"AIM_RANGE_PX",250),zt(t8,"SCALE",1),zt(t8,"ARROW_SPEED",26),zt(t8,"ARROW_SPAWN_OFFSET",60),zt(t8,"CHARGE_MAX_TIME",2.6),zt(t8,"GAUGE_FULL_FRAMES",300),zt(t8,"CHARGE_TIME_SCALE",2),zt(t8,"GAUGE_W",120),zt(t8,"GAUGE_H",12),zt(t8,"GAUGE_Y",50),zt(t8,"ARROW_FRAME",{ + x:48,y:168,w:28,h:111} + ); + let i8=t8; + const s8=class t{ + constructor(i,s,e,n,h){ + zt(this,"root"),zt(this,"bossFace",new z5),zt(this,"bossName"),zt(this,"bossMult"),zt(this,"bossBar",new Gf),zt(this,"timerText"),zt(this,"lastTimerStr",""),zt(this,"closeButton"),zt(this,"aggroGauges",[]),zt(this,"aggroIcons",[]),zt(this,"aggroTexts",[]),zt(this,"lastAggroStr",[]),zt(this,"dmgGauges",[]),zt(this,"dmgTexts",[]),zt(this,"lastDmgStr",[]),zt(this,"whiteFill",1),zt(this,"lastN",-1),zt(this,"lastMultStr",""),this.root=new Be,this.root.label="RaidHud",this.root.eventMode="none",Oit.getInstance().addChild(this.root),this.closeButton=this.createCloseButton(h); + const r=new Cg({ + fontSize:20,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:4} + } + ),o=new Cg({ + fontSize:16,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:4} + } + ),a=new Cg({ + fontSize:14,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:3} + } + ),c=t.BOSS_X,l=t.BOSS_Y; + this.bossFace.scale.set(t.FACE_SCALE),this.bossFace.position.set(c,l),s>0&&this.bossFace.setDataWithKindNum(s),this.root.addChild(this.bossFace); + const u=c+this.bossFace.width+10; + this.bossName=new jg({ + text:i||"BOSS",style:r} + ),this.bossName.position.set(u,l),this.root.addChild(this.bossName); + const d=u,f=l+30; + this.bossBar.position.set(d,f),this.root.addChild(this.bossBar),this.bossMult=new jg({ + text:"×100",style:o} + ),this.bossMult.anchor.set(.5,.5),this.bossMult.position.set(d+t.BAR_W/2,f+t.BAR_H/2),this.root.addChild(this.bossMult); + const p=KA.stageWidth||640; + this.timerText=new jg({ + text:"3:00",style:new Cg({ + fontSize:24,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:4} + } + )} + ),this.timerText.anchor.set(.5,0),this.timerText.position.set(p/2,18),this.root.addChild(this.timerText); + const g=(KA.stageHeight||1130)-t.CORP_TOP_FROM_BOTTOM,m=t.CORP_X,w=Math.max(e.length,n.length); + for(let v=0; + v<w; + v++){ + const i=g+v*t.CORP_ROW_H,s=new z5; + s.scale.set(t.HERO_ICON_SCALE); + const h=e[v]??0; + h>0&&s.setDataWithKindNum(h),s.position.set(m,i); + const r=s.width,o=s.height,c=new z5; + c.scale.set(t.HERO_ICON_SCALE*t.SOLDIER_ICON_RATIO); + const l=n[v]??0; + l>0&&c.setDataWithKindNum(l); + const u=c.width,d=c.height; + c.position.set(m+r+2+t.SOLDIER_ICON_DX,i+o-d),this.root.addChild(c),this.root.addChild(s); + const f=m+r+2+u+12+t.SOLDIER_ICON_DX,p=new Gf; + p.position.set(f,i+2),this.root.addChild(p),this.aggroGauges.push(p); + const w=new jg({ + text:"",style:a} + ); + w.anchor.set(0,.5),w.position.set(f+t.DMG_GAUGE_W+8,i+2+t.AGGRO_GAUGE_H/2),this.root.addChild(w),this.aggroTexts.push(w),this.lastAggroStr.push(""); + const b=new je(ZA.getTexture("UI_Ekkorr","Icon_Monster")); + b.anchor.set(.5,.5),b.scale.set(.8),b.position.set(f-10,i+2+t.AGGRO_GAUGE_H/2),b.visible=!1,this.root.addChild(b),this.aggroIcons.push(b); + const y=new Gf; + y.position.set(f,i+22),this.root.addChild(y),this.dmgGauges.push(y); + const _=new jg({ + text:"",style:a} + ); + _.anchor.set(0,.5),_.position.set(f+t.DMG_GAUGE_W+8,i+22+t.DMG_GAUGE_H/2),this.root.addChild(_),this.dmgTexts.push(_),this.lastDmgStr.push("")} + } + update(i){ + const s=i.bossMaxHp>0?i.bossMaxHp:1,e=Math.max(0,Math.min(100,i.bossHp/s*100)); + let n=Math.ceil(e); + n>100&&(n=100),n<0&&(n=0); + let h=e-(n-1); + h<0&&(h=0),h>1&&(h=1),n!==this.lastN?(this.whiteFill=h,this.lastN=n):(this.whiteFill<h&&(this.whiteFill=h),this.whiteFill+=(h-this.whiteFill)*t.WHITE_EASE,this.whiteFill<h&&(this.whiteFill=h)),this.drawBossBar(h,this.whiteFill); + const r="×"+n; + r!==this.lastMultStr&&(this.bossMult.text=r,this.lastMultStr=r); + const o=Math.max(0,Math.floor(i.remainSec)),a=o%60,c=`${ + Math.floor(o/60)} + :${ + a<10?"0"+a:a} + `; + c!==this.lastTimerStr&&(this.timerText.text=c,this.lastTimerStr=c); + let l=0,u=0,d=-1; + for(let t=0; + t<i.corps.length; + t++){ + const s=i.corps[t]; + s&&(s.dmg>l&&(l=s.dmg),s.alive>0&&s.aggro>u&&(u=s.aggro,d=t))} + for(let t=0; + t<this.aggroGauges.length; + t++){ + const s=i.corps[t]; + if(!s)continue; + const e=u>0?Math.min(1,s.aggro/u):0,n=t===d; + this.drawAggroGauge(this.aggroGauges[t],e,n),this.aggroIcons[t].visible=n; + const h=RL.displayLargeNumberAsAlphabet(Math.max(0,Math.round(s.aggro))); + h!==this.lastAggroStr[t]&&(this.aggroTexts[t].text=h,this.lastAggroStr[t]=h); + const r=l>0?Math.min(1,s.dmg/l):0; + this.drawDmgGauge(this.dmgGauges[t],r); + const o=RL.displayLargeNumberAsAlphabet(Math.max(0,s.dmg)); + o!==this.lastDmgStr[t]&&(this.dmgTexts[t].text=o,this.lastDmgStr[t]=o)} + } + drawAggroGauge(i,s,e){ + const n=t.DMG_GAUGE_W,h=t.AGGRO_GAUGE_H,r=h/2; + i.clear(),i.roundRect(0,0,n,h,r).fill({ + color:1710618,alpha:.85} + ); + const o=s*n; + o>.5&&i.roundRect(0,0,o,h,r).fill({ + color:e?t.AGGRO_TOP_COLOR:t.AGGRO_COLOR} + ),i.roundRect(0,0,n,h,r).stroke({ + width:e?2:1,color:e?16777215:0,alpha:e?.95:.7} + )} + drawBossBar(i,s){ + const e=t.BAR_W,n=t.BAR_H,h=.4*n,r=this.bossBar; + r.clear(),r.roundRect(0,0,e,n,h).fill({ + color:1710618,alpha:.92} + ); + const o=i*e,a=s*e; + a>o+.5&&r.rect(o,0,a-o,n).fill({ + color:16777215,alpha:.95} + ),o>.5&&r.rect(0,0,o,n).fill({ + color:t.BOSS_COLOR} + ),r.roundRect(0,0,e,n,h).stroke({ + width:2,color:0,alpha:.85} + )} + drawDmgGauge(i,s){ + const e=t.DMG_GAUGE_W,n=t.DMG_GAUGE_H,h=.5*n; + i.clear(),i.roundRect(0,0,e,n,h).fill({ + color:1710618,alpha:.9} + ); + const r=Math.max(0,Math.min(1,s))*e; + r>.5&&i.roundRect(0,0,r,n,h).fill({ + color:t.DMG_GAUGE_COLOR} + ),i.roundRect(0,0,e,n,h).stroke({ + width:2,color:0,alpha:.8} + )} + createCloseButton(i){ + const s=KA.stageWidth||640,e=t.CLOSE_SIZE,n=t.CLOSE_MARGIN,h=new Be; + h.position.set(s-n-e,n); + const r=new Gf; + r.roundRect(0,0,e,e,10).fill({ + color:0,alpha:.55} + ).stroke({ + width:2,color:16777215,alpha:.6} + ),h.addChild(r); + const o=new jg({ + text:"X",style:new Cg({ + fontSize:28,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:3} + } + )} + ); + return o.anchor.set(.5,.5),o.position.set(e/2,e/2),h.addChild(o),h.eventMode="static",h.cursor="pointer",h.hitArea=new Pi(0,0,e,e),h.on("pointerup",()=>queueMicrotask(i)),Oit.getInstance().addChild(h),h} + destroy(){ + this.closeButton.removeAllListeners(),this.closeButton.removeFromParent(),this.closeButton.destroy({ + children:!0} + ),this.root.removeFromParent(),this.root.destroy({ + children:!0} + )} + } + ; + Kt(s8,"RaidHud"),zt(s8,"BOSS_X",16),zt(s8,"BOSS_Y",26),zt(s8,"FACE_SCALE",.6),zt(s8,"BAR_W",280),zt(s8,"BAR_H",20),zt(s8,"CORP_X",16),zt(s8,"CORP_TOP_FROM_BOTTOM",360),zt(s8,"CORP_ROW_H",48),zt(s8,"HERO_ICON_SCALE",.5),zt(s8,"SOLDIER_ICON_RATIO",.7),zt(s8,"SOLDIER_ICON_DX",-20),zt(s8,"DMG_GAUGE_W",105),zt(s8,"DMG_GAUGE_H",14),zt(s8,"DMG_GAUGE_COLOR",16757051),zt(s8,"AGGRO_GAUGE_H",10),zt(s8,"AGGRO_COLOR",11549230),zt(s8,"AGGRO_TOP_COLOR",16726832),zt(s8,"WHITE_EASE",.1),zt(s8,"BOSS_COLOR",15087916),zt(s8,"CLOSE_SIZE",48),zt(s8,"CLOSE_MARGIN",16); + let e8=s8; + const n8=class t{ + constructor(){ + zt(this,"root"),zt(this,"veil"),zt(this,"far"),zt(this,"near"),zt(this,"farP",[]),zt(this,"nearP",[]),zt(this,"w"),zt(this,"h"),zt(this,"phase",0),zt(this,"wdx"),zt(this,"wdy"),this.w=KA.stageWidth||640,this.h=KA.stageHeight||1136; + const i=Math.hypot(t.WIND_DX,t.WIND_DY)||1; + this.wdx=t.WIND_DX/i,this.wdy=t.WIND_DY/i,this.root=new Be,this.root.eventMode="none",this.root.zIndex=-1,this.veil=(new Gf).rect(0,0,this.w,this.h).fill(t.VEIL_COLOR),this.veil.alpha=t.VEIL_ALPHA,this.veil.eventMode="none",this.root.addChild(this.veil),this.far=new Gf,this.far.eventMode="none",this.root.addChild(this.far),this.near=new Gf,this.near.eventMode="none",this.root.addChild(this.near),this.farP=this.spawnParticles(t.FAR_COUNT,t.FAR_SPEED_MIN,t.FAR_SPEED_MAX,t.FAR_LEN_MIN,t.FAR_LEN_MAX),this.nearP=this.spawnParticles(t.NEAR_COUNT,t.NEAR_SPEED_MIN,t.NEAR_SPEED_MAX,t.NEAR_LEN_MIN,t.NEAR_LEN_MAX); + const s=new je(this.buildVignetteTexture()); + s.width=this.w,s.height=this.h,s.eventMode="none",this.root.addChild(s),Oit.getInstance().addChildAt(this.root,0),GM.getInstance().add(this.update,this)} + spawnParticles(t,i,s,e,n){ + const h=[]; + for(let r=0; + r<t; + r++)h.push({ + x:Math.random()*this.w,y:Math.random()*this.h,speed:i+Math.random()*(s-i),len:e+Math.random()*(n-e)} + ); + return h} + respawn(t){ + const i=this.wdx>=0,s=this.wdy>=0; + Math.random()<.5?(t.x=i?-5-30*Math.random():this.w+5+30*Math.random(),t.y=Math.random()*this.h):(t.x=Math.random()*this.w,t.y=s?-5-30*Math.random():this.h+5+30*Math.random())} + buildVignetteTexture(){ + const i=256,s=document.createElement("canvas"); + s.width=i,s.height=i; + const e=s.getContext("2d"),n=e.createRadialGradient(128,117.76,46.08,128,128,158.72); + return n.addColorStop(0,"rgba(255,200,120,0)"),n.addColorStop(.7,"rgba(150,80,25,0.10)"),n.addColorStop(1,`rgba(110,55,18,${ + t.VIGNETTE_EDGE_ALPHA} + )`),e.fillStyle=n,e.fillRect(0,0,i,i),ss.from(s)} + updateLayer(t,i,s,e,n){ + t.clear(); + const h=this.wdx,r=this.wdy; + for(const o of i)o.x+=h*o.speed,o.y+=r*o.speed,(o.x<-50||o.x>this.w+50||o.y<-50||o.y>this.h+50)&&this.respawn(o),t.moveTo(o.x,o.y),t.lineTo(o.x-h*o.len,o.y-r*o.len); + t.stroke({ + width:n,color:s,alpha:e} + )} + update(){ + this.phase+=.04,this.veil.alpha=t.VEIL_ALPHA+Math.sin(this.phase)*t.VEIL_PULSE,this.updateLayer(this.far,this.farP,t.FAR_COLOR,t.FAR_ALPHA,t.FAR_WIDTH),this.updateLayer(this.near,this.nearP,t.NEAR_COLOR,t.NEAR_ALPHA,t.NEAR_WIDTH)} + destroy(){ + GM.getInstance().remove(this.update,this),this.root.removeFromParent(),this.root.destroy({ + children:!0} + )} + } + ; + Kt(n8,"RaidMapEffect"),zt(n8,"WIND_DX",-1),zt(n8,"WIND_DY",.15),zt(n8,"VIGNETTE_EDGE_ALPHA",.55),zt(n8,"VEIL_COLOR",13479795),zt(n8,"VEIL_ALPHA",.18),zt(n8,"VEIL_PULSE",.07),zt(n8,"FAR_COUNT",420),zt(n8,"FAR_SPEED_MIN",6),zt(n8,"FAR_SPEED_MAX",10),zt(n8,"FAR_LEN_MIN",6),zt(n8,"FAR_LEN_MAX",14),zt(n8,"FAR_COLOR",16115912),zt(n8,"FAR_ALPHA",.22),zt(n8,"FAR_WIDTH",1.5),zt(n8,"NEAR_COUNT",320),zt(n8,"NEAR_SPEED_MIN",11),zt(n8,"NEAR_SPEED_MAX",16),zt(n8,"NEAR_LEN_MIN",10),zt(n8,"NEAR_LEN_MAX",22),zt(n8,"NEAR_COLOR",16773330),zt(n8,"NEAR_ALPHA",.52),zt(n8,"NEAR_WIDTH",2.5); + let h8=n8;
RaidBattleController 15 hunks, 191 statements
- super(),zt(this,"battleType",R$.RAID),zt(this,"boss",null),zt(this,"terrainOverlay",null),zt(this,"allyFlowField",null),zt(this,"enemyFlowField",null),zt(this,"separationGrid",new Map),zt(this,"separationFlatList",[]),zt(this,"rvoPool",[]),zt(this,"rvoNbAgents",[]),zt(this,"rvoNbDist",[]),zt(this,"rvoNbIdx",[]),zt(this,"heroKindNums",[60,58,78,54,56]),zt(this,"soldierKindNums",[1,4,7,20,13]),zt(this,"spawnedVOs",[]),zt(this,"speedHelper",new J6("ef2.raid.battleSpeed")),zt(this,"corpCommander",new T4(t.CORP_COUNT)),zt(this,"camera",null),zt(this,"allySpawnIndex",0),zt(this,"allyMeleeIndex",0)} + super(),zt(this,"battleType",nV.RAID),zt(this,"boss",null),zt(this,"terrainOverlay",null),zt(this,"allyFlowField",null),zt(this,"enemyFlowField",null),zt(this,"separationGrid",new Map),zt(this,"separationFlatList",[]),zt(this,"rvoPool",[]),zt(this,"rvoNbAgents",[]),zt(this,"rvoNbDist",[]),zt(this,"rvoNbIdx",[]),zt(this,"heroKindNums",[60,58,78,54,56]),zt(this,"soldierKindNums",[20,4,7,1,13]),zt(this,"spawnedVOs",[]),zt(this,"speedHelper",new _4("ef2.raid.battleSpeed")),zt(this,"corpCommander",new Z4(t.CORP_COUNT)),zt(this,"camera",null),zt(this,"mapEffect",null),zt(this,"hud",null),zt(this,"corpUnits",[]),zt(this,"corpAggro",[]),zt(this,"prevCorpDmg",[]),zt(this,"corpHero",[]),zt(this,"aggroLeader",-1),zt(this,"aggroChallenger",-1),zt(this,"aggroChallengerFrames",0),zt(this,"aggroTargetCorp",-1),zt(this,"crossbow",null),zt(this,"crossbowDebug",null),zt(this,"rangedByCorp",[]),zt(this,"meleeSoldiers",[])}
- this.cleanup(),sB.getInstance().setDay(),sB.getInstance().scale.set(1,1),this.battleEnded=!1,this.battleResult=null,this.battleTime=0,this.killCount=0,this.allySpawnIndex=0,this.allyMeleeIndex=0,this.unitScale=.7,gG.getInstance().setMapBackground("BgRaid2","raid1"),gG.getInstance().visible=!0,await this.setupTerrain(),this.corpCommander.reset(t.FIELD_WIDTH,t.FIELD_HEIGHT); + var i; + this.cleanup(),SB.getInstance().setDay(),SB.getInstance().scale.set(1,1),this.battleEnded=!1,this.battleResult=null,this.battleTime=0,this.killCount=0,this.rangedByCorp=Array.from({ + length:t.CORP_COUNT} + ,()=>[]),this.meleeSoldiers=[],this.corpUnits=Array.from({ + length:t.CORP_COUNT} + ,()=>[]),this.corpAggro=new Array(t.CORP_COUNT).fill(0),this.prevCorpDmg=new Array(t.CORP_COUNT).fill(0),this.corpHero=new Array(t.CORP_COUNT).fill(null),this.aggroLeader=-1,this.aggroChallenger=-1,this.aggroChallengerFrames=0,this.aggroTargetCorp=-1,this.unitScale=.7,this.applyBackground(),UG.getInstance().visible=!0,await this.setupTerrain(),this.corpCommander.reset(t.FIELD_WIDTH,t.FIELD_HEIGHT);
- this.setupBoss(),this.setupEnemyLists(),this.snapUnitsToTerrain(),c8t.getInstance().switchToBattle(this),this.speedHelper.enter(),gG.getInstance().setMapBackground("BgRaid2","raid1"),gG.getInstance().visible=!0,this.updateZIndexSorting(),uG.getInstance().remove(this.execute,this),await CG.getInstance().play(),uG.getInstance().add(this.execute,this),this.camera=new E4({ + this.setupBoss(),this.setupEnemyLists(),this.snapUnitsToTerrain(),H8t.getInstance().switchToBattle(this),this.mapEffect=new h8,this.speedHelper.enter(),this.applyBackground(),UG.getInstance().visible=!0,this.updateZIndexSorting(),LG.getInstance().remove(this.execute,this),await XG.getInstance().play(),LG.getInstance().add(this.execute,this),this.camera=new z4({
- ),this.camera.setup(),this.corpCommander.createFlags()} + ),this.camera.setup(),this.corpCommander.createFlags(); + const s=(null==(i=wI.getInstance().getBookVO(t.BOSS_KIND_NUM))?void 0:i.name)??"BOSS"; + this.hud=new e8(s,t.BOSS_KIND_NUM,this.heroKindNums,this.soldierKindNums,()=>this.returnToMain()),this.speedHelper.attachButton(Oit.getInstance(),16,88),this.crossbow=new i8(t.FIELD_WIDTH/2,.82*t.FIELD_HEIGHT,t.FIELD_WIDTH,t.FIELD_HEIGHT),this.crossbow.setHitCheck((t,i,s,e)=>this.testArrowHit(t,i,s,e)),this.crossbowDebug=new Gf,this.crossbowDebug.eventMode="none",SB.getInstance().addChild(this.crossbowDebug)} + applyBackground(){ + const i=ZA.getTexture("BgRaid2","raid1"),s=t.BG_SCALE; + UG.getInstance().setMapBackground("BgRaid2","raid1",i.width*s,i.height*s)}
- e.baseMaxHp*=t.BOSS_HP_MULT,e.orgMaxHp=e.maxHp=e.baseMaxHp,e.hp=e.maxHp,e.health=e.maxHp,e.orgMoveSpd=e.moveSpd=1.8*e.moveSpd*1.6*2*.7,e.moveSpd<=0&&(e.orgMoveSpd=e.moveSpd=3),e.blowImmune=!0,e.stunImmune=!0,e.freezeImmune=!0,e.knockImmune=!0,e.isAir=!1,e.scale.set(1,1),e instanceof C1&&(e.wanderMinX=250,e.wanderMaxX=790,e.wanderMinY=250,e.wanderMaxY=1050),e.x=t.BOSS_X,e.y=t.BOSS_Y,e.tx=e.x,e.ty=e.y,e.xDefault=e.x,e.yDefault=e.y,e.ground=e.y,e.lookAt(-1),e.initDelay=0,e.showTombstone=!1,e.maxRevive=0,e.reviveInterval=0,e.totalDamageDealt=0,e.radius=t.BOSS_RADIUS,EG.getInstance().addChild(e),this.enemyList.push(e),this.boss=e,e instanceof C1&&e.createHitBox()} + e.baseMaxHp*=t.BOSS_HP_MULT,e.orgMaxHp=e.maxHp=e.baseMaxHp,e.hp=e.maxHp,e.health=e.maxHp,e.orgMoveSpd=e.moveSpd=1.8*e.moveSpd*1.6*2*.7,e.moveSpd<=0&&(e.orgMoveSpd=e.moveSpd=3),e.blowImmune=!0,e.stunImmune=!0,e.freezeImmune=!0,e.knockImmune=!0,e.isAir=!1,e.scale.set(1,1),e instanceof X1&&(e.wanderMinX=250,e.wanderMaxX=790,e.wanderMinY=250,e.wanderMaxY=1050),e.x=t.BOSS_X,e.y=t.BOSS_Y,e.tx=e.x,e.ty=e.y,e.xDefault=e.x,e.yDefault=e.y,e.ground=e.y,e.lookAt(-1),e.initDelay=0,e.showTombstone=!1,e.maxRevive=0,e.reviveInterval=0,e.totalDamageDealt=0,e.radius=t.BOSS_RADIUS,e.aggressiveRetarget=!1,e instanceof X1&&(e.targetSwapChance=0),e.detectRange=t.BOSS_DETECT_RANGE,e.detectRange2=e.detectRange*e.detectRange,zG.getInstance().addChild(e),this.enemyList.push(e),this.boss=e,e instanceof X1&&e.createHitBox()}
- if(o.unitType===Ix.MELEE){ - const i=n?t.MELEE_SOLDIER_ATK_RANGE_BONUS:t.MELEE_HERO_ATK_RANGE_BONUS,s=this.allyMeleeIndex++%t.BOSS_MELEE_RING_COUNT*t.BOSS_MELEE_RING_GAP; - o.atkRange=t.MELEE_ATK_RANGE+i+s,o.atkRange2=o.atkRange*o.atkRange} - if(o.unitType===Ix.MELEE){ + if(o.unitType===iI.MELEE&&(o.atkRange=o.atkRange+t.MELEE_ATK_RANGE_BONUS,o.atkRange2=o.atkRange*o.atkRange),o.unitType===iI.MELEE){
- o.attackCoolDown=0,o.skillCallIndex=0,o.attackCallIndex=0,o.attackIndex=0; + o.attackCoolDown=0,o.skillCallIndex=0,o.attackCallIndex=0,o.attackIndex=0,o.__formSettled=!1;
- o.xDefault=Math.max(10,Math.min(l-10,s+t.MARCH_DISTANCE)),o.yDefault=Math.max(10,Math.min(u-10,e+c)),o.lookAt(1),o.healthBar.setHealthColor(!0),o.isAir&&o.onFlyEnter(!0),EG.getInstance().addChild(o),this.friendList.push(o); - const d=this.allySpawnIndex*t.GOLDEN_ANGLE; - this.allySpawnIndex++; - const f=t.BOSS_RING_RADIUS; - return o.approachOffsetX=Math.cos(d)*f,o.approachOffsetY=Math.sin(d)*f,this.corpCommander.register(h,o,!n),o} + o.xDefault=Math.max(10,Math.min(l-10,s+t.MARCH_DISTANCE)),o.yDefault=Math.max(10,Math.min(u-10,e+c)),o.lookAt(1),o.healthBar.setHealthColor(!0),o.isAir&&o.onFlyEnter(!0),zG.getInstance().addChild(o),this.friendList.push(o),h>=0&&h<this.corpUnits.length&&(this.corpUnits[h].push(o),n||(this.corpHero[h]=o)); + let d=1; + return 1===h?d=t.CORP2_TEST_DMG_MULT:0===h&&n&&(d=t.CORP1_SOLDIER_DMG_MULT),1!==d&&(o.orgAtkDmg*=d,o.atkDmg*=d),n&&o.unitType===iI.RANGE?h>=0&&h<this.rangedByCorp.length&&this.rangedByCorp[h].push(o):n&&o.unitType===iI.MELEE&&this.meleeSoldiers.push(o),this.corpCommander.register(h,o,!n),o}
- var t; - this.snapshotCrowdPositions(),null==(t=this.camera)||t.update(),this.corpCommander.update(),super.checkProgress(),this.applyOrca()} - getCameraAnchor(t){ - if("boss"===t){ + var t,i; + this.snapshotCrowdPositions(),null==(t=this.camera)||t.update(),this.corpCommander.update(),super.checkProgress(),this.applyRangedFormation(),this.applyMeleeSurround(),this.applyOrca(); + const s=this.updateAggro(); + this.updateHud(s),null==(i=this.crossbow)||i.update(),this.drawCrossbowDebug()} + updateAggro(){ + const i=t.AGGRO_DECAY,s=t.CORP_AGGRO_MULT,e=[]; + let n=-1,h=0; + for(let t=0; + t<this.corpUnits.length; + t++){ + const r=this.corpUnits[t]; + let o=0,a=0; + for(const t of r)t.isAlive&&!t.removed&&o++,a+=t.totalDamageDealt; + const c=Math.max(0,a-this.prevCorpDmg[t]); + this.prevCorpDmg[t]=a,this.corpAggro[t]=this.corpAggro[t]*i+c*(s[t]??1); + const l=this.corpAggro[t]; + e.push({ + alive:o,total:r.length,dmg:a,aggro:l} + ),o>0&&l>h&&(h=l,n=t)} + this.aggroLeader>=0&&e[this.aggroLeader].alive>0?n>=0&&n!==this.aggroLeader&&this.corpAggro[n]>this.corpAggro[this.aggroLeader]*t.AGGRO_SWITCH_MARGIN?(n===this.aggroChallenger?this.aggroChallengerFrames++:(this.aggroChallenger=n,this.aggroChallengerFrames=1),this.aggroChallengerFrames>=t.AGGRO_SWITCH_DWELL&&(this.aggroLeader=n,this.aggroChallenger=-1,this.aggroChallengerFrames=0)):(this.aggroChallenger=-1,this.aggroChallengerFrames=0):(this.aggroLeader=n,this.aggroChallenger=-1,this.aggroChallengerFrames=0); + const r=this.boss,o=this.aggroLeader; + if(r instanceof X1)if(r.isAlive&&!r.removed&&!r.isUntagetable&&o>=0&&e[o].alive>0&&this.corpAggro[o]>=t.AGGRO_MIN){ + const i=r.target; + if(this.aggroTargetCorp!==o||!i||!i.isAlive||i.removed){ + const t=this.nearestCorpUnit(o,r); + t&&(r.setAggroTarget(t),this.aggroTargetCorp=o)} + const s=this.corpHero[o],e=s&&s.isAlive&&!s.removed?s:null,n=e?e.x:r.target?r.target.x:null; + r.aggroFaceX=n,null!==n&&Math.abs(n-r.x)>t.AGGRO_FACE_DEADZONE&&r.lookAt(n<r.x?-1:1)} + else r.aggroFaceX=null,this.aggroTargetCorp=-1; + return e} + nearestCorpUnit(t,i){ + let s=null,e=1/0; + for(const n of this.corpUnits[t]){ + if(!n.isAlive||n.removed)continue; + const t=n.x-i.x,h=n.y-i.y,r=t*t+h*h; + r<e&&(e=r,s=n)} + return s} + updateHud(t){ + if(!this.hud)return; + const i=this.boss,s=i?i.maxHp:1,e=i?Math.max(0,i.hp):0; + this.hud.update({ + bossHp:e,bossMaxHp:s,corps:t,remainSec:this.getRemainingTimeSeconds()} + )} + applyMeleeSurround(){
- return t&&t.isAlive&&!t.removed?{ + if(!i||!i.isAlive||i.removed||i.isUntagetable)return; + const s=i.radius>0?i.radius:t.BOSS_RADIUS,e=t.GOLDEN_ANGLE; + for(let n=0; + n<this.meleeSoldiers.length; + n++){ + const h=this.meleeSoldiers[n]; + if(!h.isAlive||h.removed)continue; + if("none"!==h.commandPhase)continue; + const r=n*e,o=s+h.radius+t.MELEE_HUG_MARGIN,a=i.x+Math.cos(r)*o,c=i.y+Math.sin(r)*o; + this.pullToSlot(h,a,c)} + } + pullToSlot(i,s,e){ + const n=s-i.x,h=e-i.y,r=n*n+h*h,o=t.FORM_SETTLE_DIST,a=t.FORM_RELEASE_DIST; + if(i.__formSettled){ + if(r<=a*a)return; + i.__formSettled=!1} + else if(r<=o*o)return void(i.__formSettled=!0); + const c=Math.sqrt(r),l=Math.min(c,i.moveSpd); + i.x+=n/c*l,i.y+=h/c*l} + applyRangedFormation(){ + const i=this.boss; + if(!i||!i.isAlive||i.removed||i.isUntagetable)return; + const s=t.FAN_HALF_WIDTH,e=t.FAN_WING_CURVE,n=1/3; + for(let t=0; + t<this.rangedByCorp.length; + t++){ + const h=this.rangedByCorp[t]; + if(!h||0===h.length)continue; + const r=[]; + for(let t=0; + t<h.length; + t++){ + const i=h[t]; + i.isAlive&&!i.removed&&"none"===i.commandPhase&&r.push(i)} + const o=r.length; + if(0===o)continue; + let a=0,c=0; + for(let t=0; + t<o; + t++)a+=r[t].x,c+=r[t].y; + a/=o,c/=o; + let l=i.x-a,u=i.y-c; + const d=Math.sqrt(l*l+u*u); + if(d<.001)continue; + l/=d,u/=d; + const f=-u,p=l; + for(let t=0; + t<o; + t++){ + const i=r[t],h=o>1?t/(o-1)*2-1:0,d=h*s,g=(h*h-n)*e,m=a+f*d+l*g,w=c+p*d+u*g; + this.pullToSlot(i,m,w)} + } + } + testArrowHit(i,s,e,n){ + const h=this.boss; + if(!h||!h.isAlive||h.removed||h.isUntagetable)return null; + if(!(h instanceof X1))return null; + const r=h.getWeakPointWorld(); + if(!(s>=r.y&&n<=r.y))return null; + const o=this.segPointDist(i,s,e,n,r.x,r.y),a=t.CROSSBOW_RING_RADII; + let c=0; + if(o<=a[0]?c=4:o<=a[1]?c=3:o<=a[2]?c=2:o<=a[3]&&(c=1),0===c)return null; + const l=t.CROSSBOW_STUN_FRAMES[c-1]; + h.applyRaidStun(l),h.flashHit(c>=t.CROSSBOW_HEAD_TIER); + let u=e-i,d=n-s; + const f=Math.sqrt(u*u+d*d); + return f>.001&&h.applyHitKnockback(u/f,d/f,t.CROSSBOW_KNOCKBACK),c} + drawCrossbowDebug(){ + const i=this.crossbowDebug; + if(!i)return; + i.clear(); + const s=this.boss; + if(!s||!s.isAlive||s.removed||s.isUntagetable)return; + if(!(s instanceof X1))return; + const e=s.getWeakPointWorld(),n=t.CROSSBOW_RING_RADII; + i.rect(e.x-n[3],e.y-n[3],2*n[3],2*n[3]).stroke({ + width:2,color:65535,alpha:.5} + ),i.circle(e.x,e.y,n[3]).stroke({ + width:2,color:16777215,alpha:.5} + ),i.circle(e.x,e.y,n[2]).stroke({ + width:2,color:16776960,alpha:.6} + ),i.circle(e.x,e.y,n[1]).stroke({ + width:2,color:16746496,alpha:.8} + ),i.circle(e.x,e.y,n[0]).stroke({ + width:2,color:16711680,alpha:.95} + ),i.moveTo(e.x-12,e.y).lineTo(e.x+12,e.y),i.moveTo(e.x,e.y-12).lineTo(e.x,e.y+12),i.stroke({ + width:2,color:65280} + )} + segPointDist(t,i,s,e,n,h){ + const r=s-t,o=e-i,a=r*r+o*o; + let c=a>0?((n-t)*r+(h-i)*o)/a:0; + c<0?c=0:c>1&&(c=1); + const l=n-(t+c*r),u=h-(i+c*o); + return Math.sqrt(l*l+u*u)} + getCameraAnchor(t){ + const i=this.boss,s=!!i&&i.isAlive&&!i.removed&&!i.isUntagetable; + if("boss"===t)return s?{
+ :null; + if("center"===t){ + let t=0,e=0; + const n=this.corpCommander.accumulateAliveHeroes((i,s)=>{ + t+=i,e+=s} + ),h=n>0,r=h?t/n:0,o=h?e/n:0; + return s&&h?{ + x:(i.x+r)/2,y:(i.y+o)/2} + :s?{ + x:i.x,y:i.y} + :h?{ + x:r,y:o}
- if(n&&n.isAlive&&!n.removed&&n.radius>0){ + if(n&&n.isAlive&&!n.removed&&n.radius>0&&!n.isUntagetable){
- var t; - uG.getInstance().remove(this.execute,this),this.corpCommander.destroy(),null==(t=this.camera)||t.destroy(),this.camera=null,this.speedHelper.exit(); + var t,i,s,e; + LG.getInstance().remove(this.execute,this),this.corpCommander.destroy(),null==(t=this.camera)||t.destroy(),this.camera=null,null==(i=this.hud)||i.destroy(),this.hud=null,null==(s=this.crossbow)||s.destroy(),this.crossbow=null,this.crossbowDebug&&(this.crossbowDebug.removeFromParent(),this.crossbowDebug.destroy(),this.crossbowDebug=null),null==(e=this.mapEffect)||e.destroy(),this.mapEffect=null,this.speedHelper.detachButton(),this.speedHelper.exit();
- i.x=0,i.y=0,super.cleanup(),this.boss=null} + n.x=0,n.y=0,super.cleanup(),this.boss=null; + for(let h=0; + h<this.rangedByCorp.length; + h++)this.rangedByCorp[h]=[]; + this.meleeSoldiers=[]; + for(let h=0; + h<this.corpUnits.length; + h++)this.corpUnits[h]=[]; + this.corpAggro=[],this.prevCorpDmg=[],this.corpHero=[],this.aggroLeader=-1,this.aggroChallenger=-1,this.aggroChallengerFrames=0,this.aggroTargetCorp=-1}
- Kt(k4,"RaidBattleController"),zt(k4,"instance"),zt(k4,"FIELD_WIDTH",1520),zt(k4,"FIELD_HEIGHT",1400),zt(k4,"TIME_LIMIT_FRAMES",10800),zt(k4,"BOSS_KIND_NUM",100002),zt(k4,"BOSS_X",750),zt(k4,"BOSS_Y",848),zt(k4,"BOSS_HP_MULT",1e4),zt(k4,"BOSS_RADIUS",70),zt(k4,"BOSS_RING_RADIUS",80),zt(k4,"BOSS_MELEE_RING_COUNT",3),zt(k4,"BOSS_MELEE_RING_GAP",22),zt(k4,"GOLDEN_ANGLE",2.399963),zt(k4,"CORP_COUNT",5),zt(k4,"SOLDIER_ROWS",10),zt(k4,"SOLDIER_COLS",3),zt(k4,"SOLDIER_X_SPACING",52),zt(k4,"SOLDIER_Y_SPACING",36),zt(k4,"ALLY_HERO_X",60),zt(k4,"ALLY_SOLDIER_X_START",135),zt(k4,"MARCH_DISTANCE",1500),zt(k4,"SOLDIER_RANGE_MULT_MIN",2.4),zt(k4,"SOLDIER_RANGE_MULT_MAX",3),zt(k4,"RANGE_SOLDIER_MOVE_SPD_MULT_MIN",1),zt(k4,"RANGE_SOLDIER_MOVE_SPD_MULT_MAX",1.25),zt(k4,"MELEE_HERO_HP_MULT",2),zt(k4,"MELEE_SOLDIER_HP_MULT",1.5),zt(k4,"MELEE_HERO_ATK_RANGE_BONUS",16),zt(k4,"MELEE_SOLDIER_ATK_RANGE_BONUS",12),zt(k4,"MELEE_ATK_RANGE",32),zt(k4,"RANGE_HERO_ATK_RANGE_MULT",3),zt(k4,"MELEE_MOVE_SPD_MULT_MIN",1.2),zt(k4,"MELEE_MOVE_SPD_MULT_MAX",1.7),zt(k4,"MELEE_SOLDIER_LANE_OFFSET",210),zt(k4,"TERRAIN_MASK_ENABLED",!1),zt(k4,"SEPARATION_CELL",28),zt(k4,"SEPARATION_BUFFER",3),zt(k4,"RVO_TIME_HORIZON",8),zt(k4,"RVO_NEIGHBOR_DIST",48),zt(k4,"RVO_MAX_NEIGHBORS",10),zt(k4,"RVO_TELEPORT_FACTOR",3),zt(k4,"RVO_FACING_DZ_FACTOR",.3),zt(k4,"RVO_ALIGN_WEIGHT",.4),zt(k4,"RVO_COHESION_WEIGHT",.02),zt(k4,"RVO_BOIDS_MIN_SPEED_FACTOR",.5); + Kt(r8,"RaidBattleController"),zt(r8,"instance"),zt(r8,"FIELD_WIDTH",1433.6),zt(r8,"FIELD_HEIGHT",1433.6),zt(r8,"BG_SCALE",1.4),zt(r8,"TIME_LIMIT_FRAMES",10800),zt(r8,"BOSS_KIND_NUM",100002),zt(r8,"BOSS_X",1050),zt(r8,"BOSS_Y",848),zt(r8,"BOSS_HP_MULT",1e4),zt(r8,"CROSSBOW_RING_RADII",[25,55,100,200]),zt(r8,"CROSSBOW_STUN_FRAMES",[40,75,120,180]),zt(r8,"CROSSBOW_HEAD_TIER",3),zt(r8,"CROSSBOW_KNOCKBACK",7),zt(r8,"CROSSBOW_DEBUG",!0),zt(r8,"BOSS_RADIUS",70),zt(r8,"FAN_HALF_WIDTH",170),zt(r8,"FAN_WING_CURVE",80),zt(r8,"FORM_SETTLE_DIST",30),zt(r8,"FORM_RELEASE_DIST",64),zt(r8,"MELEE_HUG_MARGIN",4),zt(r8,"GOLDEN_ANGLE",2.399963),zt(r8,"CORP_COUNT",5),zt(r8,"CORP_AGGRO_MULT",[2.5,1,1,1,1]),zt(r8,"AGGRO_HALFLIFE_SEC",4),zt(r8,"AGGRO_DECAY",Math.pow(.5,1/(60*r8.AGGRO_HALFLIFE_SEC))),zt(r8,"AGGRO_MIN",1),zt(r8,"AGGRO_SWITCH_MARGIN",1.2),zt(r8,"AGGRO_SWITCH_DWELL",36),zt(r8,"AGGRO_FACE_DEADZONE",50),zt(r8,"CORP2_TEST_DMG_MULT",3),zt(r8,"CORP1_SOLDIER_DMG_MULT",.5),zt(r8,"BOSS_DETECT_RANGE",4e3),zt(r8,"SOLDIER_ROWS",10),zt(r8,"SOLDIER_COLS",3),zt(r8,"SOLDIER_X_SPACING",52),zt(r8,"SOLDIER_Y_SPACING",36),zt(r8,"ALLY_HERO_X",60),zt(r8,"ALLY_SOLDIER_X_START",135),zt(r8,"MARCH_DISTANCE",1500),zt(r8,"SOLDIER_RANGE_MULT_MIN",1.3),zt(r8,"SOLDIER_RANGE_MULT_MAX",1.7),zt(r8,"RANGE_SOLDIER_MOVE_SPD_MULT_MIN",1),zt(r8,"RANGE_SOLDIER_MOVE_SPD_MULT_MAX",1.25),zt(r8,"MELEE_HERO_HP_MULT",2),zt(r8,"MELEE_SOLDIER_HP_MULT",1.5),zt(r8,"MELEE_ATK_RANGE_BONUS",20),zt(r8,"RANGE_HERO_ATK_RANGE_MULT",1.7),zt(r8,"MELEE_MOVE_SPD_MULT_MIN",1.2),zt(r8,"MELEE_MOVE_SPD_MULT_MAX",1.7),zt(r8,"MELEE_SOLDIER_LANE_OFFSET",210),zt(r8,"TERRAIN_MASK_ENABLED",!1),zt(r8,"SEPARATION_CELL",28),zt(r8,"SEPARATION_BUFFER",3),zt(r8,"RVO_TIME_HORIZON",8),zt(r8,"RVO_NEIGHBOR_DIST",48),zt(r8,"RVO_MAX_NEIGHBORS",10),zt(r8,"RVO_TELEPORT_FACTOR",3),zt(r8,"RVO_FACING_DZ_FACTOR",.3),zt(r8,"RVO_ALIGN_WEIGHT",.4),zt(r8,"RVO_COHESION_WEIGHT",.02),zt(r8,"RVO_BOIDS_MIN_SPEED_FACTOR",.5);
DefaultShader 5 hunks, 120 statements
- const oc={ - name:"global-uniforms-bit",vertex:{ - header:"\n struct GlobalUniforms { - \n uProjectionMatrix:mat3x3<f32>,\n uWorldTransformMatrix:mat3x3<f32>,\n uWorldColorAlpha: vec4<f32>,\n uResolution: vec2<f32>,\n } - \n\n @group(0) @binding(0) var<uniform> globalUniforms : GlobalUniforms; - \n "} - } - ,ac={ - name:"global-uniforms-bit",vertex:{ - header:"\n uniform mat3 uProjectionMatrix; - \n uniform mat3 uWorldTransformMatrix; - \n uniform vec4 uWorldColorAlpha; - \n uniform vec2 uResolution; - \n "} - } - ; - function cc({ - bits:t,name:i} - ){ - const s=sc({ - template:{ - fragment:"\n @in vUV : vec2<f32>; - \n @in vColor : vec4<f32>; - \n\n { - { - header} - } - \n\n @fragment\n fn main(\n { - { - in} - } - \n ) -> @location(0) vec4<f32> { - \n\n { - { - start} - } - \n\n var outColor:vec4<f32>; - \n\n { - { - main} - } - \n\n var finalColor:vec4<f32> = outColor * vColor; - \n\n { - { - end} - } - \n\n return finalColor; - \n } - ; - \n",vertex:"\n @in aPosition: vec2<f32>; + const fc="\n @in aPosition: vec2<f32>;
- \n"} - ,bits:[oc,...t]} - ); - return Uh.from({ - name:i,vertex:{ - source:s.vertex,entryPoint:"main"} - ,fragment:{ - source:s.fragment,entryPoint:"main"} + \n",pc="\n @in vUV : vec2<f32>; + \n @in vColor : vec4<f32>; + \n\n { + { + header}
- )} - function lc({ - bits:t,name:i} - ){ - return new Ah({ - name:i,...ec({ - template:{ - vertex:"\n in vec2 aPosition; + \n\n @fragment\n fn main(\n { + { + in} + } + \n ) -> @location(0) vec4<f32> { + \n\n { + { + start} + } + \n\n var outColor:vec4<f32>; + \n\n { + { + main} + } + \n\n var finalColor:vec4<f32> = outColor * vColor; + \n\n { + { + end} + } + \n\n return finalColor; + \n } + ; + \n",gc="\n in vec2 aPosition;
- \n",fragment:"\n\n in vec4 vColor; + \n",mc="\n\n in vec4 vColor;
- \n"} + \n",wc={ + name:"global-uniforms-bit",vertex:{ + header:"\n struct GlobalUniforms { + \n uProjectionMatrix:mat3x3<f32>,\n uWorldTransformMatrix:mat3x3<f32>,\n uWorldColorAlpha: vec4<f32>,\n uResolution: vec2<f32>,\n } + \n\n @group(0) @binding(0) var<uniform> globalUniforms : GlobalUniforms; + \n "} + } + ,vc={ + name:"global-uniforms-bit",vertex:{ + header:"\n uniform mat3 uProjectionMatrix; + \n uniform mat3 uWorldTransformMatrix; + \n uniform vec4 uWorldColorAlpha; + \n uniform vec2 uResolution; + \n "} + } + ; + function bc({ + bits:t,name:i} + ){ + const s=ac({ + template:{ + fragment:pc,vertex:fc} + ,bits:[wc,...t]} + ); + return Kh.from({ + name:i,vertex:{ + source:s.vertex,entryPoint:"main"} + ,fragment:{ + source:s.fragment,entryPoint:"main"} + } + )} + function yc({ + bits:t,name:i} + ){ + return new Ih({ + name:i,...cc({ + template:{ + vertex:gc,fragment:mc}
ColorMatrixFilter 2 hunks, 91 statements
+ \n",tf="\nin vec2 vTextureCoord; + \nin vec4 vColor; + \n\nout vec4 finalColor; + \n\nuniform float uColorMatrix[20]; + \nuniform float uAlpha; + \n\nuniform sampler2D uTexture; + \n\nfloat rand(vec2 co)\n{ + \n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453); + \n} + \n\nvoid main()\n{ + \n vec4 color = texture(uTexture, vTextureCoord); + \n float randomValue = rand(gl_FragCoord.xy * 0.2); + \n float diff = (randomValue - 0.5) * 0.5; + \n\n if (uAlpha == 0.0) { + \n finalColor = color; + \n return; + \n } + \n\n if (color.a > 0.0) { + \n color.rgb /= color.a; + \n } + \n\n vec4 result; + \n\n result.r = (uColorMatrix[0] * color.r); + \n result.r += (uColorMatrix[1] * color.g); + \n result.r += (uColorMatrix[2] * color.b); + \n result.r += (uColorMatrix[3] * color.a); + \n result.r += uColorMatrix[4]; + \n\n result.g = (uColorMatrix[5] * color.r); + \n result.g += (uColorMatrix[6] * color.g); + \n result.g += (uColorMatrix[7] * color.b); + \n result.g += (uColorMatrix[8] * color.a); + \n result.g += uColorMatrix[9]; + \n\n result.b = (uColorMatrix[10] * color.r); + \n result.b += (uColorMatrix[11] * color.g); + \n result.b += (uColorMatrix[12] * color.b); + \n result.b += (uColorMatrix[13] * color.a); + \n result.b += uColorMatrix[14]; + \n\n result.a = (uColorMatrix[15] * color.r); + \n result.a += (uColorMatrix[16] * color.g); + \n result.a += (uColorMatrix[17] * color.b); + \n result.a += (uColorMatrix[18] * color.a); + \n result.a += uColorMatrix[19]; + \n\n vec3 rgb = mix(color.rgb, result.rgb, uAlpha); + \n\n // Premultiply alpha again.\n rgb *= result.a; + \n\n finalColor = vec4(rgb, result.a); + \n}
- vertex:Hd,fragment:"\nin vec2 vTextureCoord; - \nin vec4 vColor; - \n\nout vec4 finalColor; - \n\nuniform float uColorMatrix[20]; - \nuniform float uAlpha; - \n\nuniform sampler2D uTexture; - \n\nfloat rand(vec2 co)\n{ - \n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453); - \n} - \n\nvoid main()\n{ - \n vec4 color = texture(uTexture, vTextureCoord); - \n float randomValue = rand(gl_FragCoord.xy * 0.2); - \n float diff = (randomValue - 0.5) * 0.5; - \n\n if (uAlpha == 0.0) { - \n finalColor = color; - \n return; - \n } - \n\n if (color.a > 0.0) { - \n color.rgb /= color.a; - \n } - \n\n vec4 result; - \n\n result.r = (uColorMatrix[0] * color.r); - \n result.r += (uColorMatrix[1] * color.g); - \n result.r += (uColorMatrix[2] * color.b); - \n result.r += (uColorMatrix[3] * color.a); - \n result.r += uColorMatrix[4]; - \n\n result.g = (uColorMatrix[5] * color.r); - \n result.g += (uColorMatrix[6] * color.g); - \n result.g += (uColorMatrix[7] * color.b); - \n result.g += (uColorMatrix[8] * color.a); - \n result.g += uColorMatrix[9]; - \n\n result.b = (uColorMatrix[10] * color.r); - \n result.b += (uColorMatrix[11] * color.g); - \n result.b += (uColorMatrix[12] * color.b); - \n result.b += (uColorMatrix[13] * color.a); - \n result.b += uColorMatrix[14]; - \n\n result.a = (uColorMatrix[15] * color.r); - \n result.a += (uColorMatrix[16] * color.g); - \n result.a += (uColorMatrix[17] * color.b); - \n result.a += (uColorMatrix[18] * color.a); - \n result.a += uColorMatrix[19]; - \n\n vec3 rgb = mix(color.rgb, result.rgb, uAlpha); - \n\n // Premultiply alpha again.\n rgb *= result.a; - \n\n finalColor = vec4(rgb, result.a); - \n} - \n",name:"color-matrix-filter"} + vertex:Zd,fragment:tf,name:"color-matrix-filter"}
MaskFilter 2 hunks, 90 statements
- var nf="struct GlobalFilterUniforms { + var vf="in vec2 vMaskCoord; + \nin vec2 vTextureCoord; + \n\nuniform sampler2D uTexture; + \nuniform sampler2D uMaskTexture; + \n\nuniform float uAlpha; + \nuniform vec4 uMaskClamp; + \nuniform float uInverse; + \n\nout vec4 finalColor; + \n\nvoid main(void)\n{ + \n float clip = step(3.5,\n step(uMaskClamp.x, vMaskCoord.x) +\n step(uMaskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, uMaskClamp.z) +\n step(vMaskCoord.y, uMaskClamp.w)); + \n\n // TODO look into why this is needed\n float npmAlpha = uAlpha; + \n vec4 original = texture(uTexture, vTextureCoord); + \n vec4 masky = texture(uMaskTexture, vMaskCoord); + \n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a); + \n\n float a = alphaMul * masky.r * npmAlpha * clip; + \n\n if (uInverse == 1.0) { + \n a = 1.0 - a; + \n } + \n\n finalColor = original * a; + \n} + \n",bf="in vec2 aPosition; + \n\nout vec2 vTextureCoord; + \nout vec2 vMaskCoord; + \n\n\nuniform vec4 uInputSize; + \nuniform vec4 uOutputFrame; + \nuniform vec4 uOutputTexture; + \nuniform mat3 uFilterMatrix; + \n\nvec4 filterVertexPosition( vec2 aPosition )\n{ + \n vec2 position = aPosition * uOutputFrame.zw + uOutputFrame.xy; + \n \n position.x = position.x * (2.0 / uOutputTexture.x) - 1.0; + \n position.y = position.y * (2.0*uOutputTexture.z / uOutputTexture.y) - uOutputTexture.z; + \n\n return vec4(position, 0.0, 1.0); + \n} + \n\nvec2 filterTextureCoord( vec2 aPosition )\n{ + \n return aPosition * (uOutputFrame.zw * uInputSize.zw); + \n} + \n\nvec2 getFilterCoord( vec2 aPosition )\n{ + \n return ( uFilterMatrix * vec3( filterTextureCoord(aPosition), 1.0) ).xy; + \n} + \n\nvoid main(void)\n{ + \n gl_Position = filterVertexPosition(aPosition); + \n vTextureCoord = filterTextureCoord(aPosition); + \n vMaskCoord = getFilterCoord(aPosition); + \n} + \n",yf="struct GlobalFilterUniforms {
- vertex:"in vec2 aPosition; - \n\nout vec2 vTextureCoord; - \nout vec2 vMaskCoord; - \n\n\nuniform vec4 uInputSize; - \nuniform vec4 uOutputFrame; - \nuniform vec4 uOutputTexture; - \nuniform mat3 uFilterMatrix; - \n\nvec4 filterVertexPosition( vec2 aPosition )\n{ - \n vec2 position = aPosition * uOutputFrame.zw + uOutputFrame.xy; - \n \n position.x = position.x * (2.0 / uOutputTexture.x) - 1.0; - \n position.y = position.y * (2.0*uOutputTexture.z / uOutputTexture.y) - uOutputTexture.z; - \n\n return vec4(position, 0.0, 1.0); - \n} - \n\nvec2 filterTextureCoord( vec2 aPosition )\n{ - \n return aPosition * (uOutputFrame.zw * uInputSize.zw); - \n} - \n\nvec2 getFilterCoord( vec2 aPosition )\n{ - \n return ( uFilterMatrix * vec3( filterTextureCoord(aPosition), 1.0) ).xy; - \n} - \n\nvoid main(void)\n{ - \n gl_Position = filterVertexPosition(aPosition); - \n vTextureCoord = filterTextureCoord(aPosition); - \n vMaskCoord = getFilterCoord(aPosition); - \n} - \n",fragment:"in vec2 vMaskCoord; - \nin vec2 vTextureCoord; - \n\nuniform sampler2D uTexture; - \nuniform sampler2D uMaskTexture; - \n\nuniform float uAlpha; - \nuniform vec4 uMaskClamp; - \nuniform float uInverse; - \n\nout vec4 finalColor; - \n\nvoid main(void)\n{ - \n float clip = step(3.5,\n step(uMaskClamp.x, vMaskCoord.x) +\n step(uMaskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, uMaskClamp.z) +\n step(vMaskCoord.y, uMaskClamp.w)); - \n\n // TODO look into why this is needed\n float npmAlpha = uAlpha; - \n vec4 original = texture(uTexture, vTextureCoord); - \n vec4 masky = texture(uMaskTexture, vMaskCoord); - \n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a); - \n\n float a = alphaMul * masky.r * npmAlpha * clip; - \n\n if (uInverse == 1.0) { - \n a = 1.0 - a; - \n } - \n\n finalColor = original * a; - \n} - \n",name:"mask-filter"} + vertex:bf,fragment:vf,name:"mask-filter"}
CorpFlagGhost 1 hunks, 39 statements
+ const Y4=class t extends Be{ + constructor(){ + super(),zt(this,"line",new Gf),zt(this,"flag"),zt(this,"numText"),zt(this,"heroIcon",new z5),zt(this,"soldierIcon",new z5),zt(this,"originX",0),zt(this,"originY",0),this.visible=!1,this.eventMode="none",this.addChild(this.line),this.flag=new je(ZA.getTexture("UI_Ekkorr","Icon_Flag_Green")),this.flag.anchor.set(.5,1),this.flag.scale.set(t.FLAG_SCALE),this.flag.alpha=t.FLAG_ALPHA,this.addChild(this.flag),this.numText=new jg({ + text:"1",style:{ + fontSize:15,fill:16777215,fontWeight:"bold",stroke:{ + color:0,width:3} + } + } + ),this.numText.anchor.set(.5,.5),this.addChild(this.numText),this.heroIcon.scale.set(t.ICON_SCALE),this.soldierIcon.scale.set(t.ICON_SCALE),this.addChild(this.heroIcon),this.addChild(this.soldierIcon)} + begin(t,i,s,e,n){ + this.numText.text=String(t+1),this.heroIcon.visible=i>0,this.soldierIcon.visible=s>0,i>0&&this.heroIcon.setDataWithKindNum(i),s>0&&this.soldierIcon.setDataWithKindNum(s),this.originX=e,this.originY=n,this.visible=!0} + update(t,i,s){ + this.flag.texture=ZA.getTexture("UI_Ekkorr",s?"Icon_Flag_Green":"Icon_Flag_Red"),this.flag.position.set(t,i),this.numText.position.set(t,i-.62*this.flag.height); + const e=this.heroIcon.visible,n=this.soldierIcon.visible,h=e?this.heroIcon.width:0,r=n?this.soldierIcon.width:0,o=e&&n?4:0,a=i-this.flag.height-6; + let c=t-(h+r+o)/2; + e&&(this.heroIcon.position.set(c,a-this.heroIcon.height),c+=h+o),n&&this.soldierIcon.position.set(c,a-this.soldierIcon.height),this.drawDashedLine(this.originX,this.originY,t,i,s)} + hide(){ + this.visible=!1,this.line.clear()} + drawDashedLine(i,s,e,n,h){ + this.line.clear(); + const r=e-i,o=n-s,a=Math.sqrt(r*r+o*o); + if(a<1)return; + const c=r/a,l=o/a,u=t.DASH+t.GAP; + for(let d=0; + d<a; + d+=u){ + const e=Math.min(d+t.DASH,a); + this.line.moveTo(i+c*d,s+l*d),this.line.lineTo(i+c*e,s+l*e)} + this.line.stroke({ + width:4,color:h?4513109:14500932,alpha:.9} + )} + dispose(){ + this.removeFromParent(),this.destroy({ + children:!0} + )} + } + ; + Kt(Y4,"CorpFlagGhost"),zt(Y4,"FLAG_SCALE",1.3),zt(Y4,"FLAG_ALPHA",.6),zt(Y4,"ICON_SCALE",.5),zt(Y4,"DASH",12),zt(Y4,"GAP",8); + let J4=Y4;
BaseRaidUnit 7 hunks, 38 statements
- const A1=class extends XJ{ + const q1=class t extends bQ{
- super(),zt(this,"spine",null),zt(this,"spineKey",""),zt(this,"bossScale",1.3),zt(this,"spineFacesLeftByDefault",!0),zt(this,"spineTimeScale",.6),zt(this,"aniIdle","idle"),zt(this,"aniMove","run"),zt(this,"aniDie","die"),zt(this,"aniSkill0","att1"),zt(this,"aniSkills",["att2","att3","att4","att5"]),zt(this,"eventSkill0Hit","att1_hit"),zt(this,"eventSkillHits",["att2_hit","att3_hit","att4_hit","att5_hit"]),zt(this,"attackOrderList",[]),zt(this,"currentAttackOrderList",[]),zt(this,"attackOrderIndex",0),zt(this,"skillRatio",[.75,.55,.35,.15,0]),zt(this,"numForSkillAttack",2),zt(this,"numCurrentAttack",0),zt(this,"interSkillIdleFrames",120),zt(this,"arrAttackTypeList",[]),zt(this,"incAttack",0),zt(this,"decSpeed",0),zt(this,"_power",1),zt(this,"attackable",!0),zt(this,"wanderEnabled",!1),zt(this,"wanderInterval",240),zt(this,"wanderMinX",100),zt(this,"wanderMaxX",540),zt(this,"wanderMinY",200),zt(this,"wanderMaxY",950),zt(this,"wanderTimer",0),zt(this,"hitBoxGfx",null),zt(this,"targetSwapChance",0),zt(this,"wanderAfterAttackChance",0),zt(this,"attackDashActive",!1),zt(this,"attackDashTargetX",0),zt(this,"attackDashTargetY",0),zt(this,"attackDashSpeed",0),zt(this,"syncBoneName",""),zt(this,"_prevBoneOffX",0),zt(this,"_prevBoneOffY",0),zt(this,"_syncLogCount",0),this.bossType=1,this.hasSkill=!1,this.weight=5,this.blowImmune=!0,this.stunImmune=!0,this.freezeImmune=!0,this.knockImmune=!0} + super(),zt(this,"spine",null),zt(this,"spineKey",""),zt(this,"weakPointBone",""),zt(this,"weakPointOffsetX",0),zt(this,"raidStunFrames",0),zt(this,"hitFlashFrames",0),zt(this,"hitFlashMax",1),zt(this,"hitFlashHead",!1),zt(this,"knockVx",0),zt(this,"knockVy",0),zt(this,"bossScale",1.3),zt(this,"spineFacesLeftByDefault",!0),zt(this,"spineTimeScale",.6),zt(this,"aniIdle","idle"),zt(this,"aniMove","run"),zt(this,"aniDie","die"),zt(this,"aniSkill0","att1"),zt(this,"aniSkills",["att2","att3","att4","att5"]),zt(this,"eventSkill0Hit","att1_hit"),zt(this,"eventSkillHits",["att2_hit","att3_hit","att4_hit","att5_hit"]),zt(this,"attackOrderList",[]),zt(this,"currentAttackOrderList",[]),zt(this,"attackOrderIndex",0),zt(this,"skillRatio",[.75,.55,.35,.15,0]),zt(this,"numForSkillAttack",2),zt(this,"numCurrentAttack",0),zt(this,"interSkillIdleFrames",120),zt(this,"arrAttackTypeList",[]),zt(this,"incAttack",0),zt(this,"decSpeed",0),zt(this,"_power",1),zt(this,"attackable",!0),zt(this,"wanderEnabled",!1),zt(this,"wanderInterval",240),zt(this,"wanderMinX",100),zt(this,"wanderMaxX",540),zt(this,"wanderMinY",200),zt(this,"wanderMaxY",950),zt(this,"wanderTimer",0),zt(this,"hitBoxGfx",null),zt(this,"targetSwapChance",0),zt(this,"aggroFaceX",null),zt(this,"wanderAfterAttackChance",0),zt(this,"attackDashActive",!1),zt(this,"attackDashTargetX",0),zt(this,"attackDashTargetY",0),zt(this,"attackDashSpeed",0),zt(this,"syncBoneName",""),zt(this,"_prevBoneOffX",0),zt(this,"_prevBoneOffY",0),zt(this,"_syncLogCount",0),this.bossType=1,this.hasSkill=!1,this.weight=5,this.blowImmune=!0,this.stunImmune=!0,this.freezeImmune=!0,this.knockImmune=!0}
- if(this.spine&&this.isAlive&&this.spine.update(1/60),this.spine&&this.syncBoneName&&this.isAlive){ + if(this.spine&&this.isAlive&&this.spine.update(1/60),this.updateHitFlash(),this.updateHitKnockback(),this.spine&&this.syncBoneName&&this.isAlive){
+ if(null!==this.aggroFaceX)return void this.lookAt(this.aggroFaceX<this.x?-1:1);
+ setAggroTarget(t){ + this.target!==t&&(this.target&&this.target.removeBlockedEnemy(this),this.target=t,t&&t.addBlockedEnemy(this))}
+ getBoneWorld(t){ + if(!this.spine||!t)return null; + const i=this.spine.skeleton.findBone(t); + return i?{ + x:this.x+this.spine.x+i.worldX*this.spine.scale.x,y:this.y+this.spine.y+i.worldY*this.spine.scale.y} + :null} + getWeakPointWorld(){ + const t=this.spine&&this.spine.scale.x<0?-1:1,i=this.weakPointOffsetX*t,s=this.getBoneWorld(this.weakPointBone); + return s?{ + x:s.x+i,y:s.y} + :{ + x:this.x+i,y:this.y-.8*this.hitHeight} + } + flashHit(t,i=18){ + this.hitFlashFrames=i,this.hitFlashMax=Math.max(1,i),this.hitFlashHead=t} + setHeadTint(i,s,e){ + if(this.spine)for(const n of t.HEAD_SLOTS){ + const t=this.spine.skeleton.findSlot(n); + t&&t.color.set(i,s,e,t.color.a)} + } + updateHitFlash(){ + if(this.hitFlashFrames<=0||!this.spine)return; + if(this.hitFlashFrames--,this.hitFlashFrames<=0)return this.spine.skeleton.color.set(1,1,1,1),void this.setHeadTint(1,1,1); + const t=1-this.hitFlashFrames/this.hitFlashMax; + this.hitFlashHead?(this.spine.skeleton.color.set(1,1,1,1),this.setHeadTint(1,t,t)):(this.spine.skeleton.color.set(1,t,t,1),this.setHeadTint(1,1,1))} + applyHitKnockback(t,i,s){ + this.knockVx=t*s,this.knockVy=i*s} + updateHitKnockback(){ + 0===this.knockVx&&0===this.knockVy||(this.x+=this.knockVx,this.y+=this.knockVy,this.knockVx*=.6,this.knockVy*=.6,Math.abs(this.knockVx)<.15&&Math.abs(this.knockVy)<.15&&(this.knockVx=0,this.knockVy=0))} + applyRaidStun(t){ + t<=this.raidStunFrames||(this.raidStunFrames=t,this.showEffect(DK.StunEffect,t,this.tmpPoint(0,this.getBuffPosY()),!0))}
- Kt(A1,"BaseRaidUnit"); + Kt(q1,"BaseRaidUnit"),zt(q1,"HEAD_SLOTS",["face","jaw"]);
AttendanceAutoTrigger 1 hunks, 38 statements
+ )),Gri=class t{ + constructor(){ + zt(this,"timerId",0)} + static getInstance(){ + return this._instance||(this._instance=new t),this._instance} + requestShow(){ + this.schedule(0)} + cancel(){ + this.timerId&&(clearTimeout(this.timerId),this.timerId=0)} + schedule(t){ + this.cancel(),this.timerId=window.setTimeout(()=>{ + this.timerId=0,this.tryShow()} + ,t)} + isBlockedByContext(){ + return!H8t.getInstance().isIdleBattleActive()||!!yD.getInstance().hasPopup||_V.getInstance().children.length>0} + async tryShow(){ + if(uD.numRevive30<t.UNLOCK_REVIVE30)return; + if(!uti.getInstance().hasReward())return; + if(this.isBlockedByContext())return void this.schedule(t.RETRY_BLOCKED_MS); + const{ + AttendancePopup:i} + =await Jt(async()=>{ + const{ + AttendancePopup:t} + =await Promise.resolve().then(()=>soi); + return{ + AttendancePopup:t} + } + ,void 0); + yD.getInstance().hasPopup?this.schedule(t.RETRY_BLOCKED_MS):(i.getInstance().setData(),i.getInstance().show(),i.getInstance().y=350)} + } + ; + Kt(Gri,"AttendanceAutoTrigger"),zt(Gri,"_instance"),zt(Gri,"UNLOCK_REVIVE30",3),zt(Gri,"RETRY_BLOCKED_MS",5e3); + let Bri=Gri; + const Uri=Object.freeze(Object.defineProperty({ + __proto__:null,AttendanceAutoTrigger:Bri} + ,Symbol.toStringTag,{ + value:"Module"}
AttendancePopup 3 hunks, 34 statements
- super(),zt(this,"sectionA"),zt(this,"sectionB"),zt(this,"sectionS"),zt(this,"btnClaimAll"),zt(this,"requestPending",!1),zt(this,"onAttendanceUpdateBind"),this.width=580,this.height=500,this.title=$D.getText("GAME_245","출석 보상"); - const t=this.width-60; - this.sectionA=new mri,this.sectionA.type="A",this.sectionA.sectionWidth=t,this.contentContainer.addChild(this.sectionA),this.sectionB=new mri,this.sectionB.type="B",this.sectionB.sectionWidth=t,this.contentContainer.addChild(this.sectionB),this.sectionS=new mri,this.sectionS.type="S",this.sectionS.sectionWidth=t,this.contentContainer.addChild(this.sectionS),this.btnClaimAll=new BB("UI_GEM","","받기",.8,300,70),this.btnClaimAll.color=BB.GREEN,this.btnClaimAll.showIconLabel=!1,this.btnClaimAll.showTextLabel=!0,this.btnClaimAll.onClick=()=>this.claimAll(),this.contentContainer.addChild(this.btnClaimAll),this.on("added",this.onAdded,this),this.on("removed",this.onRemoved,this)} + super(),zt(this,"lblMsg"),zt(this,"sectionA"),zt(this,"sectionB"),zt(this,"sectionS"),zt(this,"btnClaimAll"),zt(this,"image"),zt(this,"requestPending",!1),zt(this,"onAttendanceUpdateBind"),this.width=580,this.height=500,this.title=pG.getText("GAME_245","출석 보상"); + const t=tL.LABEL_OPTION_NO_DROP_SHADOW; + t.fill=16638906,t.lineHeight=30,t.fontSize=21,t.stroke={ + color:"#000000",width:4,join:"round"} + ,this.lblMsg=new FL("",t.fill,t),this.addChild(this.lblMsg),this.sectionA=new Jri,this.sectionA.type="A",this.contentContainer.addChild(this.sectionA),this.sectionB=new Jri,this.sectionB.type="B",this.contentContainer.addChild(this.sectionB),this.sectionS=new Jri,this.sectionS.type="S",this.contentContainer.addChild(this.sectionS),this.btnClaimAll=new ioi("받기"),this.btnClaimAll.onClick=()=>{ + this.claimAll()} + ,this.contentContainer.addChild(this.btnClaimAll),this.on("added",this.onAdded,this),this.on("removed",this.onRemoved,this)}
- this.sectionA.x=30,this.sectionA.y=80,this.sectionB.x=30,this.sectionB.y=this.sectionA.y+this.sectionA.sectionHeight+25,this.sectionS.x=30,this.sectionS.y=this.sectionB.y+this.sectionB.sectionHeight+25,this.btnClaimAll.x=.5*(this.width-this.btnClaimAll.width),this.btnClaimAll.y=this.sectionS.y+this.sectionS.sectionHeight+20; + this.image?this.lblMsg.x=this.image.x+this.image.width+.5*(this.width-this.image.x-this.image.width-30-this.lblMsg.width)-5:this.lblMsg.x=.5*(this.width-220-30-this.lblMsg.width)-5,this.lblMsg.y=55+.5*(135-this.lblMsg.height),this.sectionA.x=.5*(this.width-this.sectionA.width),this.sectionA.y=190,this.sectionB.x=this.sectionA.x,this.sectionB.y=this.sectionA.y+this.sectionA.height+15,this.sectionS.x=this.sectionA.x,this.sectionS.y=this.sectionB.y+this.sectionB.height+15,this.btnClaimAll.x=.5*(this.width-this.btnClaimAll.width),this.btnClaimAll.y=this.sectionS.y+this.sectionS.height+20;
- setData(){ - this.title=$D.getText("GAME_245","출석 보상"),this.updateSections()} + async setData(){ + this.title=pG.getText("GAME_245","출석 보상"),this.lblMsg.text=pG.getText("GAME_1219","매일 접속하고\n보상을 받아가세요!"); + let t=21; + if(uD.language===iL.GERMAN&&(t=19),this.lblMsg.textSize=t,this.updateSections(),!this.image){ + this.image=new je,this.addChildAt(this.image,1); + const{ + AssetPathManager:t} + =await Jt(async()=>{ + const{ + AssetPathManager:t} + =await Promise.resolve().then(()=>JA); + return{ + AssetPathManager:t} + } + ,void 0),{ + Assets:i} + =await Jt(async()=>{ + const{ + Assets:t} + =await Promise.resolve().then(()=>IM); + return{ + Assets:t} + } + ,void 0),s=t.getAssetPath("attendanceChar.png"),e=await i.load(s); + this.image.texture=e,this.image.x=220-this.image.width,this.image.y=190-this.image.height,this.updateLayout()} + }
AttendanceSection 6 hunks, 32 statements
- super(),zt(this,"type",""),zt(this,"lblTitle"),zt(this,"lblInfo"),zt(this,"_sectionWidth",520),this.lblTitle=new mL("",16763904,xR.DEFAULT_OUTLINE_FONT_OPTION_20),this.addChild(this.lblTitle),this.lblInfo=new mL("",10066329,xR.DEFAULT_FONT_OPTION_16),this.addChild(this.lblInfo)} - get sectionWidth(){ - return this._sectionWidth} - set sectionWidth(t){ - this._sectionWidth=t} + super(),zt(this,"type",""),zt(this,"bg"),zt(this,"bgInfo"),zt(this,"lblTitle"),zt(this,"lblInfo"),zt(this,"lblGem"),zt(this,"lblGem2"),this.bg=new TM({ + texture:ZA.getTexture("UI_Ekkorr","Popup_Bg_03"),leftWidth:30,topHeight:30,rightWidth:30,bottomHeight:30} + ),this.bg.width=530,this.addChild(this.bg),this.lblTitle=new FL("",16763904,tL.DEFAULT_OUTLINE_FONT_OPTION_20),this.lblTitle.x=30,this.lblTitle.y=15,this.addChild(this.lblTitle),tL.setLabelWrapWidth(this.lblTitle,this.bg.width-2*this.lblTitle.x),this.bgInfo=new TM({ + texture:ZA.getTexture("UI_Ekkorr","Popup_Bg_01"),leftWidth:20,topHeight:20,rightWidth:20,bottomHeight:20} + ),this.addChild(this.bgInfo),this.lblInfo=new FL("",10066329,tL.DEFAULT_FONT_OPTION_16),this.addChild(this.lblInfo),this.lblGem=new kB("UI_GEM_ICON","0",tL.COLOR_DEEP_SKYBLUE,tL.DEFAULT_FONT_OPTION_18),this.lblGem.iconScale=.9,this.addChild(this.lblGem),this.lblGem2=new kB("UI_GEM_ICON","0",tL.COLOR_DEEP_SKYBLUE,tL.DEFAULT_FONT_OPTION_18),this.lblGem2.visible=!1,this.lblGem2.iconScale=.9,this.addChild(this.lblGem2),this.updateLayout()} + get width(){ + return this.bg.width} + get height(){ + return this.bg.height} + updateLayout(){ + let t=300,i=0; + this.lblInfo.visible&&this.lblGem.visible?(i=this.lblInfo.width+this.lblGem.width+80,t=Math.max(t,i)):this.lblInfo.visible?(i=this.lblInfo.width,t=Math.max(t,i)):this.lblGem.visible&&(i=this.lblGem.width,t=Math.max(t,i)),this.bgInfo.width=t,this.bgInfo.x=.5*(this.bg.width-this.bgInfo.width),this.bgInfo.y=this.lblTitle.y+this.lblTitle.height+10; + let s=.5*(t-i); + this.lblInfo.visible&&this.lblGem.visible?(this.lblInfo.x=this.bgInfo.x+s+40,this.lblGem.x=this.lblInfo.x+this.lblInfo.width):this.lblInfo.visible?this.lblInfo.x=this.bgInfo.x+s:this.lblGem.visible&&(this.lblGem.x=this.bgInfo.x+s),this.lblGem2.visible?(this.lblGem2.x=this.bgInfo.x+.5*(this.bgInfo.width-this.lblGem2.width),this.lblGem2.y=this.bgInfo.y+7,this.lblGem.y=this.lblGem2.y+this.lblGem2.height,this.lblInfo.y=this.lblGem.y+.5*(this.lblGem.height-this.lblInfo.height),this.bgInfo.height=this.lblGem.y-this.bgInfo.y+this.lblGem.height+5):(this.bgInfo.height=40,this.lblInfo.y=this.bgInfo.y+.5*(this.bgInfo.height-this.lblInfo.height),this.lblGem.y=this.bgInfo.y+.5*(this.bgInfo.height-this.lblGem.height)+1),this.bg.height=this.bgInfo.y+this.bgInfo.height+15}
- `,this.lblTitle.x=10,this.lblTitle.y=0; - const h=this.lblTitle.y+this.lblTitle.height+16; - if(s)this.lblInfo.textColor=4521796,this.lblInfo.text=`💎${ - s.gem} - `; + `,this.lblInfo.visible=!1,this.lblGem.visible=!1,this.lblGem2.visible=!1; + const h=10066329; + if(s)this.lblGem.textColor=14270354,this.lblGem.text=String(s.gem),this.lblGem.visible=!0;
- this.lblInfo.textColor=10066329; - let t=`💎${ + let t=`${
- n&&(t+=`\n${ + n?(this.lblGem2.textColor=h,this.lblGem2.text=t,this.lblGem2.visible=!0,this.lblInfo.textColor=h,t=`${
- - 💎${ - n.gem} - `),this.lblInfo.text=t} - else n?(this.lblInfo.textColor=10066329,this.lblInfo.text=`${ + - `,this.lblInfo.text=t,this.lblInfo.visible=!0,this.lblGem.textColor=h,this.lblGem.text=String(n.gem),this.lblGem.visible=!0):(this.lblGem.textColor=h,this.lblGem.text=t,this.lblGem.visible=!0)} + else n?(this.lblInfo.textColor=h,this.lblInfo.text=`${
- - 💎${ - n.gem} - `):(this.lblInfo.textColor=10066329,this.lblInfo.text=$D.getText("GAME_257","모든 보상을 수령했습니다.")); - this.lblInfo.x=.5*(this._sectionWidth-this.lblInfo.width),this.lblInfo.y=h} - get sectionHeight(){ - return this.lblInfo.y+this.lblInfo.height+10} + - `,this.lblInfo.visible=!0,this.lblGem.textColor=h,this.lblGem.text=String(n.gem),this.lblGem.visible=!0):(this.lblInfo.textColor=h,this.lblInfo.text=pG.getText("GAME_257","모든 보상을 수령했습니다."),this.lblInfo.visible=!0); + this.updateLayout()}
OfflinePopup 4 hunks, 26 statements
- super(),zt(this,"lblDesc"),zt(this,"lblOfflineTime"),zt(this,"lblWaveResult"),zt(this,"lblBuffInfo"),zt(this,"lblGoldLabel"),zt(this,"lblGoldValue"),zt(this,"lblRules"),zt(this,"btnConfirm"),zt(this,"onConfirmCallback",null),zt(this,"goldReward",0),zt(this,"numGoldRemained",0),this.width=520,this.title=$D.getText("GAME_338","오프라인 전투"),this.btnClose.removeFromParent(),this.lblDesc=new mL("",13421772,xR.DEFAULT_FONT_OPTION_16),this.lblDesc.text=$D.getText("GAME_339","영주님,\n부재중에도 용감한 기사들이 전투를 이어갔습니다."),xR.setLabelWrapWidth(this.lblDesc,this.width-50),this.contentContainer.addChild(this.lblDesc),this.lblOfflineTime=new mL("",16777215,xR.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblOfflineTime),this.lblWaveResult=new mL("",16777215,xR.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblWaveResult),this.lblBuffInfo=new mL("",11206570,xR.DEFAULT_FONT_OPTION_16),this.lblBuffInfo.visible=!1,this.contentContainer.addChild(this.lblBuffInfo),this.lblGoldLabel=new mL("",16777215,xR.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblGoldLabel),this.lblGoldValue=new nB("UI_GOLD","",16768324,xR.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblGoldValue); + super(),zt(this,"lblDesc"),zt(this,"lblOfflineTime"),zt(this,"lblWaveResult"),zt(this,"lblBuffInfo"),zt(this,"lblGoldLabel"),zt(this,"lblGoldValue"),zt(this,"lblRules"),zt(this,"btnConfirm"),zt(this,"onConfirmCallback",null),zt(this,"goldReward",0),zt(this,"image"),zt(this,"numGoldRemained",0),this.width=520,this.title=pG.getText("GAME_338","오프라인 전투"),this.btnClose.removeFromParent(),this.lblDesc=new FL("",13421772,tL.DEFAULT_FONT_OPTION_16),this.lblDesc.text=pG.getText("GAME_339","영주님,\n부재중에도 용감한 기사들이 전투를 이어갔습니다."),tL.setLabelWrapWidth(this.lblDesc,this.width-50),this.contentContainer.addChild(this.lblDesc),this.lblOfflineTime=new FL("",16777215,tL.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblOfflineTime),this.lblWaveResult=new FL("",16777215,tL.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblWaveResult),this.lblBuffInfo=new FL("",11206570,tL.DEFAULT_FONT_OPTION_16),this.lblBuffInfo.visible=!1,this.contentContainer.addChild(this.lblBuffInfo),this.lblGoldLabel=new FL("",16777215,tL.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblGoldLabel),this.lblGoldValue=new kB("UI_GOLD","",16768324,tL.DEFAULT_OUTLINE_FONT_OPTION_17),this.contentContainer.addChild(this.lblGoldValue);
- showResult(t){ + async showResult(t){
- this.lblRules.text=`# ${ + if(this.lblRules.text=`# ${
- : +`,this.lblGoldValue.text=lL.displayLargeNumberAsAlphabet(this.goldReward),this.lblGoldLabel.visible=!0,this.lblGoldValue.visible=!0):(this.lblGoldLabel.visible=!1,this.lblGoldValue.visible=!1),this.updateLayout(),super.show()} + : +`,this.lblGoldValue.text=RL.displayLargeNumberAsAlphabet(this.goldReward),this.lblGoldLabel.visible=!0,this.lblGoldValue.visible=!0):(this.lblGoldLabel.visible=!1,this.lblGoldValue.visible=!1),!this.image){ + this.image=new je,this.addChildAt(this.image,0); + const{ + AssetPathManager:t} + =await Jt(async()=>{ + const{ + AssetPathManager:t} + =await Promise.resolve().then(()=>JA); + return{ + AssetPathManager:t} + } + ,void 0),{ + Assets:i} + =await Jt(async()=>{ + const{ + Assets:t} + =await Promise.resolve().then(()=>IM); + return{ + Assets:t} + } + ,void 0),s=t.getAssetPath("offlineChar.png"),e=await i.load(s); + this.image.texture=e,this.image.scale.x=-1,this.image.x=this.width-20,this.image.y=5-this.image.height} + this.updateLayout(),super.show()}
CorpFlagCommander 7 hunks, 24 statements
- zt(this,"corpUnits"),zt(this,"corpHero"),zt(this,"commandFlow"),zt(this,"flags",[]),zt(this,"flagLayer",null),zt(this,"fieldW",0),zt(this,"fieldH",0),this.corpCount=t,this.corpUnits=Array.from({ + zt(this,"corpUnits"),zt(this,"corpHero"),zt(this,"corpHeroKind"),zt(this,"corpSoldierKind"),zt(this,"commandFlow"),zt(this,"flags",[]),zt(this,"flagLayer",null),zt(this,"ghost",null),zt(this,"fieldW",0),zt(this,"fieldH",0),this.corpCount=t,this.corpUnits=Array.from({
- ,()=>null),this.commandFlow=Array.from({ + ,()=>null),this.corpHeroKind=Array.from({ + length:t} + ,()=>0),this.corpSoldierKind=Array.from({ + length:t} + ,()=>0),this.commandFlow=Array.from({
- s++)this.corpUnits[s]=[],this.corpHero[s]=null; + s++)this.corpUnits[s]=[],this.corpHero[s]=null,this.corpHeroKind[s]=0,this.corpSoldierKind[s]=0;
- t<0||t>=this.corpCount||(this.corpUnits[t].push(i),s&&(this.corpHero[t]=i))} + t<0||t>=this.corpCount||(this.corpUnits[t].push(i),s?(this.corpHero[t]=i,this.corpHeroKind[t]=i.kindNum):0===this.corpSoldierKind[t]&&(this.corpSoldierKind[t]=i.kindNum))}
- e.validate=(t,i)=>this.isWaypointValid(t,i),e.snap=(t,i)=>this.snapWaypoint(t,i),e.onDrop=(t,s)=>this.issueCorpWaypoint(i,t,s),e.position.set(s.x,s.y),t.addChild(e),this.flags.push(e)} - } + e.validate=(t,i)=>this.isWaypointValid(t,i),e.snap=(t,i)=>this.snapWaypoint(t,i),e.onDrop=(t,s)=>this.issueCorpWaypoint(i,t,s),e.onDragStart=(t,i,s)=>{ + var e; + return null==(e=this.ghost)?void 0:e.begin(t,this.corpHeroKind[t],this.corpSoldierKind[t],i,s)} + ,e.onDragMove=(t,i,s)=>{ + var e; + return null==(e=this.ghost)?void 0:e.update(t,i,s)} + ,e.onDragEnd=()=>{ + var t; + return null==(t=this.ghost)?void 0:t.hide()} + ,e.position.set(s.x,s.y),t.addChild(e),this.flags.push(e)} + this.ghost=new J4,t.addChild(this.ghost)}
+ accumulateAliveHeroes(t){ + let i=0; + for(const s of this.corpHero)s&&s.isAlive&&!s.removed&&(t(s.x,s.y),i++); + return i}
- this.flags.length=0,this.flagLayer&&(this.flagLayer.removeFromParent(),this.flagLayer.destroy({ + this.flags.length=0,this.ghost=null,this.flagLayer&&(this.flagLayer.removeFromParent(),this.flagLayer.destroy({
GolemKing 10 hunks, 23 statements
- super(...arguments),zt(this,"teleportPhase",null),zt(this,"att2Phase",null),zt(this,"att2Frames",0),zt(this,"att2AimX",1),zt(this,"att2AimY",0),zt(this,"att2Telegraph",null)} + super(...arguments),zt(this,"teleportPhase",null),zt(this,"teleportFrames",0),zt(this,"emergeSlamming",!1),zt(this,"att2Phase",null),zt(this,"att2Frames",0),zt(this,"att2AimX",1),zt(this,"att2AimY",0),zt(this,"att2Telegraph",null)}
- this.spineKey="raids/raid1/Golem",this.bossScale=1.3*.7,this.spineTimeScale=.8,this.wanderEnabled=!0,this.wanderInterval=240,this.targetSwapChance=.2,this.wanderAfterAttackChance=.25,this.syncBoneName="",this.aniIdle="idle",this.aniMove="run",this.aniDie="die",this.aniSkill0="att1",this.aniSkills=["att2","att3","att4","att5"],this.eventSkill0Hit="att1_hit",this.eventSkillHits=["att2_hit","att3_hit","att4_hit","att5_hit"],this.isAir=!1,this.hitWidth=120,this.hitHeight=180,this.skillRatio=[.78,.6,.42,.26,.12,0],this.numForSkillAttack=2,this.attackOrderList=[[0,0,1,0,2,0,3,5,0,1,0,4,0,2,5,0,3,0,1,0,4,5,0,2],[0,1,0,2,5,0,3,0,4,0,1,5,0,2,0,3,0,5,1,0,4,0,2,5],[0,0,2,0,1,5,0,4,0,3,0,5,2,0,1,0,4,5,0,3,0,2,5,0]]} + this.spineKey="raids/raid1/Golem",this.bossScale=1.3,this.spineTimeScale=.8,this.wanderEnabled=!0,this.wanderInterval=240,this.targetSwapChance=.2,this.wanderAfterAttackChance=.25,this.syncBoneName="",this.aniIdle="idle",this.aniMove="run",this.aniDie="die",this.aniSkill0="att1",this.aniSkills=["att2","att3","att4","att5"],this.eventSkill0Hit="att1_hit",this.eventSkillHits=["att2_hit","att3_hit","att4_hit","att5_hit"],this.isAir=!1,this.hitWidth=120,this.hitHeight=180,this.weakPointBone="Head",this.weakPointOffsetX=-25,this.skillRatio=[.78,.6,.42,.26,.12,0],this.numForSkillAttack=2,this.attackOrderList=[[0,0,1,0,2,0,3,5,0,1,0,4,0,2,5,0,3,0,1,0,4,5,0,2],[0,1,0,2,5,0,3,0,4,0,1,5,0,2,0,3,0,5,1,0,4,0,2,5],[0,0,2,0,1,5,0,4,0,3,0,5,2,0,1,0,4,5,0,3,0,2,5,0]]}
- boneToWorld(t){ - if(!this.spine)return null; - const i=this.spine.skeleton.findBone(t); - return i?{ - x:this.x+this.spine.x+i.worldX*this.spine.scale.x,y:this.y+this.spine.y-i.worldY*Math.abs(this.spine.scale.y)} - :null}
- this.radialBlow(this.x,this.y,t.ATT3_RADIUS,t.ATT3_POWER_MIN,t.ATT3_POWER_MAX,t.ATT3_VH_MIN,t.ATT3_VH_MAX)} + this.emergeSlamming?this.emergeRadialBlow():this.radialBlow(this.x,this.y,t.ATT3_RADIUS,t.ATT3_POWER_MIN,t.ATT3_POWER_MAX,t.ATT3_VH_MIN,t.ATT3_VH_MAX)}
- const e=this.boneToWorld(s); + const e=this.getBoneWorld(s);
- this.state=Nx.SKILL,this.loop=!1,this.attackCoolDown=this.atkDuration,this.numCurrentAttack=0,this.att2Phase=null,this.hideAtt2Telegraph(),this.attackable=!1,this.teleportPhase="out",this.playSpine("teleport_out",!1)} + this.state=sI.SKILL,this.loop=!1,this.attackCoolDown=this.atkDuration,this.numCurrentAttack=0,this.att2Phase=null,this.hideAtt2Telegraph(),this.attackable=!1,this.isUntagetable=!0,this.freezeAlliesInPlace(),this.teleportPhase="out",this.playSpine("teleport_out",!1)} + freezeAlliesInPlace(){ + if(this.enemyList)for(const t of this.enemyList)t.target===this&&(this.removeBlockedEnemy(t),t.target=null),t.xDefault=t.x,t.yDefault=t.y} + emergeRadialBlow(){ + this.radialBlow(this.x,this.y,t.EMERGE_RADIUS,t.EMERGE_POWER_MIN,t.EMERGE_POWER_MAX,t.EMERGE_VH_MIN,t.EMERGE_VH_MAX)}
- if(super.execute(),this.isAlive)return"telegraph"===this.att2Phase&&this.state===Nx.SKILL?(this.att2Frames++,void(this.att2Frames>=t.ATT2_TELEGRAPH_FRAMES&&this.beginAtt2Strike())):void("strike"===this.att2Phase&&this.state===Nx.SKILL&&(this.att2Frames++,this.att2Frames>=t.ATT2_STRIKE_MAX_FRAMES&&this.endAtt2()))} + if(this.raidStunFrames>0&&this.isAlive)return this.raidStunFrames--,this.spine&&this.spine.update(1/60),this.updateHitFlash(),void this.updateHitKnockback(); + if(super.execute(),this.isAlive){ + if("underground"!==this.teleportPhase)return"telegraph"===this.att2Phase&&this.state===sI.SKILL?(this.att2Frames++,void(this.att2Frames>=t.ATT2_TELEGRAPH_FRAMES&&this.beginAtt2Strike())):void("strike"===this.att2Phase&&this.state===sI.SKILL&&(this.att2Frames++,this.att2Frames>=t.ATT2_STRIKE_MAX_FRAMES&&this.endAtt2())); + ++this.teleportFrames>=t.TELEPORT_UNDERGROUND_FRAMES&&(this.spine&&(this.spine.visible=!0),this.isUntagetable=!1,this.attackable=!0,this.teleportPhase="in",this.resetBoneSync(),this.faceMajorityEnemies(),this.playSpine("teleport_in",!1))} + }
- return"teleport_out"===s?(this.relocateForTeleport(),this.teleportPhase="in",void this.playSpine("teleport_in",!1)):"teleport_in"===s?(this.teleportPhase=null,this.attackable=!0,void this.gotoIdleState()):void("strike"!==this.att2Phase||s!==this.aniSkills[0]?super.onSpineAnimationComplete(t):this.endAtt2())} + return"teleport_out"===s?(this.relocateForTeleport(),this.spine&&(this.spine.visible=!1),this.teleportPhase="underground",void(this.teleportFrames=0)):"teleport_in"===s?(this.teleportPhase=null,this.emergeSlamming=!0,this.state=sI.SKILL,this.loop=!1,this.attackCoolDown=this.atkDuration,this.resetBoneSync(),void this.playSpine(this.aniSkills[1],!1)):this.emergeSlamming&&s===this.aniSkills[1]?(this.emergeSlamming=!1,void this.gotoIdleState()):void("strike"!==this.att2Phase||s!==this.aniSkills[0]?super.onSpineAnimationComplete(t):this.endAtt2())}
- null===this.teleportPhase&&this.startTeleport()} + null!==this.teleportPhase||this.emergeSlamming||this.startTeleport()}
- Kt(k1,"GolemKing"),zt(k1,"SKILL_TELEPORT",5),zt(k1,"BLOW_SCALE",.75*.6),zt(k1,"ATT1_OFFSET_X",100),zt(k1,"ATT1_RADIUS",120),zt(k1,"ATT1_POWER_MIN",5),zt(k1,"ATT1_POWER_MAX",15),zt(k1,"ATT1_VH_MIN",4),zt(k1,"ATT1_VH_MAX",12),zt(k1,"ATT3_RADIUS",300),zt(k1,"ATT3_POWER_MIN",3),zt(k1,"ATT3_POWER_MAX",12),zt(k1,"ATT3_VH_MIN",2),zt(k1,"ATT3_VH_MAX",10),zt(k1,"ATT5_PILLAR_RADIUS",50),zt(k1,"ATT5_SCALE",.3),zt(k1,"ATT5_PILLAR_BONES",["stone_pillar_01","stone_pillar_02","stone_pillar_03","stone_pillar_04","stone_pillar_05","stone_pillar_06","stone_pillar_07","stone_pillar_08","stone_pillar_09"]),zt(k1,"ATT2_CONE_RADIUS",460),zt(k1,"ATT2_CONE_HALF_ANGLE",.6),zt(k1,"ATT2_TELEGRAPH_FRAMES",75),zt(k1,"ATT2_STRIKE_MAX_FRAMES",120),zt(k1,"ATT2_POWER_MIN",3),zt(k1,"ATT2_POWER_MAX",8),zt(k1,"ATT2_VH_MIN",2),zt(k1,"ATT2_VH_MAX",6); + Kt(Q1,"GolemKing"),zt(Q1,"SKILL_TELEPORT",5),zt(Q1,"BLOW_SCALE",.75*.6),zt(Q1,"ATT1_OFFSET_X",100),zt(Q1,"ATT1_RADIUS",120),zt(Q1,"ATT1_POWER_MIN",5),zt(Q1,"ATT1_POWER_MAX",15),zt(Q1,"ATT1_VH_MIN",4),zt(Q1,"ATT1_VH_MAX",12),zt(Q1,"ATT3_RADIUS",300),zt(Q1,"ATT3_POWER_MIN",3),zt(Q1,"ATT3_POWER_MAX",12),zt(Q1,"ATT3_VH_MIN",2),zt(Q1,"ATT3_VH_MAX",10),zt(Q1,"ATT5_PILLAR_RADIUS",50),zt(Q1,"ATT5_SCALE",.3),zt(Q1,"ATT5_PILLAR_BONES",["stone_pillar_01","stone_pillar_02","stone_pillar_03","stone_pillar_04","stone_pillar_05","stone_pillar_06","stone_pillar_07","stone_pillar_08","stone_pillar_09"]),zt(Q1,"ATT2_CONE_RADIUS",460),zt(Q1,"ATT2_CONE_HALF_ANGLE",.6),zt(Q1,"ATT2_TELEGRAPH_FRAMES",75),zt(Q1,"ATT2_STRIKE_MAX_FRAMES",120),zt(Q1,"ATT2_POWER_MIN",3),zt(Q1,"ATT2_POWER_MAX",8),zt(Q1,"ATT2_VH_MIN",2),zt(Q1,"ATT2_VH_MAX",6),zt(Q1,"TELEPORT_UNDERGROUND_FRAMES",120),zt(Q1,"EMERGE_RADIUS",480),zt(Q1,"EMERGE_POWER_MIN",15.2),zt(Q1,"EMERGE_POWER_MAX",24.3),zt(Q1,"EMERGE_VH_MIN",10.6),zt(Q1,"EMERGE_VH_MAX",18.2);
PassthroughFilter 4 hunks, 17 statements
- var Vd="struct GlobalFilterUniforms { + var hf="in vec2 vTextureCoord; + \nout vec4 finalColor; + \nuniform sampler2D uTexture; + \nvoid main() { + \n finalColor = texture(uTexture, vTextureCoord); + \n} + \n",rf="struct GlobalFilterUniforms {
- const Kd=class extends tr{ + const of=class extends or{
- vertex:Hd,fragment:"in vec2 vTextureCoord; - \nout vec4 finalColor; - \nuniform sampler2D uTexture; - \nvoid main() { - \n finalColor = texture(uTexture, vTextureCoord); - \n} - \n",name:"passthrough-filter"} + vertex:Zd,fragment:hf,name:"passthrough-filter"}
- Kt(Kd,"PassthroughFilter"); - let zd=Kd; + Kt(of,"PassthroughFilter"); + let af=of;
AttendanceDataManager 2 hunks, 17 statements
- const t=(new Date).toISOString().slice(0,10); - ""!==this.lastCheckDate&&this.lastCheckDate!==t&&this.check()} + this.checkDateRollover()}
+ async checkDateRollover(){ + const t=(new Date).toISOString().slice(0,10); + if(""!==this.lastCheckDate&&this.lastCheckDate!==t&&(await this.check(),this.hasReward())){ + const{ + AttendanceAutoTrigger:t} + =await Jt(async()=>{ + const{ + AttendanceAutoTrigger:t} + =await Promise.resolve().then(()=>Uri); + return{ + AttendanceAutoTrigger:t} + } + ,void 0); + t.getInstance().requestShow()} + }
CorpFlag 9 hunks, 12 statements
- super(),zt(this,"corpIndex"),zt(this,"onDrop",null),zt(this,"validate",null),zt(this,"snap",null),zt(this,"sprite"),zt(this,"numText"),zt(this,"dragging",!1),zt(this,"lastValid",!0),this.corpIndex=i,this.sprite=new Ge(OA.getTexture("UI_Ekkorr","Icon_Flag_Green")),this.sprite.anchor.set(.5,1),this.sprite.scale.set(t.SCALE),this.addChild(this.sprite),this.numText=new _g({ + super(),zt(this,"corpIndex"),zt(this,"onDrop",null),zt(this,"validate",null),zt(this,"snap",null),zt(this,"onDragStart",null),zt(this,"onDragMove",null),zt(this,"onDragEnd",null),zt(this,"sprite"),zt(this,"numText"),zt(this,"dragging",!1),zt(this,"lastValid",!0),zt(this,"targetX",0),zt(this,"targetY",0),this.corpIndex=i,this.sprite=new je(ZA.getTexture("UI_Ekkorr","Icon_Flag_Green")),this.sprite.anchor.set(.5,1),this.sprite.scale.set(t.SCALE),this.addChild(this.sprite),this.numText=new jg({
- setValid(t){ - this.sprite.texture=OA.getTexture("UI_Ekkorr",t?"Icon_Flag_Green":"Icon_Flag_Red")}
- if(!this.dragging){
- this.visible=!0,this.eventMode="static",this.position.set(t.x,t.y),this.lastValid||(this.lastValid=!0,this.setValid(!0))} - } + this.visible=!0,this.eventMode="static",this.position.set(t.x,t.y)}
- this.dragging=!0,t.stopPropagation(); + this.dragging=!0,t.stopPropagation(),this.onDragStart&&this.onDragStart(this.corpIndex,this.x,this.y);
- if(this.dragging=!1,this.detachStageListeners(),!this.onDrop)return; - let i=this.x,s=this.y; + if(this.dragging=!1,this.detachStageListeners(),this.onDragEnd&&this.onDragEnd(),!this.onDrop)return; + let i=this.targetX,s=this.targetY;
- i=t.x,s=t.y,this.position.set(i,s),this.lastValid=!0,this.setValid(!0)} + i=t.x,s=t.y}
- this.position.set(i.x,i.y); + this.targetX=i.x,this.targetY=i.y;
- s!==this.lastValid&&(this.lastValid=s,this.setValid(s))} + this.lastValid=s,this.onDragMove&&this.onDragMove(i.x,i.y,s)}
AttendanceReceiveButton 1 hunks, 11 statements
+ const toi=class extends x5{ + constructor(t){ + super(t),this.setTexture({ + texture:ZA.getTexture("UI_Ekkorr","Btn_Bg_01"),leftWidth:80,topHeight:35,rightWidth:90,bottomHeight:27} + ),this.width=256,this.height=67,this.outlineText=!0} + updateLayout(){ + super.updateLayout(),this.lbl.y=.5*(this._height-11-this.lbl.height)} + } + ; + Kt(toi,"AttendanceReceiveButton"); + let ioi=toi;
CorpCameraController 5 hunks, 7 statements
- zt(this,"opt"),zt(this,"mode","follow"),zt(this,"target","boss"),zt(this,"panCatcher",null),zt(this,"panning",!1),zt(this,"lastPanX",0),zt(this,"lastPanY",0),zt(this,"buttonBar",null),zt(this,"buttons",[]),this.opt=t} + zt(this,"opt"),zt(this,"mode","follow"),zt(this,"target","center"),zt(this,"panCatcher",null),zt(this,"panning",!1),zt(this,"lastPanX",0),zt(this,"lastPanY",0),zt(this,"freeIdleFrames",0),zt(this,"buttonBar",null),zt(this,"buttons",[]),this.opt=t}
- this.createPanCatcher(),this.createButtons(),this.setTarget("boss"),this.snapToTarget()} + this.createPanCatcher(),this.createButtons(),this.setTarget("center"),this.snapToTarget()}
- if("free"===this.mode)return; + if("free"===this.mode){ + if(++this.freeIdleFrames<t.FREE_RETURN_DELAY)return; + this.mode="follow"}
- this.panning=!0,this.mode="free",this.lastPanX=t.global.x,this.lastPanY=t.global.y; + this.panning=!0,this.mode="free",this.freeIdleFrames=0,this.lastPanX=t.global.x,this.lastPanY=t.global.y;
- Kt(M4,"CorpCameraController"),zt(M4,"FOLLOW_LERP",.05),zt(M4,"BTN_W",78),zt(M4,"BTN_H",44),zt(M4,"BTN_GAP",6),zt(M4,"BAR_BOTTOM_MARGIN",28),zt(M4,"COLOR_ACTIVE",3046706),zt(M4,"COLOR_IDLE",0); + Kt(K4,"CorpCameraController"),zt(K4,"FOLLOW_LERP",.05),zt(K4,"FREE_RETURN_DELAY",150),zt(K4,"BTN_W",78),zt(K4,"BTN_H",44),zt(K4,"BTN_GAP",6),zt(K4,"BAR_BOTTOM_MARGIN",28),zt(K4,"COLOR_ACTIVE",3046706),zt(K4,"COLOR_IDLE",0);
GuildWarBattlePopupV3 7 hunks, 7 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:9} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:9}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:11} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:11}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:9} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:9}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
PoolGroupClass 1 hunks, 5 statements
- let Gs=Ds,Bs=0; + let Bs=Gs; + const Us={ + cullArea:null,cullable:!1,cullableChildren:!0} + ; + let Fs=0;
BackgroundLoader 2 hunks, 5 statements
- ,lo=t=>!("string"!=typeof t||!t.match(/<font(\s|>)/))&&co.test(Xe.get().parseXML(t)),uo=t=>co.parse(Xe.get().parseXML(t)),fo=[".xml",".fnt"],po={ + ,vo={ + test:t=>!("string"!=typeof t||!t.match(/<font(\s|>)/))&&wo.test(sn.get().parseXML(t)),parse:t=>wo.parse(sn.get().parseXML(t))} + ,bo=[".xml",".fnt"],yo={
- ,name:"loadBitmapFont",id:"bitmap-font",test:t=>fo.includes(En.extname(t).toLowerCase()),testParse:async t=>ao.test(t)||lo(t),async parse(t,i,s){ - const e=ao.test(t)?ao.parse(t):uo(t),{ + ,name:"loadBitmapFont",id:"bitmap-font",test:t=>bo.includes(On.extname(t).toLowerCase()),testParse:async t=>mo.test(t)||vo.test(t),async parse(t,i,s){ + const e=mo.test(t)?mo.parse(t):vo.parse(t),{
GpuGraphicsContext 3 hunks, 5 statements
- ...Gc,extension:{ - ...Gc.extension,name:"ellipse"} + ...zc,extension:{ + ...zc.extension,name:"ellipse"}
- ...Gc,extension:{ - ...Gc.extension,name:"roundedRectangle"} + ...zc,extension:{ + ...zc.extension,name:"roundedRectangle"}
- ..."radial"===i.type?y.defaultRadialOptions:y.defaultLinearOptions,...Wi(i)} + ..."radial"===i.type?y.defaultRadialOptions:y.defaultLinearOptions,...$i(i)}
DOMPipe 3 hunks, 5 statements
+ const Ed={ + jsUrl:"https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.js",wasmUrl:"https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.wasm"} + ;
- type:"init",jsUrl:"https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.js",wasmUrl:"https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.wasm",supportedTextures:t} + type:"init",jsUrl:Ed.jsUrl,wasmUrl:Ed.wasmUrl,supportedTextures:t}
- return yd=Md(i),[...yd,...t]} + return Nd=Rd(i),[...Nd,...t]}
FrameLoopManager 1 hunks, 5 statements
- const cM=class t{ + const IM=Object.freeze(Object.defineProperty({ + __proto__:null,AbstractBitmapFont:$g,AbstractRenderer:Zr,AbstractText:Ep,AbstractTextSystem:Gg,AccessibilitySystem:dh,AlphaMask:qe,AlphaMaskPipe:zm,AnimatedSprite:Wf,Application:go,ApplicationInitHook:ro,Assets:od,AssetsClass:rd,BLEND_TO_NPM:ba,BREAKING_SPACES:Wp,BREAKING_SPACES_SET:$p,BREAK_AFTER_CHARS:zp,BREAK_AFTER_CHARS_SET:qp,BUFFER_TYPE:Kv,BackgroundLoader:Eo,BackgroundSystem:Vw,Batch:xa,BatchGeometry:qa,BatchTextureArray:ka,BatchableGraphics:Kc,BatchableHTMLText:mm,BatchableMesh:Hf,BatchableSprite:Og,BatchableText:Ig,Batcher:Ga,BatcherPipe:Fm,BigPool:Ks,BindGroup:Zh,BindGroupSystem:i_,BitmapFont:OM,BitmapFontManager:tm,BlendModePipe:Pw,Bounds:rs,BrowserAdapter:Ze,Buffer:Ua,BufferImageSource:Qi,BufferResource:Wb,BufferUsage:Ba,CLEAR:Kr,COLLAPSIBLE_SPACES:Vp,COLLAPSIBLE_SPACES_SET:Kp,Cache:vn,CanvasBatchAdaptor:Pm,CanvasColorMaskPipe:Xm,CanvasContextSystem:cw,CanvasGraphicsAdaptor:kw,CanvasGraphicsContextSystem:kf,CanvasGraphicsPipe:xf,CanvasLimitsSystem:uw,CanvasNineSliceSpritePipe:bM,CanvasObserver:Wn,CanvasPool:Tp,CanvasPoolClass:Sp,CanvasRenderTargetAdaptor:Nv,CanvasRenderTargetSystem:Rv,CanvasRenderer:$v,CanvasRendererTextSystem:Ug,CanvasSource:nn,CanvasStencilMaskPipe:sw,CanvasTextGenerator:Eg,CanvasTextMetrics:gg,CanvasTextPipe:Pg,CanvasTextSystem:Hg,CanvasTextureSystem:Dv,CanvasTilingSpritePipe:tp,Circle:na,Color:Bs,ColorMask:Ye,ColorMaskPipe:Jm,ColorMatrixFilter:nf,CompressedSource:fd,Container:Be,CustomRenderPipe:fw,DEG_TO_RAD:pi,DOMAdapter:sn,DOMPipe:Dd,DefaultBatcher:Bc,DefaultShader:Lc,DynamicBitmapFont:Kg,Ellipse:ra,EventBoundary:qd,EventEmitter:li,EventSystem:Jd,EventsTicker:Bd,ExtensionType:Qt,ExtractSystem:qw,FederatedContainer:Qd,FederatedEvent:Vn,FederatedMouseEvent:Fd,FederatedPointerEvent:jd,FederatedWheelEvent:$d,FillGradient:cl,FillPattern:gu,Filter:or,FilterEffect:Qs,FilterPipe:lf,FilterSystem:wf,FontStylePromiseCache:Em,GCManagedHash:Fc,GCSystem:hv,GL_FORMATS:ib,GL_TARGETS:sb,GL_TYPES:eb,GPUTextureGpuData:tM,GenerateTextureSystem:iv,Geometry:$a,GlBackBufferSystem:fb,GlBatchAdaptor:Lm,GlBuffer:qv,GlBufferSystem:Yv,GlColorMaskSystem:gb,GlContextSystem:Qv,GlEncoderSystem:wb,GlGeometryGpuData:ab,GlGeometrySystem:lb,GlGraphicsAdaptor:jy,GlLimitsSystem:bb,GlMeshAdaptor:$y,GlProgram:Ih,GlProgramData:Kb,GlRenderTarget:_b,GlRenderTargetAdaptor:Ub,GlRenderTargetSystem:Hb,GlShaderSystem:cy,GlStateSystem:wy,GlStencilSystem:Ab,GlTexture:by,GlTextureSystem:Fy,GlUboSystem:Gb,GlUniformGroupSystem:py,GlobalResourceRegistry:js,GlobalUniformSystem:ov,GpuBatchAdaptor:Bm,GpuBlendModesToPixi:F_,GpuBufferData:e_,GpuBufferSystem:h_,GpuColorMaskSystem:c_,GpuDeviceSystem:u_,GpuEncoderSystem:f_,GpuGraphicsAdaptor:nM,GpuGraphicsContext:Al,GpuLimitsSystem:g_,GpuMeshAdapter:rM,GpuMipmapGenerator:Q_,GpuProgram:Kh,GpuRenderTarget:P_,GpuRenderTargetAdaptor:L_,GpuRenderTargetSystem:G_,GpuShaderSystem:U_,GpuStateSystem:j_,GpuStencilModesToPixi:Mb,GpuStencilSystem:w_,GpuTextureSystem:sM,GpuUboSystem:E_,GpuUniformBatchPipe:S_,Graphics:Gf,GraphicsContext:Iu,GraphicsContextRenderData:Sl,GraphicsContextSystem:kl,GraphicsGpuData:Pf,GraphicsPath:Jl,GraphicsPipe:Lf,HTMLText:Im,HTMLTextPipe:vm,HTMLTextRenderData:fm,HTMLTextStyle:am,HTMLTextSystem:Om,HelloSystem:pv,ImageSource:rn,InstructionSet:Se,Loader:Do,LoaderParserPriority:En,MaskEffectManager:ie,MaskEffectManagerClass:te,MaskFilter:Mf,Matrix:bi,MeshGeometry:Uf,NEWLINES:Hp,NEWLINES_SET:jp,NEWLINE_MATCH_REGEX:Yp,NEWLINE_SPLIT_REGEX:Xp,NOOP:Hi,NineSliceGeometry:_M,NineSliceSprite:TM,NineSliceSpriteGpuData:EM,NineSliceSpritePipe:CM,ObservablePoint:hi,PI_2:di,PassthroughFilter:af,PipelineSystem:I_,PlaneGeometry:wM,Point:mi,Polygon:ca,Pool:Ws,PoolGroupClass:Vs,QuadGeometry:up,RAD_TO_DEG:fi,Rectangle:Pi,RenderGroup:Ne,RenderGroupPipe:mw,RenderGroupSystem:Ww,RenderTarget:yv,RenderTargetSystem:xv,RenderTexture:Yw,RenderableGCSystem:mv,RendererInitHook:ao,RendererType:tr,ResizePlugin:lo,Resolver:Rn,RoundedRectangle:da,STENCIL_MODES:ya,SVGParser:uu,SchedulerSystem:lv,Shader:sr,ShaderStage:Fh,ShapePath:Xl,SharedRenderPipes:Sv,SharedSystems:Cv,Sprite:je,SpritePipe:xw,Spritesheet:Bn,State:hr,StencilMask:Qe,StencilMaskPipe:nw,SystemRunner:qr,Text:jg,TextStyle:Cg,Texture:ss,TextureGCSystem:vv,TextureMatrix:is,TexturePool:xe,TexturePoolClass:Oe,TextureSource:Yi,TextureStyle:qi,Ticker:dn,TickerListener:cn,TickerPlugin:fo,TilingSprite:_p,TilingSpriteGpuData:wp,TilingSpritePipe:bp,TilingSpriteShader:cp,Transform:Kf,UNIFORM_TO_ARRAY_SETTERS:uy,UNIFORM_TO_SINGLE_SETTERS:ly,UNIFORM_TYPES_MAP:qh,UNIFORM_TYPES_VALUES:zh,UPDATE_BLEND:2,UPDATE_COLOR:1,UPDATE_PRIORITY:on,UPDATE_VISIBLE:4,UboBatch:o_,UboSystem:Sb,UniformGroup:Jh,VERSION:no,VideoSource:gn,ViewContainer:Fe,ViewSystem:Av,ViewableBuffer:wa,WGSL_ALIGN_SIZE_DATA:v_,WGSL_TO_STD40_SIZE:Tb,WebGLRenderer:Qy,WebGPURenderer:pM,WorkerManager:$u,accessibilityTarget:fh,addBits:Xa,addMaskBounds:$e,addMaskLocalBounds:Ve,addProgramDefines:_h,appendSVGPath:lu,applyMatrix:fp,applyStyleParams:Ry,assignWithIgnore:Pe,autoDetectRenderer:eo,bgr2rgb:pe,bitmapFontCachePlugin:yo,bitmapFontTextParser:mo,bitmapFontXMLParser:wo,bitmapFontXMLStringParser:vo,blockDataMap:$_,boundsPool:he,browserExt:si,buildAdaptiveBezier:xl,buildAdaptiveQuadratic:Pl,buildArc:Dl,buildArcTo:Gl,buildArcToSvg:$l,buildCircle:zc,buildContextBatches:bl,buildEllipse:qc,buildLine:tl,buildPixelLine:il,buildPolygon:nl,buildRectangle:hl,buildRoundedRectangle:Xc,buildSimpleUvs:jc,buildTriangle:rl,buildUvs:Hc,cacheAsTextureMixin:zs,cacheTextureArray:Ao,calculatePathArea:cu,calculateProjection:Tv,canUseNewCanvasBlendModes:qf,canvasUtils:Xf,checkChildrenDidChange:ve,checkDataUrl:Go,checkExtension:Bo,checkForNestedPattern:ou,checkMaxIfStatementsInShader:Aa,childrenHelperMixin:Xs,cleanArray:ev,cleanHash:sv,clearList:Rw,closePointEps:Yc,collapseNewlines:sg,collapseSpaces:ig,collectRenderablesMixin:Ys,color32BitToUniform:If,colorBit:_c,colorBitGl:Mc,colorMatrixFilterFrag:tf,colorMatrixFilterWgsl:sf,compareModeToGlCompare:Py,compileHighShader:ac,compileHighShaderGl:cc,compileHighShaderGlProgram:yc,compileHighShaderGpuProgram:bc,compileHooks:Ja,compileInputs:Za,compileOutputs:ec,compileShader:zb,convertToList:mn,copySearchParams:Dn,createGlUploadCubeTextureResource:Ay,createGpuUploadCubeTextureResource:q_,createIdFromString:mh,createStringVariations:In,createTexture:Pu,createUboElementsSTD40:kb,createUboElementsWGSL:b_,createUboSyncFunction:xb,createUboSyncFunctionSTD40:Lb,createUboSyncFunctionWGSL:__,crossOrigin:Qu,cullingMixin:Us,curveEps:1e-4,defaultFilterVert:Zd,defaultValue:Xb,definedProps:$i,deprecation:Fi,detectAvif:So,detectCompressed:Pd,detectDefaults:ko,detectMp4:Io,detectOgv:No,detectVideoAlphaMode:fn,detectWebm:Po,detectWebp:Ro,determineCrossOrigin:td,earcut:Vr,effectsMixin:se,ensureAttributes:Zv,ensureIsBuffer:Fa,ensurePrecision:Mh,ensureTextOptions:Ap,executeInstructions:pw,extensions:ii,extractAttributesFromGlProgram:iy,extractAttributesFromGpuProgram:Bh,extractFontFamilies:ym,extractStructAndGroups:Uh,extractSubpaths:au,extractSvgUrlId:eu,fastCopy:va,findMixin:ee,fontStringFromTextStyle:wg,fragmentGPUTemplate:pc,fragmentGlTemplate:mc,generateArraySyncSTD40:Rb,generateArraySyncWGSL:y_,generateGpuLayoutGroups:Hh,generateLayoutHash:jh,generateProgram:ry,generateShaderSyncCode:$b,generateTextureBatchBit:Sc,generateTextureBatchBitGl:Oc,generateTextureMatrix:gl,generateUniformsSync:dy,getAdjustedBlendModeBlend:_a,getAttributeInfoFromFormat:Ph,getBatchSamplersUniformGroup:Pc,getBitmapTextLayout:zg,getCanvasBoundingBox:Pp,getCanvasFillStyle:bg,getCanvasTexture:Mv,getCharacterGroups:hg,getDefaultUniformValue:Xh,getFastGlobalBoundsMixin:oe,getFontCss:Am,getFontFamilyName:Vo,getGeometryBounds:Ha,getGlTypeFromFormat:hb,getGlobalBounds:ae,getGlobalMixin:ge,getGlobalRenderableBounds:df,getLocalBounds:me,getMaxFragmentPrecision:yh,getMaxMiterRatio:Tu,getMaxTexturesPerBatch:Sa,getOrientationOfPoints:Jc,getPo2TextureFromSource:Lg,getResolutionOfUrl:Nu,getSVGUrl:Cm,getSupportedCompressedTextureFormats:md,getSupportedGPUCompressedTextureFormats:gd,getSupportedGlCompressedTextureFormats:pd,getSupportedTextureFormats:bd,getTemporaryCanvasFromImage:Sm,getTestContext:bh,getTextureBatchBindGroup:pa,getUboData:sy,getUniformData:ey,getUrlExtension:Ln,glUploadBufferImageResource:yy,glUploadCompressedTextureResource:My,glUploadImageResource:Cy,glUploadVideoResource:Oy,globalUniformsBit:wc,globalUniformsBitGl:vc,gpuUploadBufferImageResource:W_,gpuUploadCompressedTextureResource:K_,gpuUploadImageResource:X_,gpuUploadVideoResource:Y_,groupD8:xi,hasTagMarkup:Bp,hasTagStyles:Gp,injectBits:nc,insertVersion:Eh,isBreakAfterChar:tg,isBreakingSpace:Qp,isCollapsibleSpace:Zp,isMobile:lh,isNewline:Jp,isPow2:Wi,isRenderingToScreen:kv,isSafari:bm,isSingleItem:Nn,isWebGLSupported:to,isWebGPUSupported:io,ktxTranscoderUrls:Ed,loadBitmapFont:_o,loadEnvironmentExtensions:cr,loadFontAsBase64:_m,loadFontCSS:Mm,loadImageBitmap:zu,loadJson:Uo,loadKTX2:Od,loadKTX2onWorker:kd,loadSVGImage:Tm,loadSvg:Ru,loadTextures:qu,loadTxt:Fo,loadVideoTextures:sd,loadWebFont:qo,localUniformBit:ip,localUniformBitGl:ep,localUniformBitGroup2:sp,logProgramError:hy,mapCanvasBlendModesToPixi:rw,mapFormatToGlFormat:Ly,mapFormatToGlInternalFormat:Dy,mapFormatToGlType:Gy,mapGlToVertexFormat:ty,mapType:Zb,mapViewDimensionToGlTarget:By,mapWebGLBlendModesToPixi:gy,maskFrag:vf,maskVert:bf,maskWgsl:yf,matrixPool:ne,measureHtmlText:pm,measureMixin:ye,measureTaggedText:og,mipmapScaleModeToGlFilter:Iy,multiplyColors:fe,multiplyHexColors:ue,nextPow2:ji,nonCompressedFormats:wd,normalizeExtensionPriority:ti,onRenderMixin:_e,parseSVGDefinitions:tu,parseSVGFloatAttribute:Zl,parseSVGPath:sa,parseSVGStyle:hu,parseTaggedText:Fp,passthroughFrag:hf,passthroughWgsl:rf,path:On,preloadVideo:Zu,removeItems:qs,removeStructAndGroupDuplicates:Wh,resolveCharacters:Jg,resolveCompressedTextureUrl:Id,resolveJsonUrl:nd,resolveTextureUrl:ed,resourceToTexture:_n,roundPixelsBit:xc,roundPixelsBitGl:Ic,roundedShapeArc:Vl,roundedShapeQuadraticCurve:Kl,sayHello:dv,scaleModeToGlFilter:xy,setPositions:dp,setProgramName:Sh,setUvs:pp,shapeBuilders:ml,sortMixin:Me,spritesheetAsset:Hn,squaredDistanceToLineSegment:oa,stripVersion:Th,styleAttributes:nu,testImageFormat:Co,testVideoFormat:xo,textStyleToCSS:im,textureBit:Hm,textureBitGl:jm,textureFrom:Mn,tilingBit:np,tilingBitGl:hp,toFillStyle:Cu,toLocalGlobalMixin:Ae,toStrokeStyle:Su,tokenize:ng,tokenizeTaggedRuns:cg,transformVertices:Wc,triangulateWithHoles:sl,trimRight:eg,uboSyncFunctionsSTD40:Nb,uboSyncFunctionsWGSL:Pb,uid:Li,uniformParsers:Ob,unsafeEvalSupported:ur,updateQuadBounds:es,updateRenderGroupTransform:Gw,updateRenderGroupTransforms:Dw,updateTextBounds:Tg,updateTransformAndChildren:Bw,updateTransformBackwards:le,v8_0_0:Gi,v8_3_4:Bi,validFormats:xd,validateRenderables:Fw,vertexGPUTemplate:fc,vertexGlTemplate:gc,warn:Hs,webworkerExt:ei,wordWrap:dg,wordWrapTaggedLines:ag,wrapModeToGlAddress:Ny} + ,Symbol.toStringTag,{ + value:"Module"} + )),NM=class t{
TextureManager 1 hunks, 5 statements
- const kA=class{ + const JA=Object.freeze(Object.defineProperty({ + __proto__:null,AssetPathManager:YA} + ,Symbol.toStringTag,{ + value:"Module"} + )),QA=class{
GuildWarConfigVO 3 hunks, 5 statements
- "hidden"===document.visibilityState&&U4t.cleanup()} + "hidden"===document.visibilityState?w8t.cleanup():"visible"===document.visibilityState&&uti.getInstance().checkDateRollover()}
- t.getInstance().setData(),t.getInstance().show(),t.getInstance().y=350,t.getInstance().hideHandler=Mti} + await t.getInstance().setData(),t.getInstance().show(),t.getInstance().y=450,t.getInstance().hideHandler=tii}
- ,Kt(Iti,"init"),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Iti):Iti(),ii.add(rh),ii.mixin(Pe,{ - accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,accessibleType:"button",accessibleText:null,accessiblePointerEvents:"auto",accessibleChildren:!0,_accessibleActive:!1,_accessibleDiv:null,_renderId:-1} - ),ii.add(Ad),ii.add(Ud),ii.mixin(Pe,Fd),ii.add(ef),ii.add(Xd); + ,Kt(cii,"init"),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",cii):cii(),ii.add(dh),ii.mixin(Be,fh),ii.add(Dd),ii.add(Jd),ii.mixin(Be,Qd),ii.add(wf),ii.add(lf);
Archery2GameScene 4 hunks, 4 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fill:16777215} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fill:16777215}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_20,fill:16766720} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_20,fill:16766720}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fill:16737792} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fill:16737792}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_20,fill:16777215} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_20,fill:16777215}
ViewContainer 1 hunks, 3 statements
- ii.mixin(Pe,Ks,ee,ye,we,me,Qs,Zs,ve,{ - cullArea:null,cullable:!1,cullableChildren:!0} - ,$s,ue,zs); + ii.mixin(Be,Xs,oe,Ae,_e,ye,se,ee,Me,Us,zs,ge,Ys);
GpuProgram 1 hunks, 3 statements
- const oh=Object.create(null),ah=Object.create(null); + const fh={ + accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,accessibleType:"button",accessibleText:null,accessiblePointerEvents:"auto",accessibleChildren:!0,_accessibleActive:!1,_accessibleDiv:null,_renderId:-1} + ,ph=Object.create(null),gh=Object.create(null);
CanvasGraphicsContext 2 hunks, 3 statements
- const of=class{ + const Ef=class{
- Kt(of,"CanvasGraphicsContext"); - let af=of; + Kt(Ef,"CanvasGraphicsContext"); + let Af=Ef;
TreasureItemRenderer 2 hunks, 3 statements
- const Dst=class t extends Cx{ + const get=class t extends Xx{
- Kt(Dst,"TreasureItemRenderer"),zt(Dst,"updateTimer",null),zt(Dst,"DEBOUNCE_DELAY",3e3),zt(Dst,"isDirty",!1),zt(Dst,"targetEnhances",new Map),zt(Dst,"HIDE_DELAY",5e3); - let Gst=Dst; + Kt(get,"TreasureItemRenderer"),zt(get,"updateTimer",null),zt(get,"DEBOUNCE_DELAY",3e3),zt(get,"isDirty",!1),zt(get,"targetEnhances",new Map),zt(get,"HIDE_DELAY",5e3); + let met=get;
HonorShopItemRenderer 2 hunks, 3 statements
- const set=class extends Cx{ + const Det=class extends Xx{
- Kt(set,"HonorShopItemRenderer"); - let eet=set; + Kt(Det,"HonorShopItemRenderer"); + let Get=Det;
Client 2 hunks, 3 statements
- var pet,get,met={ + var zet,qet,Xet={
- if(get)return pet; - get=1; + if(qet)return zet; + qet=1;
SHA256 3 hunks, 3 statements
- ...BEt,...FEt,...jEt,...$Et,...zEt,...eAt,...rAt,...cAt,...pAt} + ...mAt,...vAt,...yAt,...MAt,...CAt,...LAt,...BAt,...HAt,...KAt}
- ...JAt,...ZAt} + ...OCt,...ICt}
- utf8:xCt,"utf-8":xCt,hex:ACt.base16,latin1:ICt,ascii:ICt,binary:ICt,...ACt} + utf8:aSt,"utf-8":aSt,hex:sSt.base16,latin1:cSt,ascii:cSt,binary:cSt,...sSt}
SuiProvider 3 hunks, 3 statements
- namespace:_Rt.NameSpaceKeyAptos,addresses:s,methods:[...ERt.AptosMethods],extra:h} + namespace:ZRt.NameSpaceKeyAptos,addresses:s,methods:[...iLt.AptosMethods],extra:h}
- namespace:xRt.NameSpaceKeyTON,addresses:o,methods:[...PRt.TONMethods],extra:a,data:{ + namespace:aLt.NameSpaceKeyTON,addresses:o,methods:[...uLt.TONMethods],extra:a,data:{
- namespace:GRt.NameSpaceKeySui,addresses:i,methods:[...FRt.SuiMethods],extra:s} + namespace:gLt.NameSpaceKeySui,addresses:i,methods:[...vLt.SuiMethods],extra:s}
WalletPopup 3 hunks, 3 statements
- ...xR.ERROR_POPUP_LABEL_OPTION,fontSize:24,fontWeight:"bold"} + ...tL.ERROR_POPUP_LABEL_OPTION,fontSize:24,fontWeight:"bold"}
- ...xR.ERROR_POPUP_LABEL_OPTION,fontSize:16} + ...tL.ERROR_POPUP_LABEL_OPTION,fontSize:16}
- ...xR.ERROR_POPUP_LABEL_OPTION,fontSize:16} + ...tL.ERROR_POPUP_LABEL_OPTION,fontSize:16}
CanvasSource 2 hunks, 2 statements
- let qe={ + const Ze={
+ let tn=Ze;
TilingSpriteShader 1 hunks, 2 statements
- ...Uf,vertex:{ - ...Uf.vertex,header:Uf.vertex.header.replace("group(1)","group(2)")} + ...ip,vertex:{ + ...ip.vertex,header:ip.vertex.header.replace("group(1)","group(2)")}
BatchableSprite 2 hunks, 2 statements
- ..._u.defaultFillStyle,...t} + ...Iu.defaultFillStyle,...t}
- ..._u.defaultStrokeStyle,...t} + ...Iu.defaultStrokeStyle,...t}
CanvasRenderer 1 hunks, 2 statements
- const gv=[...ev,jm,$m,pv,dv],mv=[dw,bm,cw,Xm,Sm,Lm,km,Km],wv=[dm,ow],vv=[],bv=[],yv=[]; - ii.handleByNamedList(Qt.CanvasSystem,vv),ii.handleByNamedList(Qt.CanvasPipes,bv),ii.handleByNamedList(Qt.CanvasPipesAdaptor,yv),ii.add(...gv,...mv,...wv); + const Gv=[...Cv,cw,uw,Dv,Rv],Bv=[Pw,Fm,xw,mw,zm,sw,Xm,fw],Uv=[Pm,kw],Fv=[],Hv=[],jv=[]; + ii.handleByNamedList(Qt.CanvasSystem,Fv),ii.handleByNamedList(Qt.CanvasPipes,Hv),ii.handleByNamedList(Qt.CanvasPipesAdaptor,jv),ii.add(...Gv,...Bv,...Uv);
WebGLRenderer 1 hunks, 2 statements
- const Ey=[...ev,gb,Vv,xv,Jv,kv,vy,bb,jv,Kb,Hb,Xv,Xb,sb,zv],Ay=[...nv],Cy=[pm,My,yy],Sy=[],Ty=[],ky=[]; - ii.handleByNamedList(Qt.WebGLSystem,Sy),ii.handleByNamedList(Qt.WebGLPipes,Ty),ii.handleByNamedList(Qt.WebGLPipesAdaptor,ky),ii.add(...Ey,...Ay,...Cy); + const Vy=[...Cv,Gb,fb,Qv,bb,Yv,Fy,Hb,lb,py,cy,wb,wy,Ab,gb],Ky=[...Sv],zy=[Lm,$y,jy],qy=[],Xy=[],Yy=[]; + ii.handleByNamedList(Qt.WebGLSystem,qy),ii.handleByNamedList(Qt.WebGLPipes,Xy),ii.handleByNamedList(Qt.WebGLPipesAdaptor,Yy),ii.add(...Vy,...Ky,...zy);
WebGPURenderer 1 hunks, 2 statements
- const U_=[...ev,i_,Vy,Wy,zy,Gy,R_,g_,w_,y_,c_,Hy,Xy,Py],F_=[...nv,n_],H_=[wm,B_,D_],j_=[],W_=[],$_=[]; - ii.handleByNamedList(Qt.WebGPUSystem,j_),ii.handleByNamedList(Qt.WebGPUPipes,W_),ii.handleByNamedList(Qt.WebGPUPipesAdaptor,$_),ii.add(...U_,...F_,...H_); + const oM=[...Cv,E_,f_,u_,g_,h_,sM,G_,U_,j_,I_,c_,w_,i_],aM=[...Sv,S_],cM=[Bm,rM,nM],lM=[],uM=[],dM=[]; + ii.handleByNamedList(Qt.WebGPUSystem,lM),ii.handleByNamedList(Qt.WebGPUPipes,uM),ii.handleByNamedList(Qt.WebGPUPipesAdaptor,dM),ii.add(...oM,...aM,...cM);
TreasureBookPopup 2 hunks, 2 statements
- let Ast=Est; + let set=iet;
- this.list=new pV(Ast,630,EA.getBookListHeight(t)),this.addChild(this.list),this.updateLayout()} + this.list=new BV(set,630,KA.getBookListHeight(t)),this.addChild(this.list),this.updateLayout()}
GuildBarrackRowItemRenderer 2 hunks, 2 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:14} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:14}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13}
GuildWarBattleReadyPopup 2 hunks, 2 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:13}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
GuildWarSquadsPopup 2 hunks, 2 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:14} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:14}
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
GuildWarTierAssignPopup 2 hunks, 2 statements
- const i=[...WR.memberList??[]].sort((t,i)=>i.roleLevel!==t.roleLevel?i.roleLevel-t.roleLevel:(i.wave??0)-(t.wave??0)); + const i=[...fL.memberList??[]].sort((t,i)=>i.roleLevel!==t.roleLevel?i.roleLevel-t.roleLevel:(i.wave??0)-(t.wave??0));
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
BufferImageSource 1 hunks, 1 statements
- const Di=new Set,Gi="8.0.0",Bi={ + const Di=new Set,Gi="8.0.0",Bi="8.3.4",Ui={
FilterEffect 1 hunks, 1 statements
+ let Vs=$s;
InstructionSet 1 hunks, 1 statements
+ let te=Zs;
RenderGroup 1 hunks, 1 statements
+ let Oe=ke;
CacheClass 1 hunks, 1 statements
- ...Xi.defaultOptions,autoLoad:!0,autoPlay:!0,updateFPS:0,crossorigin:!0,loop:!1,muted:!0,playsinline:!0,preload:!1} + ...Yi.defaultOptions,autoLoad:!0,autoPlay:!0,updateFPS:0,crossorigin:!0,loop:!1,muted:!0,playsinline:!0,preload:!1}
ApplicationInitHook 1 hunks, 1 statements
- const i=[...jr,...this.config.runners??[]]; + const i=[...Xr,...this.config.runners??[]];
Circle 1 hunks, 1 statements
- ,test:Kt(()=>Promise.resolve(!0),"test"),add:Kt(async t=>[...t,..._o],"add"),remove:Kt(async t=>t.filter(t=>!_o.includes(t)),"remove")} + ,test:Kt(()=>Promise.resolve(!0),"test"),add:Kt(async t=>[...t,...To],"add"),remove:Kt(async t=>t.filter(t=>!To.includes(t)),"remove")}
GraphicsContextRenderData 1 hunks, 1 statements
- return Ui("8.3.4","GraphicsContextRenderData#geometry is deprecated, please use batcher.geometry instead."),this.batcher.geometry} + return Fi(Bi,"GraphicsContextRenderData#geometry is deprecated, please use batcher.geometry instead."),this.batcher.geometry}
AssetsClass 1 hunks, 1 statements
- ...cn.defaultOptions,resolution:(null==(e=i.data)?void 0:e.resolution)||Mu(t),alphaMode:(null==(n=i.data)?void 0:n.alphaMode)||await on(),...i.data} + ...gn.defaultOptions,resolution:(null==(e=i.data)?void 0:e.resolution)||Nu(t),alphaMode:(null==(n=i.data)?void 0:n.alphaMode)||await fn(),...i.data}
CompressedSource 1 hunks, 1 statements
+ let rd=hd;
WorkerInstance 1 hunks, 1 statements
- return od=[...rd,...t],od} + return vd=[...wd,...t],vd}
LRU 1 hunks, 1 statements
+ let Sp=Cp;
CanvasTextGeneratorClass 1 hunks, 1 statements
- const Ap=new Set([10,13]),Cp=new Set([9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]),Sp=new Set([9,32]),Tp=new Set([45,8208,8211,8212,173]),kp=/(\r\n|\r|\n)/,Op=/(?:\r\n|\r|\n)/; + const Hp=[10,13],jp=new Set(Hp),Wp=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288],$p=new Set(Wp),Vp=[9,32],Kp=new Set(Vp),zp=[45,8208,8211,8212,173],qp=new Set(zp),Xp=/(\r\n|\r|\n)/,Yp=/(?:\r\n|\r|\n)/;
HTMLTextStyle 1 hunks, 1 statements
- ...ng.defaultDropShadow,...t} + ...Cg.defaultDropShadow,...t}
RenderTargetSystem 1 hunks, 1 statements
+ let Av=Ev;
GlUboSystem 1 hunks, 1 statements
- ...lb,"mat2x2<f32>":"\n data[offset] = v[0]; + ...Nb,"mat2x2<f32>":"\n data[offset] = v[0];
VersionManager 1 hunks, 1 statements
- Kt(AA,"VersionManager"),zt(AA,"gameId","ef2"),zt(AA,"appVersion","1.10.87"); + Kt(zA,"VersionManager"),zt(zA,"gameId","ef2"),zt(zA,"appVersion","1.10.97");
BuffStatusPopup 1 hunks, 1 statements
- if(n)if(t=[...hI.getInstance().getContributors(o)],o===eI.GodBless){ + if(n)if(t=[...OI.getInstance().getContributors(o)],o===TI.GodBless){
PetListSubView 1 hunks, 1 statements
- const t=[...Ux.getInstance().list].sort((t,i)=>i.grade!==t.grade?i.grade-t.grade:i.piece-t.piece),i=t.map(t=>t.kindNum); + const t=[...cI.getInstance().list].sort((t,i)=>i.grade!==t.grade?i.grade-t.grade:i.piece-t.piece),i=t.map(t=>t.kindNum);
PetSelectPopup 1 hunks, 1 statements
- const t=[...Ux.getInstance().list].sort((t,i)=>i.grade!==t.grade?i.grade-t.grade:i.piece-t.piece).map(t=>t.kindNum); + const t=[...cI.getInstance().list].sort((t,i)=>i.grade!==t.grade?i.grade-t.grade:i.piece-t.piece).map(t=>t.kindNum);
FavoritePetSubView 1 hunks, 1 statements
- const t=[...RL.getInstance().favoritePets].sort((t,i)=>{ + const t=[...nD.getInstance().favoritePets].sort((t,i)=>{
TreasureInventorySubView 1 hunks, 1 statements
- const t=[...wI.getInstance().ownedList]; + const t=[...HI.getInstance().ownedList];
TreasureSubView 1 hunks, 1 statements
- const t=[...wI.getInstance().equipedList]; + const t=[...HI.getInstance().equipedList];
Sr 1 hunks, 1 statements
- ...t,...Nlt(i)} + ...t,...lut(i)}
Ma 1 hunks, 1 statements
- ...Wpt,coercer:Kt((t,i)=>ipt(t,$pt)?Wpt.coercer(Vpt(t,i),i):Wpt.coercer(t,i),"coercer")} + ..._gt,coercer:Kt((t,i)=>Ppt(t,Mgt)?_gt.coercer(Egt(t,i),i):_gt.coercer(t,i),"coercer")}
Yp 1 hunks, 1 statements
- const e=126,n=[71,73,70,56,55,97,...i,246,0,0,255,255,255,...CMt(381,0),44,0,0,0,0,...i,0,7],h=Math.floor(s.length/e); + const e=126,n=[71,73,70,56,55,97,...i,246,0,0,255,255,255,...eEt(381,0),44,0,0,0,0,...i,0,7],h=Math.floor(s.length/e);
SuiStandardProvider 1 hunks, 1 statements
- namespace:Dxt.NameSpaceKeyEip155,addresses:i,methods:[...Uxt.Eip55Methods],extra:s} + namespace:pIt.NameSpaceKeyEip155,addresses:i,methods:[...wIt.Eip55Methods],extra:s}
AppReadyEvent 1 hunks, 1 statements
- return oNt||(oNt=[...iNt]),oNt} + return UNt||(UNt=[...PNt]),UNt}
SolProvider 1 hunks, 1 statements
- namespace:dRt.NameSpaceKeySOL,addresses:i,methods:[...mRt.SOLANAMethods],extra:s} + namespace:$Rt.NameSpaceKeySOL,addresses:i,methods:[...qRt.SOLANAMethods],extra:s}
OkxwalletInjectConnector 1 hunks, 1 statements
- namespace:$Rt.NameSpaceKeyBtc,addresses:i,methods:[...KRt.BtcMethods],extra:s} + namespace:MLt.NameSpaceKeyBtc,addresses:i,methods:[...ALt.BtcMethods],extra:s}
TcRootElement 1 hunks, 1 statements
- return FVt()||(t.push(new sEt.OKXAppConnector),t.push(new sEt.OKXWalletAppConnector)),BVt()&&t.push(new sEt.OkxwalletInjectConnector),t.push(...jVt()),t} + return vKt()||(t.push(new REt.OKXAppConnector),t.push(new REt.OKXWalletAppConnector)),mKt()&&t.push(new REt.OkxwalletInjectConnector),t.push(...yKt()),t}
WalletSelectPopup 1 hunks, 1 statements
- ...xR.ERROR_POPUP_LABEL_OPTION,fontSize:18} + ...tL.ERROR_POPUP_LABEL_OPTION,fontSize:18}
GuildBarracksRaceView 1 hunks, 1 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
GuildMainSubView 1 hunks, 1 statements
- const i=[...WR.guildList].sort((t,i)=>{ + const i=[...fL.guildList].sort((t,i)=>{
GuildWarHistoryItemRenderer 1 hunks, 1 statements
- ...xR.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i} + ...tL.DEFAULT_OUTLINE_FONT_OPTION_16,fontSize:i}
BattleController 1 hunks, 1 statements
- this.skippedWave>0&&!this.shownDialogueWaves.has(this.skippedWave)&&(t.push(..._4t.getInstance().getByWave(this.skippedWave)),this.shownDialogueWaves.add(this.skippedWave)),this.shownDialogueWaves.has(HL.wave)||(t.push(..._4t.getInstance().getByWave(HL.wave)),this.shownDialogueWaves.add(HL.wave)),t.length>0&&w4t.getInstance().showDialogues(t)} + this.skippedWave>0&&!this.shownDialogueWaves.has(this.skippedWave)&&(t.push(...Z4t.getInstance().getByWave(this.skippedWave)),this.shownDialogueWaves.add(this.skippedWave)),this.shownDialogueWaves.has(uD.wave)||(t.push(...Z4t.getInstance().getByWave(uD.wave)),this.shownDialogueWaves.add(uD.wave)),t.length>0&&X4t.getInstance().showDialogues(t)}
GuildWarCombatLogItemRenderer 1 hunks, 1 statements
- ...xR.DEFAULT_FONT_OPTION_15,fontSize:14} + ...tL.DEFAULT_FONT_OPTION_15,fontSize:14}
GuildWarMemberStatusItemRenderer 1 hunks, 1 statements
- ...xR.DEFAULT_FONT_OPTION_15,fontSize:14} + ...tL.DEFAULT_FONT_OPTION_15,fontSize:14}
GuildWarTargetMarkerItemRenderer 1 hunks, 1 statements
- ...xR.DEFAULT_FONT_OPTION_15,fontSize:14} + ...tL.DEFAULT_FONT_OPTION_15,fontSize:14}
GoldPiece 1 hunks, 1 statements
- __proto__:null,AttendancePopup:vri} + __proto__:null,AttendancePopup:Zri,AttendanceReceiveButton:ioi}
Delay 1 hunks, 1 statements
- ...Nci(),[i]:s} + ...gli(),[i]:s}
NetworkTimeout 1 hunks, 1 statements
- ...sli,...i} + ...Uli,...i}
RecaptchaVerifier 1 hunks, 1 statements
- ...Gpi} + ...ygi}
BrowserPopupRedirectResolver 1 hunks, 1 statements
- ...Hgi,width:e.toString(),height:n.toString(),top:h,left:r} + ...Ami,width:e.toString(),height:n.toString(),top:h,left:r}


