|
1 | 1 | using GW2Scratch.EVTCAnalytics.Events; |
| 2 | +using GW2Scratch.EVTCAnalytics.Model.Skills; |
2 | 3 | using GW2Scratch.EVTCAnalytics.Parsed.Enums; |
3 | 4 | using System; |
4 | 5 | using System.Collections.Generic; |
@@ -263,6 +264,8 @@ private static IEnumerable<StateChange> GetDirectStateChangesForEventType(Type e |
263 | 264 |
|
264 | 265 | if (eventType == typeof(RewardEvent)) return [StateChange.Reward]; |
265 | 266 | if (eventType == typeof(RateHealthEvent)) return [StateChange.TickRate]; |
| 267 | + if (eventType == typeof(StatResetEvent)) return [StateChange.StatReset]; |
| 268 | + if (eventType == typeof(LogNPCUpdateEvent)) return [StateChange.LogNPCUpdate]; |
266 | 269 |
|
267 | 270 | if (eventType == typeof(CrowdControlEvent)) return []; |
268 | 271 |
|
@@ -342,6 +345,8 @@ private static bool IsDirectBuffDamage(Type eventType) |
342 | 345 |
|
343 | 346 | if (eventType == typeof(RewardEvent)) return false; |
344 | 347 | if (eventType == typeof(RateHealthEvent)) return false; |
| 348 | + if (eventType == typeof(StatResetEvent)) return false; |
| 349 | + if (eventType == typeof(LogNPCUpdateEvent)) return false; |
345 | 350 |
|
346 | 351 | if (eventType == typeof(SkillCastEvent)) return false; |
347 | 352 | if (eventType == typeof(EndSkillCastEvent)) return false; |
@@ -417,6 +422,8 @@ private static bool IsDirectSkillCast(Type eventType) |
417 | 422 |
|
418 | 423 | if (eventType == typeof(RewardEvent)) return false; |
419 | 424 | if (eventType == typeof(RateHealthEvent)) return false; |
| 425 | + if (eventType == typeof(StatResetEvent)) return false; |
| 426 | + if (eventType == typeof(LogNPCUpdateEvent)) return false; |
420 | 427 |
|
421 | 428 | if (eventType == typeof(SkillCastEvent)) return false; |
422 | 429 | if (eventType == typeof(EndSkillCastEvent)) return true; |
@@ -492,6 +499,8 @@ private static IEnumerable<Result> GetDirectPhysicalResultsForEventType(Type eve |
492 | 499 |
|
493 | 500 | if (eventType == typeof(RewardEvent)) return []; |
494 | 501 | if (eventType == typeof(RateHealthEvent)) return []; |
| 502 | + if (eventType == typeof(StatResetEvent)) return []; |
| 503 | + if (eventType == typeof(LogNPCUpdateEvent)) return []; |
495 | 504 |
|
496 | 505 | if (eventType == typeof(SkillCastEvent)) return []; |
497 | 506 | if (eventType == typeof(EndSkillCastEvent)) return []; |
|
0 commit comments