Commit graph

2469 commits

Author SHA1 Message Date
VladimirMangos
7175007aba [8070] Restore spell casting loot items and recipes.
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0

Note: required DB support in `spell_loot_termplate`
2009-06-23 03:46:27 +04:00
Saeba
e455ee7da7 [8069] Fixed copy/paste mistake in achievement error output.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-22 22:21:51 +02:00
SeT
d4017afadd [8068] Fixed crash from 33201 and ranks, remove outdated rank case.
Signed-off-by: SeT <can15@ngs.ru>
(cherry picked from commit e52f1f4e530a435edb156de5083e39b2ef23bbb5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 15:59:47 +04:00
VladimirMangos
634fda8475 [8067] Fixed tabs and trailing whitespaces in code. 2009-06-22 15:43:47 +04:00
Ambal
c402d3ec26 [8066] Fixed typo in Teleport call.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 13:43:27 +04:00
Rhyll
8f69f19027 [8065] Remove outdated data in spell_proc_event.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:44:07 +04:00
pasdVn
14700e9918 [8064] Implemented dummy procs for spell 47535 and ranks
(cherry picked from commit 80d0367959b110cb3daa0c6dd65022f5ecf84ac5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:22:25 +04:00
bobaz
d49d7e74f9 [8063] Fix summon water elemental.
Summon type changed in 3.1.0.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 15:13:33 +02:00
Alez
17a82a063e [8062] Update triggering spell for talent 51625 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 16:27:00 +04:00
hunuza
e2d3a68a48 [8061] Fixed 12834 and ranks stacking behaviour.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 13:17:45 +02:00
hunuza
7448aaa37e [8060] Fix 56314 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
Skirnir
113a492e02 [8059] Fix summon type for 33831 (changed in 3.0.0).
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 10:41:39 +02:00
NoFantasy
ec133404ca [8058] Avoid use error_log in non-scripting DLL code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 04:13:07 +04:00
NoFantasy
400c110e1f [8057] Move code from Event AI to class Creature function for reuse in other scripting cases.
Also some outdated and wrong checks remove.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:39:43 +04:00
XTZGZoReX
9b9fe55981 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:07:54 +04:00
Den
d97f2bb92f [8055] Now spell 20911 and variations provided only mana percent back.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 01:31:07 +04:00
QAston
a8dea60d6e [8054] First do cleanup then removefromworld for player.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Thanks to lordinpvp for patch prepering for mangos.
2009-06-21 01:09:16 +04:00
VladimirMangos
d56de2cd77 [8053] At character talents reset using chat command also reset talents for all character pets.
This applied to .reset talents and .reset all talents commands.
2009-06-21 00:29:46 +04:00
The_Game_Master
5564346c58 [8052] Fixed typo in error log output.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 03:02:54 +02:00
bobaz
5f81e5bd35 [8051] Fixed some drinking mana regen spells.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:59:04 +02:00
Corfen
f018f4c15c [8050] Fixed healing from spell 63108.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:52:11 +02:00
bobaz
b2da4b11ce [8049] Added energize effect after last heal tick for 33763 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:20:13 +02:00
nos4r2zod
8db10be934 [8048] Fixed typo in HandleBuyItemInSlotOpcode.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 01:48:46 +02:00
ApoC
7f3be4ae6a [8047] Little cleanup in C++ manner.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 01:48:39 +02:00
NoFantasy
b91f7c9479 [8046] Use float for store AttackDistance as expected by using calls.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-20 01:17:23 +04:00
VladimirMangos
4cbf8e2412 [8045] Cleanup expression. 2009-06-20 00:32:32 +04:00
KAPATEJIb
0beec712e5 [8044] Fixed: group members teleported on BG ending to locations they were before BG start.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-18 23:47:20 +04:00
rastikzzz
fada8301f5 [8043] Fixed typo in LoadSkillDiscoveryTable() 2009-06-18 23:18:00 +04:00
Ambal
fe88960e09 [8042] Speedup search creature/pet/vehicle by guid.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 22:33:23 +04:00
VladimirMangos
3e2b810376 [8041] Avoid send talent info many times at loading. Small cleanups. 2009-06-18 22:01:34 +04:00
NoFantasy
68848314e2 [8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 19:11:57 +04:00
VladimirMangos
23c96493b1 [8039] Prevent including talents to trainer data, report at server loading. 2009-06-18 04:13:05 +04:00
VladimirMangos
0e20fbbd56 [8038] More expect to be possitive dummy effects. 2009-06-18 00:56:45 +04:00
VladimirMangos
2964a44c25 [8037] Make one from trigger targeting spell effects positive. 2009-06-18 00:33:36 +04:00
VladimirMangos
3964a0d603 [8036] Move unneded defines from dotconfpp.h to dotconfpp.cpp
This will prevent unexpected redefines and unrelated files build problems.
2009-06-17 22:10:34 +04:00
VladimirMangos
0b4c37f751 [8035] Return found guardian in search function. Update caller. 2009-06-17 19:37:08 +04:00
VladimirMangos
cb8cffc11e [8034] Fixed sql/updates/8030_03_mangos_npc_trainer.sql.
Real query added. In fact this queary only need if your npc_trainer table have unfixed yet
outdated spell 64904. In other case it work in same way as old empty sql update version.
2009-06-17 18:40:03 +04:00
VladimirMangos
fc5a9f8812 [8033] Update max vendor item list for client 3.x.x 2009-06-17 03:45:26 +04:00
arrai
309c2d8a0e [8032] partially reverted b4c7e95cbdf72d41fe529b2d6261d3096596c674
The brackets were placed wrong which caused creatures to ignore
threat from players out of melee range. Thanks to KAPATEJIb,
illusion22 and Lynx3d for researching
2009-06-17 01:19:38 +02:00
Ambal
2b69a914cf [8031] Move player update code to Map::Update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-17 01:59:41 +04:00
VladimirMangos
7024862b82 [8030] Fixed spell 64901 work and related target selection code refactoring.
* Replace 64904 by 64901 in spellbook and action bars.
* Implement proper max mana percent buff
* Implement proper target selection.
* Move group/raid targets seelction code to functions for reuse code.
2009-06-17 01:05:41 +04:00
DiSlord
1526b7aad5 [8029] Correct show spell charges/stack amount
Signed-off-by: DiSlord <dislord@nomail.com>
2009-06-16 17:36:17 +04:00
Tanatos
57ac3bdfef [8028] Missing part of [7879] commit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-16 14:11:05 +02:00
AlexDereka
21a650889c [8027] Added Cmake to git_id. 2009-06-16 12:48:52 +04:00
Ambal
b76c4c2f3c [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-16 12:47:02 +04:00
VladimirMangos
1187c8698c [8025] Avoid git_id dependence from MaNGOS headers. 2009-06-16 12:37:40 +04:00
Beaste
bdc7df00d6 [8024] Implement SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR(285).
Also drop outdated support code for 61216 and ranks.
This implement work talents 61216 and 48978 with ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-16 12:13:06 +04:00
VladimirMangos
309ac7ead0 [8023] Move guardian list at Unit level and unsummon guardians at owner-creature death/unload.
This expected to fix well known crash at intances unload with creature with summoned guardians.
Note: this "fix" special case but not original source of problem in general.
2009-06-15 23:46:13 +04:00
XTZGZoReX
02a71edb86 [8022] Update spell 53301 and ranks damage formula.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-15 22:24:30 +04:00
Beaste
9d8aa63d5c [8021] Implement triggering part of shaman talent 51483 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-15 16:37:32 +04:00