Commit Graph

3799 Commits

Author SHA1 Message Date
ZxBiohazardZx
dad5b0bb3c DB/NPC: Spawn npc 25589 and fix some issues in its core script.
Closes #784.
2011-09-11 23:17:24 +01:00
QAston
1d38ccaca6 Core/Spells: Remove redundant explicit target checks from Spell::cast 2011-09-11 22:42:29 +02:00
QAston
606fd07cb1 Merge pull request #2966 from Chaplain/cleanup
Core/Auras: Improvements in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE handling:
2011-09-11 13:29:50 -07:00
QAston
7c85617847 Core/Spells: Don't check cast requirements twice for instant cast spells. 2011-09-11 22:27:21 +02:00
QAston
06b9ae6e11 Core/Unit: Define UNIT_FLAG_UNK_0 as UNIT_FLAG_SERVER_CONTROLLED and remove related redundant creature_template data. 2011-09-11 11:41:55 +02:00
QAston
1fef67187b Core/Protocol: Define more opcode names - thanks to TOM_RUS. 2011-09-11 11:41:55 +02:00
Chaplain
cd06a696cf Core/Auras: Improvements in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE handling:
*prevent apply mods from weapon specific case to non weapon specific spells
2011-09-11 00:27:40 +03:00
Shocker
ccc13c0295 Merge pull request #2951 from Fredi/reload_config
Core/Log: Reload log levels and filters
2011-09-10 04:03:29 -07:00
Spp-
14b3ed9164 Addons/AddonMgr: converted from singleton to namespace with free functions 2011-09-09 15:22:52 +02:00
Spp-
45af1238cf Conditions/DisableMgr: converted from singleton to namespace with free functions. 2011-09-09 14:27:23 +02:00
Spp-
c4c9165428 Core/ArenaTeam: Use full captain guid instead of low guid on team creation and some code cleanup 2011-09-09 13:05:51 +02:00
Fredi Machado
bac261b001 Core/Log: Reload log levels and filters
on 'reload config' command
2011-09-08 23:00:26 -03:00
Shocker
7a9cb4fdc7 Merge pull request #2931 from Chaplain/cleanup
Core/Mechanic: Implement Diminishing Returns for miss\parry\dodge. Original author for parry\dodge case Lynx3d.
2011-09-08 17:28:35 -07:00
Kaelima
2748ce9e83 Merge pull request #2930 from Fredi/clean
Core/Scripts: Code style and cleanups in npc_special.cpp
2011-09-08 15:40:34 -07:00
Nay
16b76a3119 Core/Scripts: Correct a wrong spell id used in ZG 2011-09-08 19:14:56 +01:00
Spp
bb0e38fcda Typo fix of previous commit (:S) 2011-09-08 18:41:43 +02:00
Spp
d46ef045a6 Fix a typo in 327fe7c than changed the logic of a function and simplify IsXXXAccount functions 2011-09-08 18:32:52 +02:00
Spp-
15d220639b Minor Correction to 327fe7c 2011-09-08 15:15:04 +02:00
Spp-
327fe7c247 Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console 2011-09-08 15:11:55 +02:00
Lopin
d5cbc97373 Core/Spells: Changed targets of Lifebinder's Gift (search for entry instead of area ally). For conditions thanks Anubisss 2011-09-08 13:50:01 +02:00
Spp-
eddcb8ffbf AccountMgr singleton converted to namespace with free functions as it has no internal state 2011-09-08 10:49:58 +02:00
kaelima
e67a33eaaa Revert "Core/GameObjects: Fix possible crash in GameObject::SetDestructibleState."
This reverts commit 85c7a916a0.

