diff options
| author | Brian <runningnak3d@gmail.com> | 2009-12-21 14:48:30 -0700 |
|---|---|---|
| committer | Brian <runningnak3d@gmail.com> | 2009-12-21 14:48:30 -0700 |
| commit | 36d30faabf6716e585ebbbfce30577bb143a0481 (patch) | |
| tree | 890174d89153a18fcc10b916592e3c3644e02e48 /src/game/QuestDef.h | |
| parent | 6b9d05c315c23d37eb41580805465394b3378b99 (diff) | |
* Add support for RewSpellCast=-1. If -1 remove all auras applied to player at
* quest start.
* Patch by Kudlaty -- THANK YOU!
--HG--
branch : trunk
Diffstat (limited to 'src/game/QuestDef.h')
| -rw-r--r-- | src/game/QuestDef.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
