fixed an issue with MM skill placeholders

This commit is contained in:
Jules 2021-12-16 13:40:33 +01:00
parent 270389cf8f
commit 164fd9c5c8

View File

@ -70,7 +70,7 @@ public class MythicMobsAbility extends Ability<MythicMobsAbilityMetadata> {
// Stats are cached inside a variable // Stats are cached inside a variable
skillMeta.getVariables().putObject("MMOStatMap", attackMeta.getStats()); skillMeta.getVariables().putObject("MMOStatMap", attackMeta.getStats());
skillMeta.getVariables().putObject("MMOSkill", data.getAbility()); skillMeta.getVariables().putObject("MMOSkill", data);
return new MythicMobsAbilityMetadata(data, skill, skillMeta); return new MythicMobsAbilityMetadata(data, skill, skillMeta);
} }