Commit Graph
77 Commits
Author SHA1 Message Date
Subv 0d77ae8fc1 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-02-11 19:23:40 -05:00
Subv ff9830c18d Core/Spells: Blink wont be able to trespass solid objects anymore (walls/doors)
Refactored some code

Signed-off-by: Subv <[email protected]>
2012-02-11 19:23:18 -05:00
Subv 1fc3470233 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-02-11 14:29:13 -05:00
Subv f3802488ff Core/Collision: Missing a negation operator in Ring of Valor 2012-02-11 14:28:25 -05:00
Subv 7eab228818 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2012-02-11 13:49:41 -05:00
Subv 0e57de54fb Battleground/Collision: Fixed the DS waterfall and RV pillar glitches 2012-02-11 13:47:43 -05:00
Subv 231b849ac4 Fixed build 2012-02-11 11:05:37 -05:00
Subv 5d93b33f0f Fixed codestyle from last commit 2012-02-11 10:53:33 -05:00
Subv c5e2e189de Core/Conditions: Allow to set SAI conditions to both the invoker and the object using ConditionTarget column.
ConditionTarget 0 = invoker
ConditionTarget 1 = object

Signed-off-by: Subv <[email protected]>
2012-02-11 10:49:28 -05:00
Subv a3e739e726 Merge pull request #5178 from Kazt/master
Edit source files to represent the recent changes in the extractors (v4.00 2012_02) to avoid confusion with old extractors (v3.00 2010_07)
2012-02-10 15:56:56 -08:00
Subv 4ba341e892 Core/Spells: Removed deprecated code, fixed duration bonus of the Glyph of Dancing Rune Weapon 2012-02-09 15:27:12 -05:00
Subv 9791bb599a Merge pull request #5160 from TrinityCore/dynamic_vmaps
Added Dynamic Vmaps, RE-EXTRACT YOUR VMAPS
2012-02-09 11:17:05 -08:00
Subv2112 93d199f043 Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Subv ab60ef68dc SQL: Added some gossip menus
By Malcrom
2012-02-06 19:02:10 -05:00
Subv2112 40a78be796 Codestyle/Battlegrounds: Removed unused variables in BattlegroudAB.cpp
Signed-off-by: Subv <[email protected]>
2012-02-05 07:58:16 -05:00
Subv2112 3b10122c13 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2012-02-04 21:22:11 -05:00
Subv2112 31615bdc86 Core/Spells: Add a new parameter to Unit::SelectNearbyTarget to allow excluding a certain unit.
closes #4989
2012-02-04 21:21:51 -05:00
Subv 8ec7e787f6 Merge pull request #5060 from Souler/fix_argent_tournament_spells
[Bug/Fix] Warriors and tournament mounts
2012-02-04 18:00:04 -08:00
Subv2112 83c0b73efd Core/Battlegrounds: Fixed resources needed for each reputation and honor tick in Arathi Basin
closes #3021
closes #5076
2012-02-04 20:54:25 -05:00
Subv2112 d43bf0ad4a SQL: Correctly fixed recent sql 2012-02-04 20:01:27 -05:00
Subv2112 6896f82062 SQL: Delete before insert in previous sql 2012-02-04 19:55:07 -05:00
Subv2112 0e2ae5029a SQL: Added missing spawn of Spirit Healer in Desolace
Author: The-Legend
2012-02-04 19:51:39 -05:00
Subv2112 c6b1cc9c8b SQL: Fixed recently pushed SQL 2012-02-03 20:41:02 -05:00
Subv2112 4b53325a33 SQL/Quests: Quest Feedin' Da Goolz (12652) should be available to all races, fix by Armano 2012-02-03 20:34:56 -05:00
Subv2112 1975291a98 Core/Achievements: ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM should only be counted once for each new item you receive
closes #5065

Signed-off-by: Subv <[email protected]>
2012-02-03 20:04:26 -05:00
Subv2112 69ab572786 Codestyle/Logs: Add more detailed information in Creature::Respawn, replacing the useless previous log
Signed-off-by: Subv <[email protected]>
2012-02-03 19:37:28 -05:00
Subv2112 5462ee44e7 SQL: Added some gossip menus, by Malcrom 2012-02-03 16:25:47 -05:00
Subv2112 229d4119e8 Core/SAI: Fixed SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL
Signed-off-by: Subv <[email protected]>
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
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 <[email protected]>
2012-01-31 20:27:22 -05:00
Subv2112 8c87fd6841 DB/Achievements: Fixed achievement "Not So Fast".
Fix by furion
closes #4050
2012-01-31 18:18:33 -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 <[email protected]>
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 <[email protected]>
2012-01-31 16:45:36 -05:00
Subv2112 fc9e33e4c6 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2012-01-31 16:33:48 -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 <[email protected]>
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
Subv2112 f525087538 Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <[email protected]>
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 9de9f2883e SQL/Conditions: Added SQL update from previous commit 2012-01-29 13:49:50 -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 <[email protected]>
2012-01-29 13:49:19 -05:00
Subv2112 03953930f9 Scripts/Commands: Adjust .pinfo and .gm list to respect the realmid in account_access table.
closes #1306

