From 758aff6fe706a84b6d57530ba6e9c6f89ee70030 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sun, 14 Jan 2018 21:50:53 +0200 Subject: [PATCH] Fix TC build after https://github.com/TrinityCore/TrinityCore/commit/3b01cccd7eafaff9f3b8236a544e4fa46818926c --- UnitMethods.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnitMethods.h b/UnitMethods.h index d14c5d3..25550b0 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -2371,11 +2371,11 @@ namespace LuaUnit #ifdef TRINITY CastSpellExtraArgs args; if (has_bp0) - args.SpellValueOverrides.AddMod(SPELLVALUE_BASE_POINT0, bp0); + args.AddSpellMod(SPELLVALUE_BASE_POINT0, bp0); if (has_bp1) - args.SpellValueOverrides.AddMod(SPELLVALUE_BASE_POINT1, bp1); + args.AddSpellMod(SPELLVALUE_BASE_POINT1, bp1); if (has_bp2) - args.SpellValueOverrides.AddMod(SPELLVALUE_BASE_POINT2, bp2); + args.AddSpellMod(SPELLVALUE_BASE_POINT2, bp2); if (triggered) args.TriggerFlags = TRIGGERED_FULL_MASK; if (castItem)