From ef1b7db4392f30d2e937dd008b4d3157e32d29c2 Mon Sep 17 00:00:00 2001 From: K4ryuu <104531589+K4ryuu@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:41:16 +0100 Subject: [PATCH] fix: 0 / 0 informations --- build/K4ryuuDamageInfo/K4ryuuDamageInfo.dll | Bin 12288 -> 12288 bytes build/K4ryuuDamageInfo/K4ryuuDamageInfo.pdb | Bin 12836 -> 12836 bytes src/K4ryuuDamageInfo.cs | 5 ++--- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/K4ryuuDamageInfo/K4ryuuDamageInfo.dll b/build/K4ryuuDamageInfo/K4ryuuDamageInfo.dll index 8fe594108f815e8ed6b1366ceea0f135dbe6e9bb..89d2d4401b08928788745b03b4c8a45f596b932c 100644 GIT binary patch delta 1744 zcmZ`(TTC2f6h3EmXLe`y(!E20R$vzxHc+XHT}rvMauW*_%0&4WhSe9;=4_N57}2Jp;3Ln~G%+4G<8@}K$7 znVB8y8|yoH!n#?V`+e$_3}K~q>Z1;vVTgI+#TtM%mL(LhF3dwKJBFhh7i)oE4^tFC zgqbKnARPdiH$R?i78V3-V>#l3!Au0OXmJ1~ROGa1C3;f9o)ou@Zl|=+D~!khRyk2h zNZUcdB(yThZCbf*N?FGxasec*;vQ=yF*#Z`iN^gpwJ_!DwrYkaLcE`)Ni`|@xr{?u zv?|KAjUx$DSsCBfuXr&n_T0I57wPaeiSk*^# zB>F^kx1LCn?3EG?x~-8y={T7ruOyokTb45TGz#kfd0MZ;yDupI7peEa+w|N1OX1Dg z4TVbRQ(mh}P@k&2uC75A6MMI?d}q7i=L#>Z$Z8Xn@H@Pc+Qh!GMR5;XvK>rsCQ{u) z!RI>i2f$%9h38(U*212%Z^FIov|T0doc;g34#V5Jm$u%WSSz7i8fhD?rH#w0t3SJa z)|HR~kgf%Y`;neVyRNwn4Oc?;JDSml*1=}w=8{LrRhTV|&{nH8kwwoy>m*7Tap;8F zMY;BvPFU465>2Dl&B~Ni>}KssDaD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Gsdk zw=uMACxK3yOxStg+-GurGa`uw3!r<%^Q@&{6QHn}$^83XZ-(-G2K~KqIS!O^q z=O3+4Q;>KXV2<8H(r+I*^w<-F8F^Ea1prs+E+#tLAxIx1NLZq|Gez?cabfx!aX_T} z7x0Ym2hL+__Ork~WN3-1pmWzx<^$k?BgHb$r1y6*7<_Gfls-SeVFii1Wr z&GMn6JjZR(5kfGlqDk1G&9E?3RVd|>Ukx2>*q)2LFG3n^=yIdi0g3B#qiG|J5g2r% z_YH&y9O%x4Dop{5x};1~026K`(-go_H`2^BMq$d00wzKfj^`qkg?d8z_1W)3s}VmJ zetVt2+bX9DsU2Vv_K#)=i1LTk_UGV9BM2i(Gola^|I*?tgiE}YY#6S2 zs&Pcx>~!RDWTqt|(KoSPd=PyjJ5YGq^bQV;^rbQna^WwU73YgiVpVp3aSDSUwl>xc zOdj9%e4+DA)6dPTvvY}REYjl0Y%mJKJkz4^Z8Ty@u{LHUdev#tif!c;zl0x)@DPiuHjUb F@ehH}L#6-# diff --git a/build/K4ryuuDamageInfo/K4ryuuDamageInfo.pdb b/build/K4ryuuDamageInfo/K4ryuuDamageInfo.pdb index 9b02c682a4f8a77d7496c42a33bfcfa196787281..eb06284b4c09ed8a1000c1a4b28d29cb96d28681 100644 GIT binary patch delta 217 zcmZ3IvLt0fjmR6Dn!x@qA?{nIG9PI9Yg;g>DeT9@2`Y>!8@CoS@rE!mFo-j-GH^36 zGK6h5W!7R=5PKudlg$`6HTYy(?2+AjWW)HyTLL(k3Rhof-d418=ikZoZ1M`>RzEpr z`e_=@j9I;0#GqU$;Ly3W)8g*N8cS*~^0-N6Y~IHyDKc8n7z uw;C!lE}Xp5(7}3_Bs&8G153j$IS9R521+YJ=mSvs15o*cq7dX(xh~fUk2`Y@K8@CoS@p>^bFo-j-GH^36 zGWcvZW!7R=5MQ5h`S5ikZ-KY(j2G&A%r&dJ-{qTNU94>Q`@`+ "Damage Info"; - public override string ModuleVersion => "1.1.0"; + public override string ModuleVersion => "1.1.1"; public override string ModuleAuthor => "K4ryuu"; private Dictionary playerDamageData = new Dictionary(); public Dictionary> playerDamageInfo = new Dictionary>(); @@ -23,7 +23,7 @@ public override void Load(bool hotReload) CCSPlayerController attackerController = @event.Attacker; int targetId = @event.Userid.UserId ?? -1; - if (attackerController.IsValid && !attackerController.IsBot) + if (attackerController.IsValid && (@event.DmgHealth > 0 || @event.DmgArmor > 0)) { if (CFG.config.RoundEndPrint) { @@ -117,7 +117,6 @@ internal class DamageData private Dictionary damageInfo = new Dictionary(); private Dictionary lastUpdateTime = new Dictionary(); - public void UpdateDamage(CCSPlayerController attackerController, int targetId, int damageHP, int damageArmor, int Hitgroup) { if (!damageInfo.ContainsKey(targetId))