aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/Gnomeregan
AgeCommit message (Collapse)Author
2024-01-08Core/Creatures: Moved autoattack handling from scripts to gameShauren
2023-09-17Scripts/Gnomeregan: Added dungeon encounter idsShauren
2023-04-10Core/AI: Drop script_waypoints and move data to waypoint_data (#28879)ModoX
2022-10-04Core/Scripts: Save instance data in JSON formatShauren
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-05Add "On" to some gossip methods in AI (#25415)Maks Szokalski
* Add "On" to some methods * Update npc_innkeeper.cpp * Update zone_borean_tundra.cpp (cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-01-24Core/Misc: Fix static analysis issues (#25178)Giacomo Pozzoni
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24Core/WorldObject: Replace non-std::chrono SummonGameObject overloadsCarbenium
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest (cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-24Core/WorldObject: Replace non-std::chrono SummonTrigger overloadsCarbenium
(cherry picked from commit 3620b47c412d88cc2e0ab10e2654913e5487c8ac)
2022-01-24Core/WorldObject: Remove non-std::chrono SummonCreature overloadCarbenium
Remove TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0); (cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2021-12-073.3.5 gameobject summoner (#23289)Giacomo Pozzoni
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*) * Scripts/Misc: Fix build * Core/TempSummons: Rename GetSummoner() to GetSummonerUnit() * Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too * Fix build * Core/TempSummons: Allow GameObject to be owner of TempSummon * Core/TempSummons: Add support to SAI for GameObject owner of TempSummon * Scripts/Misc: Fix no-pch build * Core/TempSummons: Implement PR comments (cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
2021-06-19Scripts/Instance: Transition Gnomeregan to boss states (instance spawn group ↵Treeston
prep) (cherry picked from commit a4fc32dd867aa4e3eba762a890cc845604e82043)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-23Core/Movement: waypoint movement (#20121)ccrs
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management. Ref 28050f3 #18020 (taking the good parts and ignoring the incomplete work) (cherry picked from commit 7fff83d67526efff63867d41b9e036a19a9287b3)
2020-08-13[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. (cherry picked from commit e2a1ccd118d129b96e09ff1a15ed0adb1d4a3897)
2020-05-03Core/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) (cherry picked from commit f913f3bb8977c127d200d5d4a608ab434b21bbcd)
2020-04-29Core/Misc: camelize GetFaction/SetFaction properlyariel-
(cherry picked from commit 4c4dca6d694bd1064b403a31a5b1c776a326f3ce)
2020-01-02New YearAokromes
2019-07-21Core/Creatures: Various fixes for creatures, regarding combat conditions, ↵xinef1
despawning, and few others (#18998) * Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn Unified some creature despawning code, removed some brutal direct calls in scripts Don't play death anim on forced despawn Removed some redundant visibility changes on creature despawn Fixed possible problem with pet initializing template info from difficulty greater than normal Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call Moved RegenerateMana function to general Regenerate(Power) function Fixed increased health regeneration from polymorph for pets Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly Simplified ForcedRespawnTime code in ForcedDespawn Do not allow to assist unit while evading or when enemy is evading Do not allow to attack other units when evading or when the unit is evading Corrected distance checking code before creature is allowed to evade, should fix some common problems Properly return summon position for summoned creatures as their respawn position Properly stop all moving units on gossip hello, no matter their npc flags (cherrypicked from e1f14215d86fc9f0cd041f0e87bf0a689c086329)
2019-06-08Core/PacketIO: Rewrite updatefield handlingShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-06-16Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map*Shauren
2018-05-07Core/Misc: Fixed rotation of many gameobjects summoned in tol barad, ↵Shauren
garrison and various scripts
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-06-04Core/Game: Include cleanup part 5Shauren
* ObjectMgr.h * Player.h * Unit.h * G3D should no longer propagate everywhere from Spline/MotionMaster
2017-05-28Core/Scripts: Include cleanupShauren
2017-05-18Core/Game: Include cleanupShauren
* Mostly aimed at removing Log/DatabaseEnv includes from other headers * Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files * Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-02-11Core/Entities: debloat SummonGameObject parameter list using proper wrappers ↵ariel-
and enable GO rotation in scripts - There's still an overload allowing for x, y, z, o to be passed directly - Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs) (cherry picked from commit 62bfee37cb21584cef631dda428feaf5eb829cda) # Conflicts: # src/server/game/Battlefield/Battlefield.cpp # src/server/game/Battlegrounds/Battleground.cpp # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/GameObject/GameObject.h # src/server/game/Entities/Object/Object.cpp # src/server/game/Entities/Object/Object.h # src/server/game/Spells/SpellEffects.cpp # src/server/scripts/Commands/cs_gobject.cpp # src/server/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp # src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp # src/server/scripts/Kalimdor/zone_feralas.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp # src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-12-01Scripts: Minimize duplicated enum names in header files (#18346)Duarte Duarte
This reduces the number of cache resets with the Zapcc compiler Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-11-01Scripts/VioletHold: rewrote the whole instancejoschiwald
thanks @MitchesD for help (cherry picked from commit df21162fe44d2ff29c201a9004586f560789c38b) (cherry picked from commit 3a4f54197c05ce4209c7e659acfd382896607265) (cherry picked from commit f50df728201849ee7185d33c5a061c91e781c8de) (cherry picked from commit 95bae7143f0f4bb7d5975f8a61daa3c533f48225) (cherry picked from commit 5406f82044e7bd6ceb024a67f33c1674400cdc1f)
2015-10-04Core/Misc: removed some useless map checksjoschiwald
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-09-25Scripts/Misc: Make InstanceScript::Initialize() obsoletejackpoz
Move all InstanceScript initialization code from Initialize() to the constructor. InstanceScript::Initialize() is now obsolete, please don't use it anymore. The only reason it's still in the sources is for backward compatibility.
2014-09-16Core/Scripts: Fixed PCH buildShauren
2014-09-15Core/Scripts: Fixed build of misc scripts, only zone_* and instance_* remainShauren
2014-09-14ScriptsShauren
* Introduced GetGuidData/SetGuidData to store guids in instance scripts (GetData64/SetData64 are still there) * CONDITION_INSTANCE_INFO: Changed existing DATA64 condition to GUID_DATA to preserve current use of this instance info type (most/all assume the data is a guid) and moved DATA64 to a different value - no db changes needed * Fixed compile in boss scripts starting with letter A
2014-09-14Core/Entities: Use ObjectGuid class in game projectShauren
2014-09-07Core/Misc: dropped obsolete GameObject::GetGameObject methodjoschiwald
2014-09-07Core/InstanceScript: refactored load and save methodsjoschiwald
2014-08-26Scripts: Correct despawn time of multiple objectsDDuarte
WorldObject::SummonGameObject respawn time is in seconds and not milliseconds
2014-05-20Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*jackpoz
2014-04-29Core/Misc: Remove obsolete C++11 backward compatibility macrosDehravor
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-21Scripts/Gnomeregan: moved Blastmaster Emi gossip to dbjoschiwald
2014-04-20Fixed spelling typo in gnomeregan.cpp script.warmech
Fixed a typo on line 32 where [GOSSIP_START_EVENT "I am ready to being"] should read [GOSSIP_START_EVENT "I am ready to begin."]
2014-01-24Scripts: Gossip can crash with null instanceVincent_Michael
2014-01-23Scripts: A lots of changes here and there (maybe useless?!?)Vincent_Michael
2014-01-01Update copyright note for 2014.Vincent_Michael
Happy new year.