Commit graph

469 commits

Author SHA1 Message Date
frcoun
147c250a56 [9121] Implement dummy effects for spell 50926,51026,51592 and 51961
Note: Some adjustments in addition to original patch, using delay despawn.
Also provide sql update for proper work of affected spells (if already exist in database).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 21:34:43 +01:00
NoFantasy
e568293d2c [9106] Add script effect for spell 47097
Also add areaflag hack to detect correct areaId

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-03 03:37:02 +01:00
awpolt
4b0ceaeb6b [9092] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-01 14:08:59 +03:00
NetSky
2087aa2876 [9091] Add max targets limit for spell 34861 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also implement glyph 42396 work for referenced spells.
2009-12-31 19:18:38 +03:00
VladimirMangos
7d0a830bd4 [9076] Another SPELL_EFFECT_PLAYER_PULL problem fix.
If base points porvided then this is _max_ pull distance, not direct distance.
2009-12-27 23:47:47 +03:00
FunkyBit
41df9cd9ab [9075] Fixed direction of move for SPELL_EFFECT_PLAYER_PULL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-27 22:43:48 +03:00
nos4r2zod
d990644151 [9057] Implement some damage related spell attributes support.
* SPELL_ATTR_EX4_STACK_DOT_MODIFIER
* SPELL_ATTR_EX6_NO_DMG_PERCENT_MODS

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-24 18:31:03 +03:00
MrLama
d432c34307 [9045] Implement talent 48539 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also some typos in mangos.sql field order fixes (sql updates in past ahe been correct)
2009-12-22 00:16:31 +03:00
goldberg002
817ffb7a8d [9042] Remove double apply bonuses for spell 635/31935 and ranks
One time in code and second time by DB data.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-21 01:51:53 +03:00
Maxxie
f71c4bf3ae [9030] Fixed: remove spell 30451 and ranks buffs stack at another arcane spells.
(cherry-picked from commit 8dbbc7b)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 23:47:07 +03:00
j4r0d
d560c657d8 [9029] Fixed spell 0451 and ranks buff apply.
In fact drop now wrong redundent code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 22:32:58 +03:00
VladimirMangos
ff229af00a [9027] Restore spell bonus apply to dot damage for 17962 damage calculation.
In fact reverting wrong part of my one from prev. commits.
2009-12-19 21:45:18 +03:00
fisherman
aeaa5026f5 [9024] Fixed RAP bonus percent for spell 56641 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 04:16:51 +03:00
VladimirMangos
29a096a348 [9023] Fixed some hunter sting affects.
* spell 1978 and ranks RAP bonus
* spell 53209 affect from spell 3034 dot.
2009-12-19 02:51:14 +03:00
VladimirMangos
6b78ed534d [9020] Re-implement 1680 (and triggred spell for 46924) in less hack way. 2009-12-18 06:20:35 +03:00
VladimirMangos
71f8f1b5a1 [9015] Fixed spell 34914 ranks dispel damage and spell 29722 and ranks bonus damage.
In both cases not expected additional spell damage bonus apply.
2009-12-17 22:11:42 +03:00
VladimirMangos
562ad128d3 [8999] Make creature wild summoned by item 49040
This make it usable by other players, not only owner.
Also sort summon types by value in switch.
2009-12-16 13:59:06 +03:00
VladimirMangos
e17d3043ea [8997] Implement SUMMON_PROP_TYPE_REPAIR_BOT(12) support
Used only for item 49040 summon. Need DB support for proper work summoned creature.
2009-12-16 01:28:21 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00
VladimirMangos
ed7d561597 [8963] Make bindpoint field private and add required functions for use. 2009-12-10 12:22:17 +03:00
Quriq14
8d519d7219 [8953] Apply spell mutiplier to final damage for health calculation in Spell::EffectHealthLeech.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 00:29:55 +03:00
qsa
ffca4301d0 [8944] Use DBC data for summon effect functionality.
Also some more local fixes:
* Alow multiply same type guardians req. for some spells.
* Apply spell duration mods to summons

Many summon spells must start work.

Great work qsa! :)

Thanks The_Game_Master for updaing patch to recent sources.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 23:40:10 +03:00
Nick Nitro
65f1d6ba14 [8941] Limit used energe as expected for spell 22568 and ranks.
Thanks also to Sarjuuk for code simplification.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 18:08:02 +03:00
VladimirMangos
4ee8cb3504 [8937] Small lost change, just more correct code by form. 2009-12-07 14:47:24 +03:00
VladimirMangos
b0a6993031 [8936] Implement spell 48743 2009-12-07 14:12:47 +03:00
QAston
8b0ce112ba [8922] Implement telant 46859 and ranks additional debuff apply.
Thanks to xXxRRLxXx and KAPATEJIb for patch prepering.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 02:52:44 +03:00
nos4r2zod
bfaeddbc4b [8921] Implemement talent 53583 and ranks refresh part for spell 54428
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 01:14:32 +03:00
VladimirMangos
f8d0496407 [8915] Fixed rage calculation for spell 5308 and ranks. 2009-12-04 04:53:29 +03:00
VladimirMangos
76ad6efef0 [8913] Fixed typo in recent Spell::EffectDispel code changes.
Also some code cleanup.
2009-12-03 13:46:44 +03:00
VladimirMangos
94147f2b5a [8910] Implement spell 62124 damage part. 2009-12-03 02:03:49 +03:00
VladimirMangos
03e16dd08b [8905] Dispel work with aura stacks fixes.
* Implement set of remove aura functions for remove single aura from stack.
  Also some order function declarations for more clear show different aura remove functions.
