Commit Graph

27 Commits

Author SHA1 Message Date
Shauren
b7d34dcb53 Cleaned up item flags: separated item proto flags and item field flags
Implemented use of:
ITEM_PROTO_FLAG_PROSPECTABLE and ITEM_PROTO_FLAG_MILLABLE now checked instead of bag family mask
ITEM_PROTO_FLAG_SMART_LOOT for profession recipes, player has to have skillline and not know the recipe
ITEM_PROTO_FLAG_OPENABLE item has to have it set to use item_loot_template
ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA if this is set item can never be used in arena
ITEM_FLAG_UNLOCKED marks unlocked items

Simplified BoA check for mail sending
Stackable items are no longer refundable
Removed useless code that always set ITEM_FIELD_FLAGS equal to proto flags
Unlocking items (lockpicking) is now blizzlike

--HG--
branch : trunk
2010-08-04 10:34:30 +02:00
click
049865129a Fix build
--HG--
branch : trunk
2010-08-03 13:18:13 +02:00
Shauren
4e624a1a8d Fixed Wolverine Bite damage (pet talent)
--HG--
branch : trunk
2010-08-03 12:31:51 +02:00
silinoron
e798097ae3 Move a couple of warrior spell dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-08-02 13:18:45 -07:00
silinoron
9d93ebc8b7 Move SPELLFAMILY_PALADIN dummy spell effects for Holy Shock, Blessing of Faith, and Judgement of Command to spell scripts.
--HG--
branch : trunk
2010-07-31 10:46:33 -07:00
QAston
48b360097c *use ASSERT macro instead of regular assert for better output.
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00
QAston
d666ba26c1 *Thread safe player searcher in scripts.
--HG--
branch : trunk
2010-07-30 15:51:07 +02:00
Shauren
045bf5163b Fixed spellpower coef for Lifebloom final heal
--HG--
branch : trunk
2010-07-28 12:57:00 +02:00
silinoron
c173e84f25 Move dummy effect handlers for all SPELLFAMILY_HUNTER dummy effect handlers but Scatter Shot to spell scripts.
--HG--
branch : trunk
2010-07-27 22:12:50 -07:00
silinoron
e7e49c56cf Cleanup the mage spell scripts, and move SPELLFAMILY_PRIEST and SPELLFAMILY_ROGUE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-27 21:12:40 -07:00
Shauren
51400a4e15 Moved few dummy spell handlers to database
--HG--
branch : trunk
2010-07-27 19:32:21 +02:00
silinoron
297b7aac1b Move SPELLFAMILY_MAGE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-26 19:05:20 -07:00
QAston
dd8d6701b8 *Implement RepRewardRate for spells.
--HG--
branch : trunk
2010-07-27 02:25:22 +02:00
QAston
7b87ab4de7 *Add more Player::CanUseAttackType checks in places where item bonuses are applied.
--HG--
branch : trunk
2010-07-26 16:08:55 +02:00
Shauren
32ceff1267 Modified spell_scripts table, it is now possible to add different scripts for each spell effect
Allow SPELL_EFFECT_DUMMY spells to use spell_scripts

--HG--
branch : trunk
2010-07-24 21:51:25 +02:00
click
8df1dba022 Fix: Do not ignore CD for Hunter-based triggered spells (and thanks to QAston for the spell-lesson)
Fixes 1155

--HG--
branch : trunk
2010-07-24 05:12:36 +02:00
Shauren
903a3cbe76 Shaman totem models are now different depending on race
--HG--
branch : trunk
2010-07-22 17:31:27 +02:00
Shauren
a23f4a0f45 sigh, i did the same compile error mistake
--HG--
branch : trunk
2010-07-22 13:02:47 +02:00
Shauren
f03d5a874b Add proper check to EffectQuestComplete preventing completion of quest if we already did that
--HG--
branch : trunk
2010-07-22 13:01:33 +02:00
QAston
34b75bca95 *Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.
--HG--
branch : trunk
2010-07-22 12:56:32 +02:00
QAston
002e6e1029 *Remove not needed dummy effect handler for spell 28006 - by azazel_kon
*Add CanCompleteQuest in Spell::EffectQuestComplete - thanks to azazel_kon for research.
*Fixes issue #3011

--HG--
branch : trunk
2010-07-22 12:48:11 +02:00
QAston
13a2a1afc6 *Fix amount calculation for spell effect with EffectDieSides set to 0.
--HG--
branch : trunk
2010-07-22 12:21:11 +02:00
QAston
dd89c54c6e *Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
QAston
c0f9ef6059 *Implement SPELL_EFFECT_CREATE_TAMED_PET(153).
--HG--
branch : trunk
2010-07-20 22:55:28 +02:00
QAston
a7c52864b4 *Implement SPELL_EFFECT_DISCOVER_TAXI(154).
--HG--
branch : trunk
2010-07-20 18:27:18 +02:00
QAston
b59b21fa69 *Implement SPELL_EFFECT_QUEST_START (150).
--HG--
branch : trunk
2010-07-20 16:11:49 +02:00
Xanadu
37c79360b4 Moved SpellEffects.cpp where it belongs.
--HG--
branch : trunk
rename : src/server/game/Spells/Auras/SpellEffects.cpp => src/server/game/Spells/SpellEffects.cpp
2010-07-20 05:21:15 +02:00