Skip to content

Commit

Permalink
updated with frenzy landing on npc
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomFaighter committed Oct 27, 2023
1 parent 9fb0d0c commit afc7e70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EverQuestDPSPlugin/EverQuestDPSPluginPartial2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public partial class EverQuestDPSPlugin : IEverQuestDPSPlugin
SettingsSerializer xmlSettings;
readonly object varianceChkBxLockObject = new object(), nonMatchChkBxLockObject = new object();
readonly string PluginSettingsFileName = $"Config{Path.DirectorySeparatorChar}ACT_EverQuest_English_Parser.config.xml";
readonly string attackTypes = "backstab|throw|pierce|gore|crush|slash|hit|kick|slam|bash|shoot|strike|bite|grab|punch|scratch|rake|swipe|claw|maul|smash|frenzies|frenzy";
readonly string attackTypes = "backstab|throw|pierce|gore|crush|slash|hit|kick|slam|bash|shoot|strike|bite|grab|punch|scratch|rake|swipe|claw|maul|smash|frenzies on|frenzy";

#endregion

Expand Down Expand Up @@ -162,6 +162,7 @@ private void ParseEverQuestLogLine(Match regexMatch, int logMatched)
if (ActGlobals.oFormActMain.SetEncounter(ActGlobals.oFormActMain.LastKnownTime, CharacterNamePersonaReplace(regexMatch.Groups["attacker"].Value), CharacterNamePersonaReplace(regexMatch.Groups["victim"].Value)))
{
Dnum damage = new Dnum(Int64.Parse(regexMatch.Groups["damageAmount"].Value));
String attackName = regexMatch.Groups["attackType"].Value == "frenzies on" ? "frenzy" : regexMatch.Groups["attackType"].Value;
MasterSwing masterSwingMelee = new MasterSwing(
EverQuestSwingType.Melee.GetEverQuestSwingTypeExtensionIntValue(),
regexMatch.Groups["damageSpecial"].Success && regexMatch.Groups["damageSpecial"].Value.Contains("Critical"),
Expand Down

0 comments on commit afc7e70

Please sign in to comment.