Commit graph

94 commits

Author SHA1 Message Date
DiSlord
b7c5513f2c Implement AURA_STATE_ENRAGE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:39 +03:00
DiSlord
45263d1424 Implement 3 TARGET_RANDOM_FRIEND_CHAIN_IN_AREA target type
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:11:57 +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
DiSlord
3f4821acfb [7156] More generic periodic aura work
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
VladimirMangos
100801b713 [7147] Check creature template type/family at server startup. 2009-01-23 01:28:05 +03:00
DiSlord
2a891a8c92 [7140] Implement 76 TARGET_DYNAMIC_OBJECT_COORDINATES
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 02:03:26 +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
ApoC
be051a706c [7112] Fixed glyphs apply on character load.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-19 02:10:06 +01: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
DiSlord
ba25093ef2 Implement AURA_STATE_FROZEN
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 01:17:00 +03:00
arrai
22db1a3d39 [7069] Implemented dismantling, engineer version of skinning 2009-01-11 20:58:23 +01:00
DiSlord
b968b36979 [7058] Add 669 summon type
Fix typo in mangosd.conf (by SergiK_KilleR)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 19:29:07 +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
ccdad44e6c Implement AURA_STATE_HEALTH_ABOVE_75_PERCENT use
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 17:22:24 +03:00
DiSlord
8caa11da65 [7035] Disable wrong use some spell effects (changed in 303)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 01:27:07 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
DiSlord
dc8649a86a [7008] Remove not used in 303 aura states from code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-02 23:44: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
arrai
e2b744f016 [6971] Implemented summon type 1161. This will fix spell 51533 2008-12-29 14:19:32 +01: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
DiSlord
15d809e61d Add/change some spell effect names, add/fix comments
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 01:43:23 +03:00
DiSlord
b64a8bd3fe Fix effect name from last commit 2008-12-20 22:46:11 +03:00
DiSlord
98c2cc9e7b * Remove/rename spell effects changed in 303
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 22:28:52 +03:00
VladimirMangos
09e8ea2ae6 Update effect 155 name -> SPELL_EFFECT_TITAN_GRIP 2008-12-14 22:18:00 +03:00
VladimirMangos
cb4d97ee1d Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
2008-12-14 20:51:27 +03:00
DiSlord
916bd178a2 * Fixed some comments in code
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:19:57 +03:00
tomrus88
0e0d721292 AuraConvertRune, EffectActivateRune, dunno if it's correct way to do that... 2008-11-30 16:16:00 +03:00
tomrus88
700d3cf609 Some work on Runic Power and Milling Spell Effect 2008-11-30 13:53:33 +03:00
tomrus88
5b5e266c17 Misc fixes 2008-11-22 09:04:10 +03:00
tomrus88
204b61c220 Added empty vehicle class, vehicle*.dbc struct's 2008-11-11 00:05:00 +03:00
tomrus88
6fae544fbe Merge branch 'master' into 303
Conflicts:
	src/game/WorldSocket.cpp
	src/shared/Database/DBCStructure.h
	src/shared/Database/DBCfmt.cpp
2008-11-10 01:10:52 +03:00
tomrus88
96f2b1d314 Load SummonProperties.dbc, data not used yet 2008-11-10 00:58:14 +03:00
arrai
8e54a3c1cf [6815] Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Original patch provided by mobel/simak 2008-11-09 20:44:53 +01:00
tomrus88
f6ff7b5a45 Updated some enums 2008-11-09 01:43:22 +03:00
tomrus88
7c73afbd22 Raid wide auras, untested 2008-11-08 16:44:10 +03:00
tomrus88
b2d24ba0f7 Packet fixes, pet spells 2008-11-04 18:25:35 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +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
6496f7499e Account data saving must work now 2008-10-28 01:44:27 +03:00
tomrus88
97bf2e7d68 Fixed windows build, account data should be saved server side now 2008-10-27 20:00:56 +03:00
tomrus88
df09909ec5 Updated rest of game stuff 2008-10-26 10:25:08 +03:00
VladimirMangos
6892cc3d2c [sql/updates/2008_10_21_03_mangos_command.sql]
slit ban/baninfi/banlist/unban commands to subcommands (this allow write not full subcomand string ".ban acc ...".
Fixed crash at unexpected use .account in console.
Fixed hide .gm on by .gm online (renamed to .gm ingame)
2008-10-22 00:51:49 +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