Commit graph

99 commits

Author SHA1 Message Date
GriffonHeart
1f54ffd398 [7172] Implement area requirements for spell 54119.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 10:44:31 +03:00
VladimirMangos
bbf8fd0742 Not store dependent spells in character_spell
* Mark spells learned in result character creating, another spell learning, skill grow,
  quest reward as dependent and not store its in `character_spell`.
* Prevent re-learning known spell in expected state
* Prevent re-learning low rank spell as active if higher rank known.
* New type of non-stacked ranked spells check: skill dependent spell bonuses.
* Activate (show propetly and cast if need) lesser spell rank
  for non-stackable in spellbooks spells at unlearn high rank
2009-01-24 12:03:43 +03:00
DiSlord
abaa111eaa [7159] Allow GO cast as need (use go coordinates for target select in some cases)
Fixed work all Huter traps target selection
More check in ObjectAccessor::Get Object
More generic work 22 TARGET_CASTER_COORDINATES target type

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 03:44:45 +03:00
begemot
9bede601a2 [7151] Startup log cleanup and beautification.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 04:29:35 +03:00
freghar
11ed0e99a8 [7146] Trailing whitespace code cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
ApoC
e3ccd4b4b7 [7106] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 19:54:27 +01:00
DiSlord
39754133aa Code for Diminishing Returns optimize
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-18 21:08:28 +03:00
DiSlord
9f08095c26 Allow stack passive and not passive auras in all cases
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:12 +03:00
VladimirMangos
950df723d7 [7083] Implement support for cast-spells in trainer lists for riding also. 2009-01-14 02:41:19 +03:00
DiSlord
bdac9e6e8f [7073] Better detect hunter aspect/tracker spells (also fix it)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-12 21:29:53 +03:00
VladimirMangos
f956a3bf10 [7067] Move inactive form/stance passive spells from playercreateinfo_spell to spell_learn_spell with active field.
This let have in `playercreateinfo_spell` only expected at character creating spells for simplify updating.
2009-01-11 02:09:03 +03:00
Turk3y
9f5eee701a Fixed typo in SpellMgr::GetSpellAllowedInLocationError. This should fix problems with flasks and elixirs using.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-07 04:16:08 +01:00
DiSlord
b6efea176d [7034] Add support 96 bit spell family mask to triggers
Some fix/add data in table (about 100 records)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 00:26:58 +03:00
VladimirMangos
76997d823e Delete spell_chain query result more early. 2009-01-04 23:29:23 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
DiSlord
ba5e3dabc6 [7012] Fix use SpellVisual data
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 13:08:04 +03:00
VladimirMangos
4dbb744af4 [7006] Implement area limitations for spell 51721 (and auto apply for this in area) and 54055. 2009-01-02 19:32: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
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
VladimirMangos
5793ae28ea [6969] Prevent stacking presence auras. 2008-12-29 04:46:03 +03:00
DiSlord
963c6e5cf7 [6967] Fix paladin seal and blessing family mask
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:58:48 +03:00
DiSlord
fd5a994659 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-28 00:41:47 +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
VladimirMangos
95a874ec49 [6956] Fixed pet spell learning broken in [6947]. 2008-12-27 22:48:00 +03:00
DiSlord
30908fb5ff Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-27 18:29:03 +03:00
VladimirMangos
3c774f9c68 [6947] Fixed learning some spells triggred by learning another spell.
At prepering learning spell dependences at server load mark
as auto-learned spells from DBC data only leraned
from telents/passive/skill-setting spells.
Expected "regression": if player learn "learning spell" then
he will always auto-learn spell learned by this "learning spell" also.
2008-12-26 11:54:58 +03:00
DiSlord
bae58eb069 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-23 18:03:21 +03:00
tomrus88
4c258e20a1 Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
VladimirMangos
771f9b2375 [6916] Fixed typos in spell checking code. 2008-12-18 03:14:10 +03:00
DiSlord
6c02f00a93 Merge branch 'master' of git@github.com:mangos/mangos.git into procflag 2008-12-12 01:34:09 +03:00
VladimirMangos
6cee03bae0 Fixed build after merge. 2008-12-09 08:28:42 +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
tomrus88
ee7f7a0a08 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/mangosd/mangosd.conf.dist.in
2008-11-30 14:05:56 +03:00
Malah
5f33f4abf4 [6860] Implement correct effects stacking and zone limitations for item 34537.
Signed-off-by: Malah <Backbone@getmangos.com>

C++ code part rewrited for more correct work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 04:18:14 +03:00
DiSlord
4a07c0c6c2 Apply procPatch 2008-11-26 22:23:10 +03:00
tomrus88
7c73afbd22 Raid wide auras, untested 2008-11-08 16:44:10 +03:00
tomrus88
78ec66babc Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	contrib/extractor/ad.exe
	src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
tomrus88
ca8180ecd1 Futher pet spell work 2008-11-06 13:22:43 +03:00
VladimirMangos
88b1974df6 Fixed warnings, unused code and typos.
Including fix  _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
tomrus88
3e8ebb024f Fixed: pet spells, possible sql injection, increased sql query size once again 2008-11-04 18:25:37 +03:00
tomrus88
11d5269853 Compile fix 2008-11-04 18:25:36 +03:00
tomrus88
b2d24ba0f7 Packet fixes, pet spells 2008-11-04 18:25:35 +03:00
tomrus88
9cc6f1f3ec Merge branch 'master' into 303
Conflicts:
	src/game/Level2.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-03 14:44:58 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +03:00
hunuza
fa37c291d6 Replace some PQuery() calls with more simple Query() 2008-11-02 23:22:18 +01:00
tomrus88
629da9de32 Updated spells stuff 2008-10-26 10:15:52 +03:00
VladimirMangos
f187226451 Correctly limit use some flask types to zones.
Typo in IsSpellAllowedInLocation.
2008-10-25 08:11:41 +04:00
VladimirMangos
d1ebd52390 * [2008_10_19_01_mangos_spell_affect.sql] List fake data for last spells expected to listed in spell_affect and enable post-loading check for spell-affect data. 2008-10-19 08:18:29 +04:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00