aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2017-07-18Scripits/Item: Nitro. BOOSTS.treeston
2017-07-18Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's ↵treeston
called nitro _boosts_. Not _boots_. Nitro _boosts_.
2017-07-17Revert "Scripts/Commands: Fix a potential crash when summoning players that ↵treeston
are just logging on." - the check was unnecessary (already done in extractPlayerTarget). This reverts commit 05cdcdb230a9d69f8ad8f2af696f452151a1c364.
2017-07-17Scripts/Commands: Fix a potential crash when summoning players that are just ↵treeston
logging on.
2017-07-16Core/Misc: Fix static analysis issuesjackpoz
2017-07-15Core/Misc: Fix static analysis issuesjackpoz
2017-07-15Core/Misc: Fix static analysis issuesjackpoz
2017-07-15Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)Regigicas
Closes #20027
2017-07-11Some more script adjustments ported from #19930.treeston
2017-07-09Hi, I'm Treeston, and welcome to Combat PR Prep Refactors.treeston
Today, we're moving UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC to higher-level abstraction so combat manager can react to it. New methods on Unit: - void SetImmuneTo<All/PC/NPC>(apply, keepCombat = false); - bool IsImmuneTo<All/PC/NPC>() const;
2017-07-08Build fixKeader
2017-07-08Core/Custom: Fixed SPELLMOD_COOLDOWN exploit on Duel Reset systemKeader
Followup 0048d4b618e6503a5f1607f3503fcf2d48e6a385 Closes #17419
2017-07-08Scripts/Karazhan: Fix Attumen and Midnight not moving towards each other on ↵Nyeriah
phase transition after latest changes
2017-07-03Some more refactoring prep for combat/threat (#19930).treeston
2017-07-01Core/Custom: Fixed Duel Reset ExploitsKeader
Close #17419 *Fixed exploit with SPELLMOD_COOLDOWN *Fixed exploit with some items (like Sylvanas' Music Box) *Little cleanup
2017-07-01Nopch fix 5 and should be lastShauren
2017-07-01typo fixShauren
2017-07-01Nopch fix 4Shauren
2017-07-01nopch fix episode 3: revenge of that one boss in slabs that is borked anywaytreeston
2017-07-01[3.3.5] Combat/Threat rewrite - prep & refactor (#19966)Treeston
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
2017-07-01Core/Spells: Add missing validateShauren
2017-06-30Combustion will now properly go on cooldown when the buff is manually ↵treeston
cancelled. Fixes #19968.
2017-06-28Combat/threat rewrite prep - merge RBAC/DB changes.treeston
2017-06-24Warrior: Fix T10 Melee 4P Bonus (#19954)Gildor
2017-06-22Buildsystem: Exclude ScriptPCH from all targets when building dynamic ↵Shauren
scripts (except MSVC) (cherry picked from commit 550c57a0df954ade238f6cd0318cfc6890dd26f0)
2017-06-22Core/Scripts: Optimize PCH contentsShauren
(cherry picked from commit a9b64d737d866fcdbd46314bdd4e661af36216cd)
2017-06-22Buildsystem: Minor PCH building changesShauren
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header * Don't call the linker for pch helpertargets (cherry picked from commit 137f5e78877ef1b81f4dca68dd43268e325aeeed)
2017-06-19Core: ported headers cleanup from master branchariel-
2017-06-19Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50790acde8928aa0f3dc4a9c096b4a8cShauren
(cherry picked from commit 9299e9bde087af7e5d777d5a55a3b79d2b63c48e)
2017-06-18Core/Scripts: Fixed GAMEOBJECT_TYPE_DOOR closing automatically after being ↵S.V
opened with .gobj act (#19342) Closes #19261.
2017-06-18Core/Scripts: fix array out of bounds in Pit of Saron doorDataariel-
2017-06-17Correct some missing auth DB changes from b59ca1c.treeston
2017-06-15Rename .debug uws to .debug worldstate (clarity change).treeston
2017-06-15Fixes to all-reputation and all-skill custom option handling:treeston
- Move on-create customs (all explored, all reputations) to CharacterHandler::HandlePlayerLogin for first login. Fixes #19839. - Add Wrath factions to all reputations custom (it only had BC factions). - Remove unused ReputationMgr::SendStates. Add ReputationMgr::SendState handling for sending all updated states in arbitrary order if nullptr is passed (used in point #1). - Fix all weapon skills max custom to properly apply on learning new weapon skills.
2017-06-15Hunter: Fix Piercing Shot dot clipping (#19882)Gildor
Closes #19881
2017-06-12Add new command 'npc showloot'. Does exactly what it says on the tin.treeston
2017-06-12- Add new commands .group set assistant, .group set maintank and .group set ↵treeston
mainassist to toggle raid member flags. - Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12Removed a now-unused local (ca02629 follow-up)treeston
2017-06-12Make some adjustments to .summon and .group summon behavior to make them ↵treeston
more permissive: - Now only requires the either target's group leader or target itself to be on your map - Now summons all applicable group members even if one member fails checks - No longer has some truly weird edge case instance unbind code that could cause exploit behavior (Really, I have no idea why this existed, because it certainly didn't do what it might've been meant to do.)
2017-06-11Core/OutdoorPvP: yet more unused stuffariel-
2017-06-11Core/Scripts: fix some /W4 warningsariel-
2017-06-11Core/OutdoorPvP: fix another warningariel-
2017-06-11Core/OutdoorPvP: fix warningariel-
2017-06-11Core/OutdoorPvP: refactor using Position and Quat to pack parametersariel-
- Moved statics to cpp - Save scriptids into an array
2017-06-10Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury ↵ariel-
targetlist
2017-06-10So, I came in trying to fix gameobject LoS. So I restructured some stuff.treeston
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff. And remove the hack from Sapphiron because I could.
2017-06-08Core/Scripts: Simplify codejackpoz
Partially revert 753e7074d84b5a2e8d3c3e92d25c54bb25ba477e and 12c680f9b1f1068099c3b19443d93d456690ac56 to simplify the code and to only remove GMs from the target list.
2017-06-08Core/Scripts: filter out corpses from Sindragosa's Fury targetlistariel-
- This would incur in a crash after attempting to convert the Corpse object into Player Closes #19227 Closes #19862
2017-06-08[3.3.5] Get zone/area IDs from vmap data in the liquid update (#19840)Treeston
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup * Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject * Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields * Clean up liquid state handling on Unit and Player * Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject. Closes #16489
2017-06-07Pet/Guardian AI hook re-organizing (#19824)Treeston
* Pet/Guardian AI hook re-organizing: - Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets. - Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait. - Adjust PetAI to use DamageTaken instead of AttackedBy. - Adjust behavior of AttackStart on PetAI to compensate.