Ty Shauren.
2011-09-07 15:11:12 +02:00
kaelima
6078eebc45 Fix typo in 9d90c8245b and unintended change in b08900d033b51632e9adef8cb227a71a1061be5f. 2011-09-07 15:09:53 +02:00
Chaplain
dcc3b2e341 Core/Mechanic: Remove unneeded(now) argument. 2011-09-07 11:04:20 +03:00
kaelima
5e81be4fec Scripts/Ruby Sanctum: Remove unneeded spellscript for Baltharus.
Also let his clone cast enervating brand.
Thanks Shauren.
2011-09-07 09:35:30 +02:00
kaelima
784415bb8e Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2011-09-07 00:25:12 +02:00
kaelima
9d90c8245b Core/Spells: Deep freeze should do damage instead of freezing on targets with permanent stun immunity. 2011-09-07 00:19:40 +02:00
Spp-
31c615b84f Core/OutdoorPvp: Remove usage of "friend class ..." (Use functions to access private members) 2011-09-07 00:11:43 +02:00
VladimirMangos
5823b0379b Core/Loot:
- SMSG_LOOT_MONEY_NOTIFY is sent after SMSG_LOOT_CLEAR_MONEY.
- Fixed chat message displayed when looting gold with > 1 member in group.
2011-09-07 00:04:27 +02:00
kaelima
85c7a916a0 Core/GameObjects: Fix possible crash in GameObject::SetDestructibleState. 2011-09-06 23:56:55 +02:00
Nay
152f446c60 DB/BGs: Fix capturing of Snowball GY - AV
Counter-hack a hack with a hack. Closes #222
2011-09-06 21:20:14 +01:00
Nay
990ab77b82 Core/PacketIO: Remove most calls to hexlike()
These are not needed in production code (even in debug logging)
2011-09-06 19:32:06 +01:00
Nay
dc123820ad Core/Spells: Correct a DBC mistake in Improved Stings (R2) 2011-09-06 18:12:09 +01:00
Chaplain
c190326de4 Core/Mechanic: Implement Diminishing Returns for miss\parry\dodge. Original author for parry\dodge case Lynx3d.
fixes: #2339, #2536, #887, #687 etc.
2011-09-06 18:43:55 +03:00
Fredi Machado
2baca2d3ca Core/Scripts: Code style and cleanups in npc_special.cpp
- Removed hungarian notation
- moved types before the const keyword
- applied TC code style
- some code cleanups
2011-09-06 10:16:21 -03:00
Spp-
30fb856ea3 Fix typo (Rename SPELL_AURA_PREVENT_RESSURECTION to SPELL_AURA_PREVENT_RESURRECTION) 2011-09-06 14:23:53 +02:00
QAston
dad9d07045 Merge pull request #2920 from Chaplain/cleanup
Core/Auras: Improvements in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE handling: 
* Weapon specific case for MOD_DAMAGE_DONE_PCT shouldn't change PLAYER_FIELD_MOD_DAMAGE_DONE_PCT, because PLAYER_FIELD_MOD_DAMAGE_DONE_PCT applyed for _all_ damage that deal target.
* Fixed applying SPELL_AURA_MOD_DAMAGE_PERCENT_DONE for SpellDamageBonus.
2011-09-06 02:37:21 -07:00
QAston
94126e0369 Core/Spells: Fix some talents with incorrect target entries in dbcs. This is an alternative fix for #2848. Closes #2846 Closes #2848. 2011-09-06 11:21:40 +02:00
Chaplain
207f598a20 Core/Auras: Fixed applying SPELL_AURA_MOD_DAMAGE_PERCENT_DONE for spellBonusData
fixed #2834
2011-09-06 12:05:36 +03:00
Spp-
4560991144 Core/Handler: Do now use dynamic memory allocation in character creation 2011-09-06 10:41:10 +02:00
Spp-
b7882e0fa8 Partial revert of fcf58e7 (both check performed inside IsInMeleeRange) 2011-09-06 10:36:20 +02:00
Shauren
ea14e096ac Core/Entities: Vehicles should be able to be both source and target of map scripts 2011-09-06 10:33:45 +02:00
Chaplain
abf9ac3159 Core/Auras: Weapon specific case for MOD_DAMAGE_DONE_PCT shouldn't change PLAYER_FIELD_MOD_DAMAGE_DONE_PCT, because PLAYER_FIELD_MOD_DAMAGE_DONE_PCT applyed for _all_ damage that deal target.
*fixed #2842
*updated comment
2011-09-05 19:43:24 +03:00
Nay
fd3bd4c49d Core/Quests: Implement quests that require PlayerSlain. Closes #169 2011-09-05 15:20:02 +01:00
kaelima
99935fd98c BG/Isle of Conquest: Fix a crash in RemovePlayer. 2011-09-05 15:56:47 +02:00
kaelima
d295bc4d19 Core/Spells: Fix Sentry Totem's bind sight. 2011-09-05 15:48:41 +02:00
Shauren
f13f32c972 Core/Achievements: Award normal mode achievements when instance was done on heroic mode 2011-09-05 15:21:37 +02:00
kaelima
5cf1ccb4e9 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2011-09-05 14:54:41 +02:00
kaelima
f8023d912d Core/PacketIO: Fix some more "unprocessed tail data" errors.
Also some cleanup.
2011-09-05 14:54:19 +02:00
Spp-
3fac9914be Core: Code cleanup (here and there) 2011-09-05 14:01:50 +02:00