Commit graph

1534 commits

Author SHA1 Message Date
VladimirMangos
ae2f25ce64 [8234] Implement support for explcit discovery spell 64323. Also better checks at loading. 2009-07-23 17:14:31 +04:00
VladimirMangos
dce0941511 [8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL.
Action set min. health value that can be set for creature in result damage apply.
It can be used in duel like events with creatures to prevent killing creature and other
cases when creature must avoid damage at some health level while it used.
2009-07-23 12:40:21 +04:00
VladimirMangos
6c395cf79c [8232] Implement talent 48438 and ranks in target seelction and per-tick heal amount.
Original patch has been suggested by Beaste.
2009-07-23 00:15:52 +04:00
SilverIce
0cf083eb55 [8231] Use more safe destination buffer size for zlib compression.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 15:59:36 +04:00
Gendalph
d838f231ab [8230] Add new line at the end of file Player.h to make gcc happy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 15:32:51 +04:00
Ambal
fc7871f0a2 [8229] Improve stealth detection code for player case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 12:23:12 +04:00
raftom
c4ceafcf56 [8228] Implement talent 49203 (main functionality).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 10:03:25 +04:00
VladimirMangos
6170497643 [8227] Fix sql update name and add refs to it to proper places. 2009-07-22 09:00:25 +04:00
Astellar
467e47df7c [8226] Fixed spell proc data for spell 63730 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 08:47:30 +04:00
tomrus88
a0efd034ca [8225] Some fixes from 320 branch.
(backported from commit 4bdcf42)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-21 05:30:58 +04:00
VladimirMangos
b7389d2a20 [8224] Small uint64 defines cleanup. 2009-07-21 01:37:35 +04:00
VladimirMangos
e16a784ae8 [8223] Simplify code for AURA_STATE_CONFLAGRATE remove at aura remove. 2009-07-21 01:24:05 +04:00
freghar
e612d0778a [8222] Partial EventAI.txt rewrite, typo and language fixes
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-20 19:34:32 +02:00
freghar
cd17ada2e5 [8221] Removed trailing whitespaces
With excluded dep/ - as usual.

Signed-off-by: freghar <compmancz@gmail.com>
2009-07-20 17:53:14 +02:00
evilstar
0a7f878eb8 [8220] Implement SPELL_EFFECT_PLAY_MUSIC(132)
Thanks to GriffonHeart for help in reseach.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 13:20:46 +04:00
nos4r2zod
a6b1334ba1 [8219] Avoid hunter traps proccing when deleted at replace by another trap.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 12:36:08 +04:00
VladimirMangos
36605805b4 [8218] Final part of talent 17962 and ranks fixes.
* Support correct aura state at server set for different casters effects
* Correctly check this telent (per caster) aura state at cast
* Correctly show per-caster aura state for cleitns.
2009-07-20 11:47:59 +04:00
VladimirMangos
d2dadbcb99 [8217] Implement proper priority in effect selection at talent 17962 cast. 2009-07-20 08:17:30 +04:00
rechapa79
680ab810e0 [8216] More fixes in spell 47897 and talent 17962 and ranks work.
* Implement DoT apply for 47897 and ranks.
* Implement propertly aura state update at add/remove 47897/348 and ranks
* Update checks for 29722 and ranks for bonus damage

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 07:26:19 +04:00
VladimirMangos
febdda5bab [8215] Update sql/mangos_spell_check.sql. 2009-07-20 06:34:31 +04:00
tlexii
f1b11860f6 [8214] Implement apply glyph 42454 to talent 17962.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 06:18:45 +04:00
Ungaminga
eba34304ea [8213] Update code for talent 17962.
* Fixed place, basic dependent from 2 auras type at target and damage calculation.
* Avoid double apply spell bonus from original effect and talent self.

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

This is first patch in series for resolve all problem suggested by different authors.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 06:14:57 +04:00
Astellar
b047a62259 [8212] spell_proc_event data fixes for spell 18096, 18119, 30293 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 04:57:34 +04:00
Splinter
8dd96ce52d [8211] Correct proc event and internal cooldown for item 42990.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 04:03:15 +04:00
Astellar
e2d40fecc1 [8210] Implement talent 53302 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 03:23:28 +04:00
ApoC
45a0d3c8c2 [8209] Comment fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-19 17:41:11 +02:00
NoFantasy
c59dac48ff [8208] Add part support for spell 33525.
Also let spell 33652 trigger when aura from 33572 reach full effect.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-19 11:23:14 +02:00
Itch
454b9a06a8 [8207] Allow show combat log for healing done by totems.
(cherry picked from commit 62436f324461648b3b0c3a1a9dee896fc1220343)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 08:31:10 +04:00
nos4r2zod
9b2b2b09ec [8206] Partly revert [8173] in part per tick bonus coefficient.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 07:57:21 +04:00
VladimirMangos
39833b0069 [8205] Really use trap GO charges and avoid casting in despawned state.
* Drop horribale hack with stored charges amount, use instead GO info charges data as expected.
* Count trap activations as charge uses if it have limited charges.
* Check trap reactions only in ready spawned state.
2009-07-19 07:41:08 +04:00
GriffonHeart
349216d5d7 [8204] Avoid call assistance from non-combatants.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 05:38:49 +04:00
Trogvar
22ed15a76e [8203] Correcttly re-apply level scaled item stat mods at player level change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 05:15:09 +04:00
VladimirMangos
e793f0eeab [8202] Replace raw array index values by enums. 2009-07-19 04:02:42 +04:00
Alez
ce387187c1 [8201] Apply PvP duration limit to spell 15286
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 03:23:18 +04:00
Ambal
8ebcabdc23 [8200] Use FASTBUILD precompiled mode for debug case also.
So in fact remove this define and use related includes unconditionally.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 02:40:41 +04:00
Astellar
8a279eda4b [8199] Allow stack auras from different spells triggred at talent 59672 use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 01:53:20 +04:00
Ungaminga
7ace4b2cd7 [8198] Implemented heal part of spell 15237 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-18 21:30:32 +04:00
VladimirMangos
9c91796443 [8197] Use more similar code for triggered and precast spells.
Also better error reporting at not existed spells.
Clear use in comments for this 2 dependent cast ways.
2009-07-18 21:30:11 +04:00
evilstar
49b201e22b [8196] Implement item 44012 spell effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-18 19:39:30 +04:00
VladimirMangos
050962d9fd [8195] Add spell check data for dummy effect tail... 2009-07-18 06:16:50 +04:00
Ambal
c8fa4b59f5 [8194] Use _SECURE_SCL=0 for speedup iterators work at Windows platform in release mode.
Change added for VC80/VC90, but not added for VC10.
2009-07-18 03:50:19 +04:00
XTZGZoReX
4f53c4ee28 [8193] Use constant instead explicit value in title index checks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-17 19:29:48 +04:00
VladimirMangos
3e2477945d [8192] Some other spell mechanics affected by diminishing returns.
Commit inspired by Astellar patch attempt fix problem in another way.
2009-07-17 06:24:29 +04:00
XTZGZoReX
a538fa621c [8191] Drop code related to use long time empty spell_affect table.
After switch to 3.x.x all data get explcitly from ClassMask fields in spell.dbc
and no need in custom values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-17 04:29:33 +04:00
GriffonHeart
cbfbd13146 [8190] Update killing quest objectives base at creature_template KillCredit fields.
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

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

Also implement KillCreditN field check at loading.
2009-07-17 03:45:40 +04:00
VladimirMangos
ad67efefad [8189] Fixed: not include player in GM online list output. 2009-07-17 02:14:42 +04:00
VladimirMangos
888e6f04f3 [8188] Cleanups in #includes for SpellMgr.h 2009-07-17 00:45:47 +04:00
NoFantasy
212ece4e06 [8187] Remove %s prefix in BuildMonsterChat().
For cases where name of sender is expected to show in client chat (mainly emote texts), add %s to the text where name should display.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-16 17:20:58 +02:00
VladimirMangos
745f4de173 [8186] More spell check data. 2009-07-16 05:57:20 +04:00
VladimirMangos
c129b0a1bd [8185] Allow set visible gm level for in gm list and in who list checks.
* GM.InGMList replaced by GM.InGMList.Level with default value 3 (visible any gm levels)
* GM.InWhoList replaced by GM.InWhoList.Level with default value 3 (visible any gm levels)

Update mangosd.conf if used non default value for old GM.InGMList and GM.InWhoList
2009-07-16 02:54:57 +04:00