* Change Spell::EffectDispel to dispel single aura instead all similar auras from caster.
2009-12-02 22:07:50 +03:00
VladimirMangos
68581bd918 [8901] Implement rage save part of talent 29723 buff and ranks.
Original patch provided by Wojta with improvments from darkstalker.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add `spell_check` data for code changes.
2009-12-01 16:39:27 +03:00
LordJZ
47cda41d93 [8879] Re-implement buff selection for item 47499.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-27 14:42:10 +03:00
VladimirMangos
ce92d2e1d2 [8877] Revert "[8876] Fixed spell 724 and ranks."
This reverts commit 5b96e3a2250755dec615e683c54a2ed056739370.

Spells expected summon creatures. This proved by related data.
2009-11-26 11:58:45 +03:00
pasdVn
949dae6d1c [8876] Fixed spell 724 and ranks.
Required Db support (gameobject templates)

(backported from commit 6a4fd16)
2009-11-26 02:44:52 +03:00
Splinter
e636d63fdb [8869] Implement talent 15273 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add data for SpellEffect.cpp last weeks changes to `spell_check` table.
2009-11-24 12:34:48 +03:00
Splinter
487a8de692 [8843] Drop support removed in 3.2.x spells 31892, 53720.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-20 13:19:41 +03:00
Splinter
55e715dddd [8824] Implement 3.2.x changes for spell 5308 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-17 08:39:37 +03:00
balrok
6199396b69 [8821] removed some redundant player->SaveToDB calls
SaveToDB will already be called at "SpawnCorpseBones"
so no need to do this twice
2009-11-15 20:08:57 +01:00
Splinter
22fb22ee5e [8800] Implement item 47499 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-10 21:24:49 +03:00
XTZGZoReX
0734adb746 [8789] Rename several singleton macros to use more consistent names.
* objmgr -> sObjectMgr
 * spellmgr -> sSpellMgr
 * WaypointMgr -> sWaypointMgr
 * poolhandler -> sPoolMgr
 * objaccessor -> sObjectAccessor
 * mapmgr -> sMapMgr
 * sInstanceSaveManager -> sInstanceSaveMgr
 * ticketmgr -> sTicketMgr
 * CreatureEAI_Mgr -> sEventAIMgr
 * auctionmgr -> sAuctionMgr
 * achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
XTZGZoReX
1f23884757 Don't use singleton to access static functions.
* This affects especially ObjectMgr functions:
   - GetCreatureInfo
   - GetGameObjectInfo
   - GetInstanceTemplate
   These are in fact static functions.
2009-11-08 03:54:27 +01:00
VladimirMangos
1b6176396e [8747] Implement player's pet resilience, also fix DoT case. 2009-10-29 04:34:57 +03:00
VladimirMangos
9e4b833054 [8734] Re-implement talent 31789
* Allow apply to enemies of attacked party member
* Correctly apply effect to 3 attackers
2009-10-25 10:18:48 +03:00
ApoC
00c2035cc7 [8730] Fixed spell 51770 after my recent changes in auras trigger system.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-25 03:33:09 +01:00
VladimirMangos
d7ae5e3af0 [8718] Remove most GetObjectInWorld functions and move some map local to Map
Also mape pet guid counter per-map (in different expecte to be global pet number)
2009-10-24 01:16:40 +04:00
ApoC
40b0a2cd92 [8717] Fixed SPELL_EFFECT_TAMECREATURE broken after [8686]
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-23 22:31:16 +02:00
AlexDereka
f286a2e64e [8715] Fixed possible crashes and some typos 2009-10-23 17:09:51 +04:00
VladimirMangos
d482193cea [8705] Move DynamicObject guid counting from global levle to map.
This is first step in guid counting for map local object types at map level.
Map local countin let
1) have more wide guid space and then more seldom have problems with guid counter overflow
2) possible implement (later) restart map at guid overflow without server shutdown.
3) let use static guids (not for DynamicOPbject that not stored in DB anyway) in instances instead dynamic allocated.
2009-10-22 06:49:35 +04:00
m4cm4n
aa87b7007c [8675] Implemented dummy effects for spells 49357, 52845.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-18 21:02:31 +02:00