Commit Graph

1873 Commits

Author SHA1 Message Date
Shauren
5de19484ee Core/Spells: Removed selecting shapeshift model based on race and skin color for creatures. 2012-11-25 10:23:24 +01:00
kaelima
fc974d6fbe Core/Movement: Remove deprecated method Creature::AI_SendMoveToPacket. 2012-11-23 20:18:55 +01:00
Spp
32c259b1ce Core/Channels: Remove unnecessary calls to FindPlayer wherever is possible
- Add better opcode debug messages
- Move isValidChatMessage debug messages to trace
2012-11-22 12:11:35 +01:00
Spp
cd2b79f8d4 Fix compile under windows 2012-11-20 20:45:10 +01:00
Spp
7bef4ce401 Core/Misc: Reduce header dependencies - Step III 2012-11-20 15:03:56 +01:00
Spp
b5c9ab8802 Core/Misc: Reduction of header dependencies - Step II 2012-11-20 12:30:30 +01:00
Spp
81606e5d1e Core/Misc: Define some methods const 2012-11-20 09:29:52 +01:00
LordUsagi
cee9c3885d Core/Entities: AoE spells should be able to hit invisible targets.
Closes #7712
2012-11-17 19:46:05 -05:00
Spp
db4a69f773 Crash Fix after b99c347 2012-11-17 14:34:25 +01:00
Spp
b99c347747 Core: Remove Player.h dependency from all the possible headers 2012-11-17 05:18:37 +01:00
Lorenzo J. Gonzalez Cabrera
532077de4f Doze mechanics Fix - By Arrakio
Info here:
https://github.com/TrinityCore/TrinityCore/issues/8277
2012-11-09 11:37:31 +01:00
ille
2450f4ea56 fishing: set respawntime to now when cant loot, for correct despawn of bobber
removegameobject from player instead cancel spell, for correct remove of fishing aura
2012-11-03 15:31:14 +01:00
Spp
58ec4e5319 Core/Guild: Code Refactor
- Send correct events when modifiying Ranks (Add, modify, delete)
- Store money/slots withdraw, not remaining slots. This will update remaining slots/money properly.
- Reset daily slots/money withdraw for all members at same time, configurable
- Better debug messages
2012-11-02 22:26:10 +01:00
kaelima
3ee840a9be Core/Spline: Change recently added error output to print DB GUID for creatures 2012-11-02 20:33:59 +01:00
kaelima
9d81c763fe Core/Player: Fix crash in Player::CanUseBattlegroundObject when called from certain spells 2012-10-30 22:30:24 +01:00
Spp
d2ba73d97f Core/Misc: Proper fix for previous commit (c5c8e38 - check race change before perfoming faction-change actions)
Core/Misc: tab to spaces and remove trailing whitespaces
2012-10-29 12:28:12 +01:00
Spp
876ad50dcd Core/Misc: Tweaked ThreatContainer internals
(and many cosmetic changes here and there)
2012-10-26 14:31:19 +02:00
Spp
9fbc4c0ae2 Core/Misc: reduced amount of string memory allocations (Step II) 2012-10-24 15:34:48 +02:00
Spp
013fb1f4d9 Core/Misc: reduced amount of string memory allocations (Step I) 2012-10-24 15:34:48 +02:00
Spp
663db1cee3 Core/Misc: Add default count param to HasItemCount 2012-10-23 13:11:57 +02:00
Gacko
2c8c7a195d Core: Implement Gameobject::Use() for traps 2012-10-21 14:38:46 +02:00
Spp
67a03027ae Proper naming of LfgDungeon structures 2012-10-19 17:47:51 +02:00
Spp
d0334bf948 Core/Dungeon Finder: Some optimizations.
- Store teleport coordinates to avoid recalculations each time someone has to be teleported
- Correct teleport error msg when player is charming or using vehicle
- Internal changes in storage types
- Proper code for missing achievement lock type
- Better debug msgs
- Trying to get rid of "Player*" and "Group*" inside LFGMgr as much as possible (Step 1)
2012-10-18 09:15:10 +02:00
kaelima
ca276292dc Core/BG:
- Force removal of stealth and invisible auras when using gameobjects with type GAMEOBJECT_TYPE_FLAGSTAND and GAMEOBJECT_TYPE_FLAGDROP
- Do not allow players to use unfriendly battleground objects (prevents flag cap with Nitro Boosts active for example)
2012-10-17 16:56:35 +02:00
Subv
27f091806a Core/SpellAreas: Changed the way quest_start and quest_end works.
They now follow this rule:
The player's quest status of quest_start must have the mask defined in quest_start_status in order for the spell to be applied/kept.
The player's quest status of quest_end must _NOT_ have the mask defined in quest_end_status in order for the spell to be removed
To generate the mask:
Take the QuestStatus enum in QuestDef.h, use (1 << theValueYouWant) to obtain a mask and you can use | to combine masks.
This expands the usage of the spell_area table, making possible to give a player an aura while he has a quest, but remove it as soon as the quest is completed (not rewarded).
Feature request by @Svannon
2012-10-16 21:44:28 -05:00
kaelima
4ec23cdba5 Core/PacketIO: Automatically set field count in SMSG_INIT_WORLD_STATES instead of manual switch. 2012-10-17 00:46:11 +02:00
kaelima
88ddc9662e Core/Battleground: Allow players to start capping flags stealthed or invisible - gameobject should remove the stealth/invis aura on use. 2012-10-17 00:44:16 +02:00
Subv
8536b360a0 Core/Spells: Fix a possible crash in Light's Beacon when a player logged in with the aura. 2012-10-16 09:24:53 -05:00
Subv
b06e9cfd41 Revert "Core/Entities: Do not create the model twice for a GameObject."
This reverts commit 0f166336ca.
2012-10-12 09:33:34 -05:00
Subv
970009cb3b Core/Players: Remove the mute from the DB when the timer expires. 2012-10-10 11:49:51 -05:00
Subv
ef6e7e0914 Merge pull request #8001 from tibbi/reputation_convert
correct reputation converting at faction change
2012-10-10 06:43:47 -07:00
Subv
3e5af53bf7 Core/Achievements: ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL doesn't require a killing blow anymore, only a honorable kill.
Author: @tibbi
Closes #6224
2012-10-09 22:59:18 -05:00
tibbi
05eaf75501 adding forgotten UpdateCharacterNameDataLevel call 2012-10-08 20:02:11 +01:00
Subv
00373eee90 Merge pull request #8015 from Retriman/masspellsTIII
Core/Spells:
2012-10-07 17:52:14 -07:00
trickerer
0f166336ca Core/Entities: Do not create the model twice for a GameObject.
Should fix #5218 (Still need to check)
2012-10-07 19:42:06 -05:00
Subv
42d606a81b Core/Spells: Fixed a crash caused by Beacon of Light.
GroupReference sources should always be checked against NULL pointers.
2012-10-07 19:02:59 -05:00
Retriman
3c2a523980 Core/Spells:Ranged spells cant be parried or dodged. 2012-10-07 14:46:29 -04:00
kaelima
8c013955ac Core/Misc: Fix some possible issues detected by static code analysis 2012-10-07 01:31:43 +02:00
Kaelima
6b56acaa28 Merge pull request #7913 from Warpten/theRubySanctum
Scripts/Ruby Sanctum: Halion, the Twilight Destroyer.
2012-10-06 14:27:59 -07:00
Warpten
c971447855 Scripts/Ruby Sanctum: Halion, the Twilight Destroyer. 2012-10-06 22:47:52 +02:00
Nay
d641775a1f Core/Traps: Remove hardcoded cooldown value of 1 and use startDelay instead, as per Kaelima suggestion
startDelay is 1 for all hunter traps

