VladimirMangos
d3c34e93c9
[9879] Update battleground weekend world state at start/stop event.
2010-05-12 09:24:05 +04:00
GriffonHeart
c4247ece32
[9878] Set for client battleground weekend event world state.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-12 06:24:06 +04:00
Insider42
2edc375e48
[9877] One more meteor-like spell.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-12 05:26:10 +04:00
VladimirMangos
d04dd4e5bf
[9876] Fixed TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER work
...
TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER expected seelction friendly targets
for spell caster around spell caster (so ignore original caster faction).
This meaning that for begative spell also selected friendly targets for
spell caster object.
2010-05-12 03:33:06 +04:00
Laise
5a572b9991
[9875] Fix immunity ignoring for delayed spells
2010-05-11 22:35:39 +03:00
reeshack
789f2f8167
[9874] Fix auras with custom periodic damage not entering spell/melee bonus damage done methods
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-11 22:20:57 +03:00
zergtmn
aa8a36afd4
[9873] Drop outdated code for 18788
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-11 16:19:21 +03:00
Insider42
a4c5734256
[9872] Update damage/energize calculation for 1454 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 14:48:04 +04:00
VladimirMangos
b36cc9b258
[9871] Implement movement impairing effects for spell 58875.
...
Original part suggested by Insider42.
2010-05-11 14:08:17 +04:00
NoFantasy
3790084fb1
[9870] Add script id to all remaining SCRIPT_COMMAND_* error message outputs.
...
Note that script id can be id from different DB tables. It will however make it easier to find the source of any error.
More code cleanup and style corrections.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-11 11:46:18 +02:00
NoFantasy
d02313d94c
[9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as source/target
...
Additional code cleanup and output script id in error messages.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-11 11:00:58 +02:00
Insider42
c5008073f3
[9868] Impliment glyph 42905.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 12:52:53 +04:00
zhenya
fd131fb408
[9867] Prevent another potion drink until combat end.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 11:29:55 +04:00
VladimirMangos
3a2c28ca68
[9866] More weapon damage split spells.
2010-05-11 10:47:55 +04:00
Insider42
c4ee01422d
[9865] Add support split damage for spells 66765, 67333.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also small cleanup in mangos_spell_check.sql
2010-05-11 10:30:16 +04:00
zergtmn
fc91380b25
[9864] Use proper arg for player name send.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 08:32:32 +04:00
MaS0n
4e8c18e9de
[9863] Implement SPELL_EFFECT_BREAK_PLAYER_TARGETING (93)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 08:09:41 +04:00
VladimirMangos
6fb07911f9
[9862] Defines for some spelentry arrays.
...
* Move and rename MAX_REAGENTS to DBC Strcuture.h.
It used only afore access to SpellEntry field and so part of strcuture definition.
* Add MAX_SPELL_TOTEMS and MAX_SPELL_TOTEM_CATEGORIES for same reasons, and use in code.
2010-05-11 00:06:47 +04:00
tomrus88
ff2cda6af1
[9861] Backporting some code chnages from 400 branch.
...
(based on 400's commit 0f37423)
(based on 400's commit 636cfef)
(based on 400's commit 0bbe3a7)
(based on 400's commit ce86b56)
(based on 400's commit b74c6a8)
2010-05-10 23:45:49 +04:00
NoFantasy
a0d9ffcc5f
[9860] Add script effect of spell 54182
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-10 20:43:03 +02:00
NoFantasy
8c81f0d058
[9859] Add dummy effect of spell 51964
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-10 19:56:57 +02:00
Laise
884e4f8ecc
[9858] Restore work of 1064 and ranks, broken in [9854]
2010-05-10 19:30:09 +03:00
Laise
aa59339e1a
[9857] Fix double damage dealing of 63625 and ranks. Thanks to Revils
2010-05-10 12:06:10 +03:00
NoFantasy
aff0d77692
[9856] Add dummy effect of spell 51840
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-09 23:15:49 +02:00
Laise
fc4c64b549
[9855] Fix some sqls from prev. commit
2010-05-09 20:36:47 +03:00
Laise
4c3d2805bd
[9854] Fix negative amounts for spell base damage/healing and fix heal effects to correctly benefit from heal increasing/reducing auras
2010-05-09 20:33:36 +03:00
NoFantasy
7915d60765
[9853] Add dummy effect of spell 61832
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-09 19:11:29 +02:00
NoFantasy
92d26dbebf
[9852] Disable forced alteration of specialFlags in quest_template at startup.
...
This will allow quest 10162 to work properly with the expected data in quest_template (no specialFlags is needed), but will still give a startup error for spell 33824.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-09 09:56:28 +02:00
Laise
5c17458fb8
[9851] Restore work of 1856 and ranks
2010-05-08 13:47:31 +03:00
VladimirMangos
921b0d668f
[9850] Fixed target selection for area spells casted from aura at enemy.
...
* Spell::GetCastingObject must be use for selection visual/point cast,
not for friend/enemy checks. Add extanded GetAffectiveCasterObject
for proper provide for referecned checks wild gameobject casted case.
* Also support chain damage spells casted by gameobjects.
2010-05-08 01:21:41 +04:00
hunuza
d1130af777
[9849] Implement character database clean up.
...
This can be disabled by config option.
Flag for clean up can be set for example on client version change.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 23:08:24 +02:00
NoFantasy
2c6d48b912
[9848] Add script effect of spell 47393, 47615 and 47638
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-07 16:51:51 +02:00
NoFantasy
e46cea7f7c
[9847] Add dummy effect of spell 50546, 50547 and 50548
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-07 16:28:28 +02:00
Laise
4459f3a070
[9846] Restore work of 44745 and rank/s
2010-05-07 17:24:07 +03:00
pasdVn
2846ea21f1
[9845] Fix dispel damage for 30108 and ranks
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-07 16:39:01 +03:00
hunuza
68abd76c97
[9844] Fix some whitespace errors.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
VladimirMangos
ec0141261a
[9843] Restore need seelction show at loot roll.
...
Also some clanups including merge 2 roll type enum.
2010-05-07 01:39:52 +04:00
NoFantasy
de95b8ad5f
[9842] Remove a line of whitespace
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-06 10:02:14 +02:00
Laise
91572b1e01
[9841] Really fix invisible target selection for TARGET_AREAEFFECT_CUSTOM
2010-05-06 10:54:08 +03:00
VladimirMangos
53b056cfff
[9840] Include Timer.h for getMSTime in SendMonsterMoveByPath
2010-05-06 05:10:05 +04:00
Laise
432b1b8b38
[9839] Fix shadow damage part of 55090 and ranks
2010-05-05 17:51:39 +03:00
VladimirMangos
722135b326
[9838] More log filters and macro uses.
...
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
Laise
e83aa1ba9d
[9837] Remove calls to Taken part when its not used for damage dealing and fix HoT tick amount used in 18562 code(Thanks to insider42)
2010-05-05 06:58:16 +03:00
VladimirMangos
6dec6c8a9f
[9836] Make log output code more consistent for diff build modes.
...
* Make possible have debug output if build in release mode.
* But preserver current optimization in avoid debug output args
calculation if debug ouput disabled if done using DEBUG_LOG
* Implement in same way BASIC_LOG, DETAIL_LOG. Recommended use
its instead explicit access to sLog
* Use variadic macros for DEBUG_LOG and other new defines.
All supported VS/GCC have its support as C++ extension.
* Add DEBUG_FILTER_LOG and semilar defines for filered log output and use its.
* Also move recent added debug output for transport events under LOG_FILTER_TRANSPORT_MOVES
2010-05-04 22:29:11 +04:00
Laise
6726a08b48
[9835] Fix broken compilation after [9831]. Thanks to VladimirMangos.
2010-05-04 19:52:08 +03:00
Laise
9c6b53aca9
[9834] Fix damage bonus applying from 49471 and ranks to 49143 and ranks
2010-05-04 17:12:06 +03:00
Laise
8a4b520979
[9833] Allow TARGET_AREAEFFECT_CUSTOM to target invisible/not targetable npc if script target for them exists
2010-05-04 15:05:29 +03:00
NoFantasy
92ab082fc6
[9832] Move function to select an attacking target from EventAi to Creature class
...
Also rename function to a more descriptive name, SelectAttackingTarget
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-04 12:46:09 +02:00
Laise
0cc946e91e
[9831] Fix type conversion in spell/healing bonus calculations
2010-05-04 07:22:18 +03:00
VladimirMangos
3f5eccd8a9
[9830] Implement taxi/transport event scripts support.
2010-05-03 19:39:53 +04:00