Commit graph

88 commits

Author SHA1 Message Date
tomrus88
8ffa79211b Merge branch 'master' into 308 2009-01-21 10:59:27 +03:00
DiSlord
ca7ac74134 Allow trigger from 10 and ranks Mage spell (work some talents)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:28:00 +03:00
VladimirMangos
ee6072f232 [7117] Implement explicit recipe discovery abilities.
* Implement SPELL_EFFECT_CREATE_ITEM_2 (157). This alos let work many item creating spells.
* Add `skill_discovery_template`.`reqClass` for allow clas specific racipes storing in table.
* Make primary key for `skill_discovery_template` pair (spellId,reqSpell) that allow have duplicate recipes for different reqSpells.
* Implement SPELL_EFFECT_SCRIPT (77) cases for explicit recipe discovery spells with learn spell selected by `skill_discovery_template` data.
Note: as expected explicit recipe discovery abilities always return some spell while exist any not learned yet for player class.
2009-01-20 00:07:43 +03:00
DiSlord
17004d59d4 [7111] Fixes in Spell Effect immunes
Correct totem immunes for dot/leech/Fear/Transform auras (immune only to effect)
Correct log if all effects immuned by Effect Immune
Move check for IMMUNITY_STATE to Unit::IsImmunedToSpellEffect

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:57:50 +03:00
DiSlord
c01fe58723 Implement some dummy triggers
Warior 42770, 58872 and ranks
Warlock 47230 and ranks, for 39372 use m_amount instead hardcoded value
Rogue 51669 and ranks, 51625 and ranks
Hunter:
 53290 and ranks (need handle regen amount for 57669)
 56342 and ranks (from periodic)
 53228 and ranks (only mana regen part)
Shaman:
 58877 (aura should on summoned wolf)
 51556 and ranks (need handle dummy for 52759)
 16180 and ranks, 51525 and ranks
