aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-05-23Core/Player: update interaction checks, some info taken from clientariel-
2017-05-23Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ ↵Shauren
to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib) (cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
2017-05-23Core/Hotswap: Fix Reload on LinuxDoctorKraft
* Closes #19465
2017-05-23Core/Hotswap: Replace #ifdef conditions with comparisons of values defined ↵Shauren
in CompilerDefs.h (cherry picked from commit 43510a258c83215efcf5e70a253523e8a4199502)
2017-05-23Fix buildAokromes
2017-05-23Core/Defines: define faction templates and replace magic numbers from scriptsForesterDev
2017-05-19Scripts/ICC: add missing cases for Dark Martyrdom difficulty entriesccrs
how come nobody noticed this?
2017-05-16Core/Scripts: improvements on the Thorim scriptariel-
Improvements done to initial work by joschiwald: - Fixed stormhammer casting and visuals - Fixed spell credits - Implemented removal of Impale when HP is higher than 90% - Corrected faction templates for the pre combat creatures - Implemeted Leap on the arena adds (thanks to joschiwald for implementing conditions) - Scripted lighting charge using AuraScript periodic - Fixed timings - Corrections on the hallway encounters (added knockback immunity to minibosses too) - Fixed multiple blizzards issue - Lever will now reset properly, should players fail to get inside. This allows the door to be opened more than once during the combat - Corrections in the outro event - Implemented paralytic field traps on the hallway. - Implemented Ancient Gate of the Keepers opening. - Changed blizzard bunny targetting to conditions entirely. - Removed obsolete scripts - Standards: delete spell script names by ScriptName instead of spell_id - Swapped factions for pre-adds (alliance should get horde trash and vs) - Fixed Leap setting home position for adds - Removed a bunch of magic numbers - Runic Colossus should finish current Runic Explosion before beginning to attack - Fixed UpdateAI logic to put it in line with other scripts (ie don't stop casts) Special thanks to: - chaodhib for the blizzard trigger waypoints and investigation on spell radius - Malcrom for creating the Conditions Creator :P Closes #15008 Closes #17072
2017-05-16Scripts/Ulduar: Initial implementation of the Thorim Encounterjoschiwald
Closes #7651 Fix logic fail in achievement: SPELL_LIGHTNING_CHARGE aka 62279 is casted on Thorim itself to buff him, not the damage spell tracked by the achievement.
2017-05-14Core/Spells: Change the radius of PBAoEs following the feedback received on ↵Chaouki Dhib
(#16290)
2017-05-14Update RBAC.hjoschiwald
2017-05-14Scripts/Events: Add missing line for "Love is in the air" boss fight (#19521)TecDian
2017-05-14Core/Gossip: Fix gossip bug on modify money (#19551)Rochet2
2017-05-14Core/Unit: don't clear low health aura states on deathariel-
- Confirmed with sniffs, healthless states aren't cleared - Prevents some procs from happening Closes #19754
2017-05-12Core/Logs: Reword some logsAokromes
2017-05-07Core/Quests: Display quest objective explore completion messagexinef1
- Game client should show an on-screen message for explored quest objectives (AreaExploredOrEventHappens) when the objective has been completed. Closes #19543
2017-05-07Core/Globals: fix array out of bounds crash on loading npc_text_localeariel-
Closes #19556
2017-05-06Core/Players: fix null dereference crashariel-
2017-05-05Core/Entities: allow guardian pets to inherit spellmodsariel-
2017-05-05Scripts/Commands: Update reload commands namesChazy Chaz
2017-05-04Core/Spells: Move Big Blizzard Bear implementation to spell script (#19544)Mikhail Redko
2017-05-04Core/Misc: Update locales_gossip_menu_option to simple systemChazy Chaz
2017-05-04Core/Misc: Update locales_npc_text to simple systemChazy Chaz
2017-05-04Core/Misc: Update locales_creature_text to simple systemChazy Chaz
2017-05-03Core/Movement: Ported teleport packet fixes from master branch to get rid of ↵Shauren
ugly relocations
2017-05-03Core/Unit: revert recent changesccrs
master cherry pick incomming :D
2017-05-03Core/Unit: 6fe4d37f8d followupccrs
2017-05-03Core/Achievement: Fix startupAokromes
2017-05-02Core/Spells: change to the way the spell effect SPELL_EFFECT_JUMP workChaouki Dhib
2017-05-02Core/Misc: Update locales_achievement_reward to simple systemChazy Chaz
Closes #19528
2017-05-02Core/Unit: SendTeleportPacket correctionsccrs
2017-05-02Core/Creature: drop method SetPositionccrs
eeeevil, use UpdatePosition. It was there just for old scripts compatibility.
2017-05-02Core/Transport: fix logic errorccrs
justStopped was always set true, but when transports spawn and remain stationary timer, _currentFrame->ArriveTime and _currentFrame->DepartureTime are set to 0, making justStopped always remain true and triggering incorrect calls.
2017-05-02Core/Creature: IsMovementPreventedByCasting followupccrs
Handle correctly move allowed channels: IsChannelActive checks if channel phase has started (after cast if any) Must skip the other checks since all channels focus target. ref #19532
2017-05-01Core/Misc: build fixesariel-
2017-05-01Core/Scripts: unified scripted gossip/quest apiariel-
- Changed self-accessor on GameObjectAI to "me", like UnitAI - Moved all related functions to AI, now Unit and GameObject have the same function names with identical behaviour - Remove "OnUpdate" from CreatureScript/GameObjectScript, was never used and we already have AI Update method - Quest methods no longer return a bool, the return value was used to call the AI version if the ScriptMgr one returned false - Implemented GameObjectAI::Destroyed hook (was never called), implemented Damaged method - Rename OnStateChanged to OnLootStateChanged to reflect when it's really called, and created a new hook OnStateChanged that only gets called on GOState change - Since the functions are now only getting called from AI, made GetAI methods full virtual. (CanSpawn method is anyways going to be used on creatures with AI)
2017-04-28Core/Entities: moved PetAura handling to Player where it belongsariel-
2017-04-28Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hookariel-
- Duplicated logic never used, sometimes only ScriptMgr version was called, sometimes only AI - They only encourage bad scripting practices - You can still use OnSpellHit or a SpellScript
2017-04-28Core/Misc: camelize GetFaction/SetFaction properlyariel-
2017-04-27Core/Unit: revert 3ea46e57afccrs
After discussion we realized, ariel and me, that Creature and Unit IsMovementPreventedByCasting() have not the same checks (order matters)
2017-04-27Core/Unit: 229444b74a follow-upariel-
- IsFocusing is made virtual again, so there's no need to keep a duplicated function This reverts commit 5043639c563514c079ba6eb959dd4c1c555fa494.
2017-04-27Core/Misc: cleanup SetInFront usesccrs
Set in front modifies only the serverside orientation, use with care. Also check for current focus to prevent things like incorrect damage on casting creatures (ie dragon breath direction change in your face because of some taunt missclick)
2017-04-27Core/Unit: 2170541a51 followupccrs
use true as default value since pretty much all the script calls will expect that
2017-04-27Core/Scripts: Re-hack Boss Loken. Followup ↵Keader
3a0cb90ea994e82dd8c70888fb847082f738d5dc Loken still need ClearUnitState Hack to DoMeleeAttackifReady work
2017-04-27Core/Spell: move creature focusccrs
bellow the possible interruptions
2017-04-27Core/CreatureAI: b6b0353bff followupccrs
2017-04-27Core/Misc: 522f537048 followupccrs
2017-04-27Core/Petition: add missing increment on RemovePetitionsByOwnerAndType iterationccrs
2017-04-27Core/Spells: Corrected aura SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK handling ↵xinef1
for auras with very high values (#19054)
2017-04-27Core/Misc: implemented petition manager (#19010)xinef1
- Implemented manager for petitions to perform all petition related tasks and synchronize data with database. - This kills ugly synchronous querys on packet handlers