Signed-off-by: Subv2112 <[email protected]>
2012-01-28 16:03:36 -05:00
Subv2112 7d0ec97910 SQL/Conditions: Updated conditions with CONDITION_RACE and CONDITION_CLASS.
Malcrom's sql
2012-01-28 12:56:32 -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 <[email protected]>
2012-01-28 12:25:44 -05: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 <[email protected]>
2012-01-27 08:34:36 -05:00
Subv2112 3d4f55723c Core/SAI: Linked events should be executed after the event that linked them is executed.
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target

Signed-off-by: Subv2112 <[email protected]>
2012-01-22 20:36:01 -05:00
Subv2112 c24248fabd Core/SAI: Allow SMART_ACTION_SEND_TARGET_TO_TARGET to target multiple targets at once, thanks Shauren 2012-01-22 10:46:32 -05:00
Subv2112 8e8be7e358 Core/SAI: CAST_AI will return NULL if the cast was not successful, no need to check for AIName, thanks Shauren 2012-01-22 10:42:13 -05:00
Subv2112 f4778a6b72 Core/SAI: Add the new action_types to the IsEventValid case check 2012-01-22 10:02:31 -05:00
Subv2112 8362e21b2a Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-01-22 08:04:39 -05:00
Subv2112 a3f595ee10 Core/SAI: Implemented SMART_ACTION_SEND_TARGET_TO_TARGET, it can be used to send targets previously stored with SMART_ACTION_STORE_TARGET, to another npc, the other npc can then access them as if it was its own stored list
Signed-off-by: Subv2112 <[email protected]>
2012-01-22 07:54:32 -05:00
Subv2112 07b1101a63 Core/SAI: Run mode should be disabled by default in creatures with SAI
Signed-off-by: Subv2112 <[email protected]>
2012-01-21 18:54:05 -05:00
Subv2112 f7276a95de Scripts/Achievements: Fixed achievement Shocking! on 10-man and 25-man
closes #4751

Signed-off-by: Subv2112 <[email protected]>
2012-01-09 20:36:56 -05:00
Subv2112 d02c781241 Core/Gossips: Fixed questgiver GOs that also have gossip menus, fixed gossip option selecting on GOs
Signed-off-by: Subv2112 <[email protected]>
2012-01-09 09:29:45 -05:00
Subv2112 7101e9626c Scripts/Commands: Fixed an error with account set gmlevel, the gmRealmID can be signed
Signed-off-by: Subv2112 <[email protected]>
2012-01-09 09:28:27 -05:00
Subv2112 5584354444 Core/Players: Fix crash in LoadFromDB
Closes #4724
Closes #4673
2012-01-08 18:37:16 +00:00
Subv2112 ddb4f0ce5b Core/Build: Fixed compile 2012-01-07 13:20:59 -05:00
Subv2112 3c4678085c Core/SAI: Removed unused variable: mResumeActionList
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:31:38 -05:00
Subv2112 a40839fd7b Core/SAI: Changed SMART_ACTION_CALL_TIMED_ACTIONLIST params, now it has only 2, id and timerType
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:29:26 -05:00
Subv2112 15d8763478 Core/SAI: Fixed the crash with using SMART_ACTION_ATTACK_START inside a TimedActionList, closes #4650
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:24:11 -05:00
Subv2112 7f977c28b6 Core/SAI: Fixed the behaviour of SmartAI::RemoveAuras, it should only remove the auras that are applied on the unit by casters other than the unit
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 20:50:05 -05:00
Subv2112 aaa255b83d Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 11:09:01 -05:00
Subv2112 d3b1c51b6e Core/Gossips: Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER, closes #4488
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 21:41:17 -05:00
Subv2112 235b941964 Fixed a typo
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 19:46:46 -05:00
Subv2112 d889edb436 Core/SAI: Self-casted auras should not be removed when the NPC resets
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 15:09:55 -05:00
Subv2112 8197c37a92 Vehicles with SAI should not kick their passengers when resetting
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 12:11:58 -05:00
Subv2112 7b094faa85 Core/SAI: SMART_ACTION_MOVE_TO_POS should not overwrite the effects of SMART_ACTION_SET_RUN
Signed-off-by: Subv2112 <[email protected]>
2012-01-03 16:13:34 -05:00
Subv2112 bbfb21022f Fixed compile, thanks Lopin for pointing out 2011-12-28 07:10:59 -05:00
Subv2112 d7266c3cae Core/SAI: Added also SMART_TARGET_OWNER_OR_SUMMONER to SMART_ACTION_MOVE_TO_POS.
Codestyle

Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:37:42 -05:00
Subv2112 bbce35687d Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into fix002 2011-12-27 20:31:55 -05:00
Subv2112 645a10d76f Core/SAI: Added support for SMART_TARGET_CREATURE_RANGE, SMART_TARGET_CREATURE_GUID, SMART_TARGET_CREATURE_DISTANCE, SMART_TARGET_GAMEOBJECT_RANGE, SMART_TARGET_GAMEOBJECT_GUID, SMART_TARGET_GAMEOBJECT_DISTANCE, SMART_TARGET_CLOSEST_CREATURE and SMART_TARGET_CLOSEST_GAMEOBJECT in SMART_ACTION_MOVE_TO_POS
Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:25:50 -05:00
Subv2112 c145c67331 Core/SAI: Enabled SMART_TARGET_STORED
Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:23:55 -05:00
Subv2112 83d5924715 Speedup loading in LoadCreatureFormations
Signed-off-by: Subv2112 <[email protected]>
2011-12-26 22:03:40 -05:00