Death Knight 50365 and 50371, 48979 and ranks, 49005, 61257, 49217

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:36 +03:00
DiSlord
17e2bcc81d Enable triger from rogue poisons (need for some talents)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:22 +03:00
DiSlord
7e6f7bf6e4 Fix/prevent cast if client send incorrect target for some spells
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:19 +03:00
DiSlord
7cded2ed9c [7091] Work vs spell attributes (compare 303 and 308)
Add some comments
Use correct flag for SPELL_ATTR_EX_NO_INITIAL_AGGRO

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 21:31:10 +03:00
VladimirMangos
633cad5a56 [7089] Implement ITEM_ENCHANTMENT_TYPE_USE_SPELL support.
This allow cast spells at item used from engineering recipes 54999, 54736, 54998, 55002, 55016, 54793.
2009-01-15 03:08:45 +03:00
tomrus88
77f11162dc Merge branch 'master' into 308 2009-01-13 20:08:41 +03:00
DiSlord
6d17820af2 Fix detect m_attackType for wands
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-12 21:18:55 +03:00
DiSlord
cb66f99fc2 Fix priest 47540 and ranks
Also stop chanelling mage AM/priest 47540 if target die
Set DK cast 52212 as triggered from aura.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 00:56:42 +03:00
DiSlord
71b33ca2f1 [7056] Proc system add
Add use autorepeat flag and set more corect triggers flag for ranged autorepeat spells
Restore work paladin 20210 and ranks after client switch
Add 6-7 scripted paladin shock spell (also add it in dummy and fix flag)
Hidden cooldown and hacky (need more fixes in triggers) fix for 33953
Remove not used code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 00:59:28 +03:00
DiSlord
93bcb0b91d [7036] Implement one warlock glyph
Restore build after prev commit

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 02:02:20 +03:00
DiSlord
d65458b0de [7025] Restore work/add new spell post effects
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 02:02:08 +03:00
DiSlord
4b9af01d42 [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-04 23:20:21 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
VladimirMangos
7e5c17b6c3 [7013] Rename recently added function for consistent with already existed. Use it for old cases. 2009-01-03 14:27:28 +03:00
DiSlord
ba5e3dabc6 [7012] Fix use SpellVisual data
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 13:08:04 +03:00
DiSlord
1f4b00a848 [7011] Add check Aura Spell req in Spell::CanCast
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 03:07:06 +03:00
VladimirMangos
c88dfbccb3 [7009] Fixed spell 6991 work.
Also fix max power limits in some miscvalue checks.
2009-01-03 00:08:36 +03:00
GriffonHeart
2441c2a69f [6997] Fixed: In 3.0.3 spell data have area group id instead area id.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-01 22:43:08 +03:00
VladimirMangos
f6bd9ef67a [6996] Fixed 56 target mode work for 3.0.3. This fix for example warrior spell 6673 and ranks. 2009-01-01 16:29:36 +03:00
VladimirMangos
896b10e39a [6995] Fixed spell casting with active auto-repeat ranged weapon. 2008-12-31 16:12:30 +03:00
GriffonHeart
948d76800d [6994] Fixing "create all" items crafting and possible other spells unexpected colldowns.
Note: auto-shoot still have problems with spell casting.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-31 15:07:00 +03:00
ApoC
321ea2d9b6 [6991] Fixed possible typo in setting cooldown for spells in same spell category.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-31 00:39:17 +01:00
megamage
61063ad94c [6988] Recheck UNIT_FLAG_NON_ATTACKABLE for delayed spells
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-31 00:26:32 +03:00
yad02
2b7004a0ab [6986] Remove outdated for 3.0.3 area mount limitation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-30 18:45:34 +03:00
DiSlord
a1494d29dc [6980] Add some fixes to trigger system
Allow proc from every kill
Fix (and remove hack) priest 32379 and rank (backfire damage after 1 sec)
Remove not need stack overflow protection

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:49:28 +03:00
ApoC
784cf098b0 [6968] Replace check for spell category removed in 3.0.x with spellid.
Should fix not interrupting wand casting by other spell cast.

Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 00:57:45 +01:00
tomrus88
ec744de8f0 Merge branch 'master' into 308
Conflicts:
	src/game/Spell.cpp
2008-12-29 00:50:48 +03:00
DiSlord
7a9346fe3d Prepare for master tree
Remove some unused in 303 data from table
Fix some table data
Fix send (change in 303) SMSG_SPELLDAMAGESHIELD opcode

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 00:10:48 +03:00
DiSlord
30908fb5ff Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-27 18:29:03 +03:00
VladimirMangos
9c5dab1248 [6953] Cleanup packed guids write/read code.
* Remove unused function writeGUID and move function readGUID (with some changes) to ByteBuffer class.
* Remove now empty Tools.cpp/Tools.h from project.
2008-12-27 17:27:20 +03:00
Sarjuuk
2476ce7f72 [6951] Ignore oudated from behind facing requirement in flags for spell 9005 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 13:46:01 +03:00
tomrus88
a38078d0c2 Some 308 changes 2008-12-26 14:21:42 +03:00
DiSlord
bae58eb069 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-23 18:03:21 +03:00
VladimirMangos
65339d1c0b Restore build. 2008-12-22 06:48:23 +03:00
DiSlord
213a10dcbd Implement 277 SPELL_AURA_MOD_MAX_AFFECTED_TARGETS
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-17 01:52:10 +03:00
DiSlord
2c1f19d997 Implement 275 SPELL_AURA_MOD_IGNORE_SHAPESHIFT
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-17 00:46:53 +03:00
VladimirMangos
fc684dc737 Simplify check in reagent cheking code. Small code cleanups after recent commit. 2008-12-16 19:19:31 +03:00
DiSlord
f1cc9dc319 * Add some aura names and comments
* Implement 256 SPELL_AURA_NO_REAGENT_USE aura
* Move no reagent check to Player::CanNoReagentCast
* Add some func for get/check SpellClassMask (used in some new aura/effect)

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 18:24:30 +03:00
tomrus88
4f55ef857a Merge branch 'master' into 303
Conflicts:
	src/game/MovementHandler.cpp
2008-12-13 23:16:44 +03:00
arrai
d97a8d33b9 [6905] Fixed items with both healing and energizing effects
Store fall information also at MSG_MOVE_FALL_LAND
2008-12-13 19:05:42 +01:00
DiSlord
6c02f00a93 Merge branch 'master' of git@github.com:mangos/mangos.git into procflag 2008-12-12 01:34:09 +03:00
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +03:00
tomrus88
ef69f6b80c Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/shared/revision_nr.h
2008-12-09 00:32:47 +03:00
DiSlord
c78b5644c7 [6874] * Not remove spell mods for not finished spells
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-09 00:28:25 +03:00
DiSlord
9b842b6fdc Work under spell mods
* Add support > 64 bit spellFamily mask
    * Remove not used fields in SpellModifier
    * Remove not used (and not correct work vs charges) GetTotalFlatMods, GetTotalPctMods
    * Use DBC based data for spell_affect
    * More better work SPELL_AURA_ADD_TARGET_TRIGGER aura

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:22:39 +03:00