Commit Graph

12177 Commits

Author SHA1 Message Date
QAston
7e99e5f094 Core/Spells:
- rename SpellInfo::IsAOE to SpellInfo::IsTargetingArea due to ambiguity of old name.
- add IsAffectingArea function to check whenever spell or it's effects are affecting objects in area and use new function to fix problems with hunter flares.
Closes #3310. Thanks to Kaelima and Warpten for research.
2012-02-03 22:24:03 +01:00
QAston
aae833a759 Core/Spells: fix GameObject spell cast on enemies, original patch by Svannon, thanks to horn for research. 2012-02-03 20:07:57 +01:00
QAston
c7ea952a47 Core/Entities: Rename UNIT_FLAG_OOC_NOT_ATTACKABLE and UNIT_FLAG_PASSIVE to UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC respectively. New names tell much more about what those flags do. 2012-02-03 18:46:05 +01:00
Shocker
08be716ef8 Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_* 2012-02-03 19:02:17 +02:00
kaelima
e602619912 Core/Player: Remove spell used to unlearn talents and replace with a direct packet send. Spell is not found casted in 3.3.5a sniffs. Thanks Malcrom for the hint. 2012-02-03 14:56:29 +01:00
Subv2112
229d4119e8 Core/SAI: Fixed SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-02 14:35:45 -05:00
Subv2112
953587abdb Fixed build 2012-02-02 13:15:44 -05:00
Subv2112
8dc75e7091 Codestyle: Converted some casts to their respective ToClass() 2012-02-02 13:03:54 -05:00
Kandera
588d117608 fix bad cmake file from move. 2012-02-02 09:33:43 -05:00
Shocker
1a41d8e1de Merge pull request #5012 from Vincent-Michael/tocr
Scripts/Trial of the Crusader: Some fixes for Beasts of Northrend:
* Add missing MovementInform handler filters for Icehowl
* Remove UNIT_FLAG_OOC_NOT_ATTACKABLE for Beasts of Northrend
* Fix codestyle for Beasts of Northrend

Closes #3193
2012-02-01 13:48:54 -08:00
Souler
eef0c61bbf Script/Spells: Solve problems with argent tournament spells
- Including cleanup in spell_generic
2012-02-01 16:02:58 +01:00
Subv2112
9b524b43fa Core/Spells: Spells with SPELL_AURA_PERIODIC_MANA_LEECH should skip unit target checking if the Targets are area targets, they are filled/validated later
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-31 20:27:22 -05:00
Subv2112
9361a6db2f Fixed build 2012-01-31 17:24:48 -05:00
Subv2112
faf99b833b Core/Achievements: Fixed achieements with ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_PERSONAL_RATING
closes #2021

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-31 17:14:12 -05:00
Subv2112
2786ea1f5e Core/Quests: Fixed a crash caused when trying to add a quest to a player who does not have any free slot in his quest log. fixes #4572
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-31 16:45:36 -05:00
Subv2112
229b97806a Core/Achievements: Fixed achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA requiring one extra win to complete, PersonalRating was not used here and has been removed from the call, related to issue #2021
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-31 16:33:21 -05:00
Subv2112
bdae78ac9d Core/LFD: Fixed possible multithreading crash, thanks LihO 2012-01-31 14:38:14 -05:00
Subv2112
1bc370aaf8 Core/Achievements: Fixed achievements with ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM, they were not accumulating the amount 2012-01-31 10:01:29 -05:00
Subv2112
29f8e4309e Core/Conditions: Allow using guid (negative value) in SAI conditions 2012-01-31 09:50:02 -05:00
Shauren
9d64dc1799 Scripts/Icecrown Citaldel: Fixed Bone Slice being used during first 10 seconds of the encounter after a wipe
Closes #5020
2012-01-31 14:09:08 +01:00
LihO
e9b8d10e23 Core/Battlegrounds: fixed logic in iterating through the PlayersNearPoint vector 2012-01-30 20:16:48 +01:00
Vincent-Core
4865d69383 Core/Script:
* Add missing MovementInform handler filters for Icehowl.
* Remove UNIT_FLAG_OOC_NOT_ATTACKABLE for Beasts of Northrend.
* Fix codestyle for Beasts of Northrend.
2012-01-30 14:05:43 +01:00
Bootz
0f0672ef3b Build System: Remove the 14month old source directories out of CMakeLists.txts
These were added back when trinity dropped framework...and are no longer needed.

