Commit graph

498 commits

Author SHA1 Message Date
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
balrok
2e08a63da7 [6884] Replaced iterator++ with ++iterator in for-loop-headers
i used this script
for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\
    *)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done
for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done

and rechecked it with my eyes, if everything is right
i took only for-loops cause they can be gathered easier with a script

Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-07 19:49:45 +01:00
DiSlord
d3b4b341a0 [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-06 01:26:47 +03:00
tomrus88
a2503162fc Fixed possible crash 2008-12-03 00:27:33 +03:00
tomrus88
84f43e60ab Fixed crash 2008-12-02 15:20:10 +03:00
tomrus88
b37ccbd08b Rune cooldowns, still bugged for some unknown reason :( 2008-12-01 19:31:47 +03:00
tomrus88
60b8f30898 Rune system fix, dk crash fix 2008-12-01 08:19:26 +03:00
tomrus88
e556b67ddc Fixed compile errors 2008-11-30 17:04:36 +03:00
tomrus88
54c1585cdf Small fix 2008-11-30 14:59:35 +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
tomrus88
700d3cf609 Some work on Runic Power and Milling Spell Effect 2008-11-30 13:53:33 +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
8e32c8ca76 Speedup map checks 2008-11-19 21:55:19 +03:00
tomrus88
c0c0c9c776 barber shop race/gender checks, fly check for map 571 2008-11-19 01:00:41 +03:00
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01:00
arrai
e69e5d8336 Implemented ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS
Use correct locale in SMSG_RESURRECT_REQUEST
2008-11-16 18:51:17 +01:00
arrai
681cc6ecf4 Fixed SMSG_RESURRECT_REQUEST for NPC resurrection 2008-11-16 13:00:59 +01:00
tomrus88
efdb8e01dd Removed direct use of some updatefields 2008-11-15 22:04:00 +03:00
tomrus88
50e538c32f Merge branch 'master' into 303 2008-11-09 11:37:52 +03:00
arrai
73e595ef87 Implemented some spell achievements 2008-11-09 01:31:12 +01:00
DiSlord
eb05f7d5eb Merge branch 'master' of git@github.com:mangos/mangos 2008-11-09 01:53:44 +03:00
DiSlord
540a05322f * Fix reset combopoints on miss/parry/immune and etc. 2008-11-09 01:53:03 +03:00
tomrus88
7974d1cb94 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
ApoC
9284058126 Do not check LOS for triggered spells.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-08 01:08:30 +01:00
VladimirMangos
4476d483d4 Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +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
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01: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
arrai
3d86187c4a Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM
Added basic support for timed achievements
2008-11-04 00:54:29 +01:00
tomrus88
5114c17da2 Packet fixes 2008-11-03 18:58:32 +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
VladimirMangos
ed7390dede Instead mark spell as delatable mark it as executed and referenced from Unit current spells array and not deleted spell in like cases.
This is solve crashs if spell deleted at caster die in result triggered spells casting chain from currently executed spell.
2008-11-03 01:48:14 +03:00
tomrus88
cffc766fb6 Merge commit 'origin/master' into 303
Conflicts:
	src/game/SpellEffects.cpp
	src/game/World.cpp
2008-11-01 08:10:24 +03:00
VladimirMangos
41b876b395 [2008_10_31_01_mangos_creature_template.sql] Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.
2008-10-31 20:45:22 +03:00
tomrus88
629da9de32 Updated spells stuff 2008-10-26 10:15:52 +03:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00