Commit graph

5375 commits

Author SHA1 Message Date
Seize
f1b8c677fc [7074] Update playercreateinfo_spell for old classes.
Signed-off-by: Neo2003 <Neo2003@getmangos.com>
2009-01-13 00:52:37 +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
16dc210e24 [7072] Fixed typo in prev commit. :/ 2009-01-12 02:02:55 +03:00
VladimirMangos
76f7a25f2d [7071] Fixed recent problem with pacified aura for druids with flight forms. Cleanups code. 2009-01-12 01:50:03 +03:00
VladimirMangos
8b87829099 [7070] Use IsInWorld() check instead explcit loading args in spell learning code. Learn default spells at loading also.
At player loading known spells (full list) send to client at adding player to map,
so !IsInWorld() is most correct way check when spell learn packets not need send and wait seniding full spell list.
2009-01-12 01:15:01 +03:00
arrai
22db1a3d39 [7069] Implemented dismantling, engineer version of skinning 2009-01-11 20:58:23 +01:00
DiSlord
dd2a59f56d [7068] Use area aura duration for apply aura on unit in area
Allow remove SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE spells by 31224

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-11 21:15:45 +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
Mordred
6165da2b3a [7066] Fix crash in console commands in HasLowerSecurityAccount()
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-10 22:08:47 +03:00
VladimirMangos
439db0eae3 [7065] Fix herbs consum at milling.
Use 5 items from stack instead all stack.
2009-01-10 21:45:58 +03:00
DiSlord
7162d82a4d [7064] Fix warrior 46968 and ranks damage from AP
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 21:24:43 +03:00
DiSlord
48bebc4056 [7063] Absorb auras fixes (add custom handle for some auras)
Fix Shaman 51474 and ranks
Fix Rogue 31130 and ranks
Fix Druid 33851 and ranks
Fix DK 49145 and ranks, 49157 (TODO: need use only on transform), 50462, 53766, 51052,
Fix 41475 - boss cast
Fix 39228, 60218 (item 27770/37220 spells)
Hidden cooldown for 53601.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 19:14:09 +03:00
CHEG
4051db9767 [7062] Fixed arena team inviting.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-10 03:12:59 +01:00
DiSlord
e266f04eda [7061] Use correct flag for trigger from 47540 and ranks (use healing part) in all related triggers
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 01:21:29 +03:00
DiSlord
87a0960cdb [7060] Implement priest dummy proc 47555 and ranks
Disable proc from SPELL_AURA_PERIODIC_DAMAGE (need prevent drop charge in some cases)
Add data for shaman 51556 and ranks (but need dummy for work)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 01:02:48 +03:00
VladimirMangos
e1a4ad241d [7059] Drop spell slot fields as unused for characters and pets.
Also temporary fix spell slot setting in 7047_01_characters_character_spell.sql
2009-01-09 22:31:06 +03: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
6b8d42b721 [7057] Restore brocen after client switch (and add new 3 ranks) Shaman enchant spell proc
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 03:06:38 +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
VladimirMangos
e07baf2914 [7055] Build getrevision as Win32 application for x64 platform.
This allow build x64 binaries at Win32 platform.
2009-01-08 19:17:32 +03:00
GriffonHeart
e1499bcdd9 [7054] Missing update to 7041
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 16:26:01 +03:00
DiSlord
d2ab274638 [7053] Fix last commit 2009-01-08 04:37:12 +03:00
DiSlord
6a4ee36f21 [7052] Fix proc priest 47549 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 04:03:53 +03:00
DiSlord
e573bd9ea8 [7051] Implement some mage dummy triggers (fix typo)
44546 and ranks
44449 and ranks
54747 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 03:53:21 +03:00
DiSlord
40d7fecb36 [7050] Add crit req for some paladin spell proc
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 01:30:34 +03:00
DiSlord
c2741b50e7 [7049] Work vs Auras
Allow stack some auras from some caster in one
Move apply/remove aura state on apply/remove aura (on 1 add / on last remove)
Correctly fill aura flag and send duration update to client
Not use m_procCharges for store satack amount, used m_stackAmount
Fixes in HandlePeriodicDamage (use m_stackAmount, fix formulas to 303, optimisation)
Fixes in Spell::EffectSchoolDMG (use m_stackAmount, fix formulas to 303)
Remove unused uint32 m_PeriodicEventId from aura struct
Add Unit::RemoveSingleSpellAurasFromStack for remove one Spell auras from stack
Add Aura::RefreshAura() for refresh aura duration

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 01:12:52 +03:00
DiSlord
eacc6e069c [7048] Fix typo (incorrect 55440 dummy proc)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 21:49:27 +03:00
DiSlord
ebf7c767da [7047] Fix Draenei race spell add at client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 20:15:12 +03:00
VladimirMangos
cc5fc88fb2 [7046] Do more security level checks in commands using HasLowerSecurity. Make use .account set addon safe for players. 2009-01-07 18:23:56 +03:00
DiSlord
d12944d8f2 [7045] Some additional check
More correct spell select for creatures if spell PreventionType == SPELL_PREVENTION_TYPE_SILENCE
Also add check for PreventionType == SPELL_PREVENTION_TYPE_PACIFY

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 17:59:26 +03:00
DiSlord
177ab58d51 [7044] Fix some priest spell (48110, 48111, 48112, 48113) crash
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 16:41:29 +03:00
DiSlord
a3f3caf25a [7043] Remove not need code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 16:24:44 +03:00
ApoC
48a90cc42d [7042] Forget to add revision number.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-07 04:21:22 +01:00
GriffonHeart
e30f8dd816 [7041] Add 7-8 rank warlock stone
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 19:43:09 +03:00
VladimirMangos
dc19fc4ca3 [7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail.
Support localization string fields for new table.
Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr.
2009-01-06 16:21:22 +03:00
VladimirMangos
7bae367084 [7039] Implement mangosd.conf options Death.Bones.* for disable bones creating from corpse in world zones or in arena/bg.
Note: in case apply insignia bones still created as required for looting.
2009-01-06 14:49:36 +03:00
VladimirMangos
1c5456324a [7038] Fixing known taxi node save in 3.0.3. Cleanup code. 2009-01-06 14:13:05 +03:00
VladimirMangos
221a60266b [7037] Avoid unneeded #ifdef 2009-01-06 13:19:40 +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
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
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
DiSlord
675a90b267 [7033] Add some dummy triggers
DK - 49015 and ranks, 51459 and ranks, 48979 and ranks
Druid - 48516 and ranks, 48496 and ranks
Shaman - 55440 glyph
Also fix send AttackStateUpdate on block
Add some spell_proc_event data
Fix sql update for 7031

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 16:55:30 +03:00
zhenya
5bf32dd62a [7032] Remove unused field from realm structure in realmd.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 14:39:55 +03:00
DiSlord
8ac2150b88 [7031] Implement some mage, paladin dummy trigers
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 06:01:46 +03:00
DiSlord
63c9f1ba72 [7030] Fix typos in mangos.sql
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:48:24 +03:00
DiSlord
daf24ce90c [7029] Some work vs aura charges
Move to protected: need use SetAuraCharges, GetAuraCharges, DropAuraCharge
Now m_procCharges == 0 if infinite charges, and > 0 for limit
Remove not need UpdateAuraCharges()

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:16:53 +03:00
DiSlord
791c54dd0b [7028] Code fix on client change
Remove not need code
Fix some SPELL_AURA_OVERRIDE_CLASS_SCRIPTS aura use

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 02:43:52 +03:00
VladimirMangos
b64211c937 [7027] Add descriptions to new options. 2009-01-05 02:27:44 +03:00
GriffonHeart
5332b4496d [7026] Current arena season id and state send and setting in mangosd.conf.
Also classes and DB data for new batlegrounds/arena.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 02:20:58 +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