From 4833d202b1f93ec255581577dbde83f24449f63c Mon Sep 17 00:00:00 2001 From: notify Date: Wed, 5 Apr 2023 01:05:06 +0800 Subject: [PATCH] Wake limit (#101) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 显示限定技标记的UI。 原理上也能显示觉醒技,我也做了显示觉醒技,但没测试。 转换技、使命技也是这样显示的,但先不提就是了,先合一发 --- image/photo/skill/limit-used.png | Bin 0 -> 6715 bytes image/photo/skill/limit.png | Bin 0 -> 4229 bytes image/photo/skill/wake.png | Bin 0 -> 4244 bytes lua/client/client.lua | 24 ++++++- lua/client/client_util.lua | 9 ++- lua/core/skill_type/active.lua | 4 +- lua/fk_ex.lua | 2 +- lua/server/serverplayer.lua | 4 +- qml/Pages/RoomElement/Photo.qml | 12 ++++ .../PhotoElement/LimitSkillArea.qml | 31 +++++++++ .../PhotoElement/LimitSkillItem.qml | 62 ++++++++++++++++++ qml/Pages/RoomLogic.js | 12 ++++ qml/Pages/skin-bank.js | 1 + 13 files changed, 153 insertions(+), 8 deletions(-) create mode 100644 image/photo/skill/limit-used.png create mode 100644 image/photo/skill/limit.png create mode 100644 image/photo/skill/wake.png create mode 100644 qml/Pages/RoomElement/PhotoElement/LimitSkillArea.qml create mode 100644 qml/Pages/RoomElement/PhotoElement/LimitSkillItem.qml diff --git a/image/photo/skill/limit-used.png b/image/photo/skill/limit-used.png new file mode 100644 index 0000000000000000000000000000000000000000..b549697fe981fbadabfe44a5f42dc35c40427e4f GIT binary patch literal 6715 zcmV-B8pP#^P)+0Yt2!cN#t}afBE>hxmNufoI zcO3Wd-uJ%TeFylPRi>K31fXh`kx3gelkz)ZhsE`~#_#gc4ty!F!bdw@UAoOC}A7emx7icwX z`}^3oTPHx^8Mx9q{#p~5{Up87(PBryz&3Dk-O=Pd;Bp5TdeS9Ba-;w)f3XO>pV2qv zfx%m#Z_Vvn`y8haK$d!yz5xynf$V!p07*na zRCt{2n|F{E)waehhM6~4p@2W6m{a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vS3*ew>ax!Pd=jfm&H46ZQ)DPfgcvVl;8`!J|JFku*b z`eBT}lH*DyR>=e_36m;eb|s98@|3K{grg1aX~@BhWmF)7sdq47)Cwhrd5 zJ$p9xFAH05z4eCw+Z4N!0#>mA6KMjIo3N^l$eXhZYd(DV@aFyz1<#se&^cB<=eb^% zeRz%#CdWo2H+1OGoL>sE4bEY1IR+oj!g}7T^RPZUy&PcV*ns4cL!rNDlfH8F8)X$0 z6}f=}2S%N~efvhc-p@F5BSwtK4Hz&W$2Q!rW8&Q0w8tKMM0<|MHteT+_wLPzWt;i< zl{po*ZQHh>UAuN0?w>rr@mKsOPX5xL{Qhvi|McHW|9|{F^{?MwzyIj(zX3G4b+!mH Rv&H}b002ovPDHLkV1g`vw~YV* literal 0 HcmV?d00001 diff --git a/image/photo/skill/limit.png b/image/photo/skill/limit.png new file mode 100644 index 0000000000000000000000000000000000000000..26c0b0cf4348fc2ea050986f22e6f4a5a270bd88 GIT binary patch literal 4229 zcmV;05PI*4P)_4;r)IRztfL}KkY=TWP z321mMM{6_TOr)NcW~Nvqt1sM#>L$CXyEAbdAO{fCUENh(_4QX@opY)Qf49GwHC}Oh zKCpbnZGM%Ozskn$3~m^%4n2S*AqNDI73IOJ=-5|i>BhNN{4dAzr2)S)5C;dXu-EH> zV=22q&@3*szHBGHPBxp(=H(&4vwrzhHM^uD8G66{;C$Qii>vY$&DI z7Y^MXKp^dFcWCqLWDeYh|A*qd3rXAx!!u(N_V>GHbR7Gv<>E%WHMl?eLAL>f_d<3= zBk2Z#r-TrLPLRA;^lPXT09)01*{!?sSGPHU&KLqmX`1i)g3-BKo|nMvM?dKDUmwM{ zZt%9?`hWx!&!Hyt@1)oS6 z!W4iAx8U7sk-HJxLTj__Wt=KSNBQijFh9Ka&G`f1ga7!?{s&S@Z&krMFz0_1SZm3R z*cgbcoeQ%>YmG5Z>asMb4j3Ww+Ihar5yG`Cr6ex|zr3FMvsK$lDYDAc5kg?LY7?t= z9Uz=`-~P01mMT+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58;KsUd(rQA$K!sj)oML>`0yd`UjgnSGbJ0~-x*hSxJ*FuW&j2yq#A5EM&DdlX7X9i;UMHp+y(ywr z9st~Z_>ke#e_wusSMdl6?Mza8&PH37*_DX0pIV9M<13}|{BjYz>z=`JEE+rJrMKRC zJHLMN0GiJ0AJ(JO zUp@J}@|TaSTkqiA`qT2j>4ZiL#%6JEmc8IsIL@?GUQEQuTG?l}&rSbqdA_l0bZPdP z$M?!hQsa8&^-h^#qDSG{Y;T({sFk|o-R|?}yg2&>lSv=wZ!#GKI*9Jfo{m@}>Mi6E zmdUkQv2nkT4{+B+BykV~w(Amx;VD3+roJhq%y)&n%D#aAkK|EP?Q&fPY{u5iAOTzy z!Wbzfwrl5g#hpPxkS`ws@RRr6doMlhn))CBLf`k*`1ts@w963~_xn@o0~x?rZf(|y zE)YUsNAX85_&ZIivOjAkjKbLG8iZklDsVxDi!u z^lzT~?|i5F+}W$*y0Ypx4ZyQ)do!)hg8Z)pFEGGndo{n(e>lNx0hPHLd5*9QUDIu>{= 1) { + x.visible = true; + bg.source = SkinBank.LIMIT_SKILL_DIR + "limit-used"; + } + } + } +} diff --git a/qml/Pages/RoomLogic.js b/qml/Pages/RoomLogic.js index 0905c888..69e6ac0e 100644 --- a/qml/Pages/RoomLogic.js +++ b/qml/Pages/RoomLogic.js @@ -996,3 +996,15 @@ callbacks["CustomDialog"] = (j) => { roomScene.popupBox.item.loadData(dat); } } + +callbacks["UpdateLimitSkill"] = (j) => { + let data = JSON.parse(j); + let id = data[0]; + let skill = data[1]; + let time = data[2]; + + let photo = getPhotoOrSelf(id); + if (photo) { + photo.updateLimitSkill(skill, time); + } +} diff --git a/qml/Pages/skin-bank.js b/qml/Pages/skin-bank.js index ecd03092..71c38db4 100644 --- a/qml/Pages/skin-bank.js +++ b/qml/Pages/skin-bank.js @@ -8,6 +8,7 @@ var STATUS_DIR = AppPath + "/image/photo/status/"; var ROLE_DIR = AppPath + "/image/photo/role/"; var DEATH_DIR = AppPath + "/image/photo/death/"; var MAGATAMA_DIR = AppPath + "/image/photo/magatama/"; +var LIMIT_SKILL_DIR = AppPath + "/image/photo/skill/"; var CARD_DIR = AppPath + "/image/card/"; var CARD_SUIT_DIR = AppPath + "/image/card/suit/"; var DELAYED_TRICK_DIR = AppPath + "/image/card/delayedTrick/";