From 36d30faabf6716e585ebbbfce30577bb143a0481 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 21 Dec 2009 14:48:30 -0700 Subject: * Add support for RewSpellCast=-1. If -1 remove all auras applied to player at * quest start. * Patch by Kudlaty -- THANK YOU! --HG-- branch : trunk --- src/game/QuestDef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/QuestDef.h') diff --git a/src/game/QuestDef.h b/src/game/QuestDef.h index 180ec4c5091..31b17505fe9 100644 --- a/src/game/QuestDef.h +++ b/src/game/QuestDef.h @@ -216,7 +216,7 @@ class Quest uint32 GetRewMoneyMaxLevel() const { return RewMoneyMaxLevel; } // use in XP calculation at client uint32 GetRewSpell() const { return RewSpell; } - uint32 GetRewSpellCast() const { return RewSpellCast; } + int32 GetRewSpellCast() const { return RewSpellCast; } uint32 GetRewMailTemplateId() const { return RewMailTemplateId; } uint32 GetRewMailDelaySecs() const { return RewMailDelaySecs; } uint32 GetPointMapId() const { return PointMapId; } @@ -311,7 +311,7 @@ class Quest int32 RewOrReqMoney; uint32 RewMoneyMaxLevel; uint32 RewSpell; - uint32 RewSpellCast; + int32 RewSpellCast; uint32 RewMailTemplateId; uint32 RewMailDelaySecs; uint32 PointMapId; -- cgit v1.2.3