Signed-off-by: Bootz <Stage6Dev@EMPulseGaming.com>
2012-01-30 06:13:20 -06:00
Shauren
01aeccb8d7 Core/ObjectMgr: Improved error message to include source of the error
SQL: Renamed files to match standards
2012-01-30 12:41:05 +01:00
Shauren
83e0486e59 Scripts/Icecrown Citadel: Professor Putricide will now remove Mutated Plague from players when dying 2012-01-30 12:31:59 +01:00
leak
0fbb86f221 Core/DBLayer: Restore removal and cleanup of respawn times of expired instances 2012-01-30 00:31:06 +01:00
Souler
75992143c1 Scripts/Spells: Fix Argent Tournament mount spells:
* Break-Shield
 * Charge
 * Defend (visual)
 * Mounted duel
 * Faction Pennants when riding argent tournament mounts
Closes #4917.
2012-01-30 00:21:42 +01:00
Subv2112
f525087538 Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-29 15:28:19 -05:00
Subv2112
89297933d9 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-01-29 13:50:12 -05:00
Subv2112
74b64150bb Core/Conditions: Implemented SAI conditions, only usable with events in which the invoker is a player.
sourceType = 22
sourceEntry = entryorguid
sourceGroup = eventId + 1
sourceId = SAI sourceType (0 = creature, 1 = gameobject, etc)

Also refactored some code

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-29 13:49:19 -05:00
Nay
c4588e013c Merge pull request #4932 from kandera/fix_seasonl_quest_reset
Core/Quests&GameEvents: fix seasonal quest check
2012-01-29 08:40:39 -08:00
Shocker
ff1964906b Merge pull request #4981 from Souler/fix_omen
Events/Lunar Festival: Fixed behaviour of Elune's Candle, Rockets and Rocket Clusters. Implemented AI for Omen and his summoning ritual.

Closes #4939
2012-01-29 07:11:16 -08:00
QAston
ad4cf93e08 Merge pull request #4785 from Warpten/lastStanding
Core/Arenas: Fix achievement [The Last Standing].
2012-01-29 05:50:16 -08:00
Souler
50a6ec015e Scripts/Spells: Fixed behaviour of Elune's Candle, Rockets and Rocket Clusters.
Scripts/NPC: Implemented AI for Omen and his summoning ritual.
2012-01-29 03:49:55 +01:00
Nay
5ceae46302 Core/Scripts: Rename pAI to ai 2012-01-29 01:48:36 +00:00
Shauren
71ec09ab1f Merge pull request #4986 from LiMCrosS/patch-1
Scripts/Icecrown Citadel: Updated Sindragosa MovementInform hooks to match the movement generator type
2012-01-28 13:56:23 -08:00
Shocker
0fcaa5349c Merge branch 'master' of github.com:TrinityCore/TrinityCore 2012-01-28 23:45:05 +02:00
LiMCrosS
fa384665af ICC/Sindragosa:
POINT_FROSTWYRM_LAND now is EFFECT_MOTION_TYPE
2012-01-28 19:27:52 -02:00
Subv2112
03953930f9 Scripts/Commands: Adjust .pinfo and .gm list to respect the realmid in account_access table.
closes #1306

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-28 16:03:36 -05:00
Subv2112
59f378ea89 Core/Conditions: Fixed the error introduced in the previous commit 2012-01-28 12:45:27 -05:00
Subv2112
ff81a2455b Core/Conditions: Make CONDITION_CLASS and CONDITION_RACE use a mask, this will reduce the amount of conditions needed
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-01-28 12:25:44 -05:00
Manuel Carrasco
2db5c13d8f Core/Spline: Removed redundant call. 2012-01-27 13:44:44 -03:00
Manuel Carrasco
ac40323ea0 Scripts/UK: Fixed crash. A better way must be implemented if there is any. 2012-01-27 13:07:40 -03:00
Subv2112
e43b1cd750 Core/SAI: Run mode should not be set to true each time a creature resets, it should use its previous value
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-27 08:34:36 -05:00
Shocker
83c85a2f07 Scripts/Utgarde Keep: Fix possible crsah in Ingvar code 2012-01-27 02:24:48 +02:00
Kandera
df7f98004b fix seasonal quest check 2012-01-26 10:04:12 -05:00
kaelima
6c1815db7f Core/Battleground: Remove useless and unused function 2012-01-26 14:48:05 +01:00
Spp
c9762b0e38 Core: Change Handlers location 2012-01-26 10:54:53 +01:00
Bootz
b83aa17126 Scripts/Kalimdor: Maraudon
* Fixed basic coding standards.
- Fixed Enums in Defines.
2012-01-26 03:06:48 -06:00
Bootz
bf4b83436a Scripts/Kalimdor: BlackFathomDeep
* Code Standardizations.
- Removed SD2 hieroglyphics.
- Removed Hungarian Notations.
- Fixed Enums in Defines.
2012-01-26 03:01:23 -06:00