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
VladimirMangos
06c4ef3931
[8020] Use proper aura stack size check for post-0.12 code
2009-06-15 12:16:04 +04:00
VladimirMangos
2061939428
[8019] Prevent npc spell click when player or target in combat.
2009-06-15 02:47:53 +04:00
VladimirMangos
5350dbafd9
[8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature EventAI.
...
Its can be used for check specific spell auras stack size for event triggering.
2009-06-15 02:25:57 +04:00
VladimirMangos
3c9f9e3fa3
[8017] Always reset creature EventAI phase at creature death.
2009-06-15 01:33:43 +04:00
VladimirMangos
5254a498df
[8016] Work at npc click table data use.
...
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
or to another quest, or from reward quest.
* Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
* Apply some speedups for creature checks affected by spel click state
2009-06-15 01:01:38 +04:00
VladimirMangos
08fe4933c5
[8015] More dislpay id selection fixes...
...
* Allow have only A2 or H2 display ids for less strincted DB field data.
* Check model data existance for all provided display ids atserver startup.
* Avoid explicit access to creature info display fields but use display selection functions.
* Rename GetTaxiMount to more clear for returned value GetTaxiMountDisplayId.
* Check display ids in `creature_model_info` at server load.
2009-06-14 21:57:56 +04:00
NoFantasy
2377917176
[8014] Fixes and cleanup in error messages at skill_discovery_template loading.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-14 19:35:34 +04:00
tomrus88
25140ea3cc
[8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes.
2009-06-14 19:24:56 +04:00
domingo
55e9e6b04a
[8012] Fixed rage decay rate to 1 rage per second.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 12:23:49 +02:00
nos4r2zod
82d3e2ae7d
[8011] Send energize packets in correct order to avoid strange client behaviour.
...
If you send SMSG_SPELLENERGIZELOG after SMSG_POWER_UPDATE client shows mana gain twice.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 12:06:50 +02:00
DonTomika
dcba023261
[8010] Show overheal in combat log.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 11:33:52 +02:00
hunuza
a34e7857f1
[8009] Pass const string reference to functions where possible.
...
Avoids creating an unnecessary copy of strings.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 11:21:26 +02:00
tomrus88
55836df62f
[8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode.
2009-06-14 14:00:00 +04:00
Ambal
6a5b6f08e0
[8007] Do not create empty maps while sending packets.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-14 11:11:27 +04:00
AlexDereka
68ee99f6ac
[8006] Fixed crash in EndBattleGround().
2009-06-14 00:44:31 +04:00
VladimirMangos
ffaaa808b7
[8005] Check model data existance only for initialized creature display ids.
2009-06-14 00:15:07 +04:00
VladimirMangos
6bb19548a9
[8004] Implement table data use support for more achievement types requirements.
...
* ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST (hardcoded list)
* ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING
* ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL
Note: required DB support.
2009-06-14 00:14:45 +04:00
VladimirMangos
f6029831e3
[8003] Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_HOLIDAY.
2009-06-14 00:14:34 +04:00
Dyddye
d1c96855cb
[8002] Implemented ACHIEVEMENT_CRITERIA_DATA_TYPE S_DRUNK and fixed typos in ACHIEVEMENT_CRITERIA_DATA_TYPE_T_TEAM
...
(cherry picked from commit c2f9c7a0b46fb3544930666110e240256361cd4a)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-14 00:14:10 +04:00
VladimirMangos
cf7482e0c8
[8001] Fixed display id checks for creature case.
2009-06-12 22:05:34 +04:00
ApoC
a8a4836e1a
[8000] Corrected calculation of healing amount for 47230 and ranks.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-12 15:57:48 +02:00
tomrus88
90d4d70f0c
[7999] Added appendPackXYZ to ByteBuffer class.
2009-06-12 16:11:20 +04:00
tomrus88
d50916a6e0
[7998] Raised stackable limit to 1000. Thanks to Seizerkiller.
2009-06-12 16:08:10 +04:00
VladimirMangos
fd1f47c88c
[7997] Fixed crash at recursive call remove same spell.
2009-06-12 01:33:41 +04:00
Thyros
d2d5990956
[7996] Fixed loaded DBC count.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-11 23:04:01 +04:00
VladimirMangos
7218530489
[7995] Check display id correctness for creature and gameobjects.
2009-06-11 22:43:18 +04:00
VladimirMangos
7677a61c6f
[7994] Include in mangos.sql/characters.sql changes from sql/updates/7988_*.sql
...
Also fix old typos in item_template data in mangos.sql
2009-06-11 20:20:56 +04:00
AlexDereka
85d9d14caf
[7993] Generate StackTrace in ASSERT.
2009-06-11 15:22:40 +04:00
arrai
2412e1fc9c
[7992] added additionally check for SPELL_EFFECT_OPEN_LOCK
...
Every gameobject which may be a target of such a spelleffect
has to have a lockid. Prior to this commit it was possible to
exploit SPELL_EFFECT_OPEN_LOCK spells and despawn abitrary GOs
2009-06-11 13:17:23 +02:00
AlexDereka
ea0f9bcf09
[7991] Added platform names to server version define.
2009-06-11 13:44:15 +04:00