Fix non PCH build (boss_elder_madox.cpp)
Remove a double parentheses in LFGGroupScript
2012-10-06 17:01:29 +01:00
Nay
0edd7f4459 Merge pull request #7981 from Retriman/SpellTi
Core/Spell: Traps Hunter.
2012-10-06 08:41:13 -07:00
Retriman
7e651ed729 Core/Spell: Traps Hunter.
*Fix the range of the activation of the traps, according for video and comments.
*Fix armed traps in combat change in 3.0.2. see u http://us.battle.net/wow/en/game/patch-notes/3-0-2
2012-10-05 15:17:14 -04:00
kandera
42c047bebc Merge pull request #7839 from Warpten/soulwell
Core/Spells: Fixed Soulwell charges removal on use.
2012-10-05 06:04:24 -07:00
kandera
c4c093ac80 Merge pull request #7971 from Retriman/SpellTi
Core/Spell: Remove LOS in spell tremor, grounding Totem.
2012-10-05 05:52:39 -07:00
Retriman
5f90eb831a Core/Spell: Remove LOS in spell tremor, grounding Totem. 2012-10-04 23:32:50 -04:00
Kandera
94b2f90a5a Core/Spells: fix typo from 0f85a1d4f3 2012-10-02 11:58:27 -04:00
Kandera
0f85a1d4f3 Core/Spells: Fix seal procs from tiny abom in a jar. Closes #3463 2012-10-02 10:58:11 -04:00
Kandera
c85c0c549a Core/Spells: when charges are removed by a proc they should be handled with AURA_REMOVE_BY_DEFAULT. Closes #7910 2012-10-02 10:23:36 -04:00
Spp
7831ecdb18 Core: "Initial support for C++11 compilers" 2012-10-02 15:06:19 +02:00