Commit Graph

4681 Commits

Author SHA1 Message Date
Knindza
dd3f4a5f8e fix(Scripts/Zones/Creature): Infra-Green Bomber (#18752)
* Updating Creature.

* Delete data/sql/updates/pending_db_world/rev_1713104748708628400.sql

* Updating Bomber
2024-05-12 11:03:21 +01:00
Balleny
31096df053 fix(Scripts/TheEye): correct first phoenix in p5 (#18802)
correct first phoenix in p5

should spawn 15 seconds before 2nd gravity lapse
2024-05-11 13:54:51 +01:00
Jelle Meeus
d44c8990c1 fix(Scripts/Spell): Fix Void Zone damage calcs for Netherspite, Blaumeux (#18807)
* fix(Scripts/Spell): Fix Void Zone damage calcs for Netherspite, Blaumeux

* remove blank line

* remove four_horsement_consumption SpellScript

* update comment
2024-05-11 13:54:26 +01:00
Jelle Meeus
2c771397ca fix(Scripts/Naxxramas): Maexxna more blizzlike web wrap (#18843)
* WIP maexxna web wrap

* add custom summon web wrap

* progress

* save

* something that works

* update sql

* cleanup script

* clean sql

* remove orientation from position

* fix: cast web wrap on multiple targets

* fix: web wraps should not attack

* adjust vertical speed to reduce speed if close, avoid ceiling yeet

* rename candIt to itr

* remove unused wraps2

* style

* use event instead of update(diff)

* update spell_dbc sql

* include player header to fix error: invalid use of incomplete type

* include SpellAuraEffects header

* fix Effects start at 1 in DBC

* fix web wraps attacking

* calc distance with hypotf, define vspeed ranges, remove trig webwrap enum

* fixup! calc distance with hypotf, define vspeed ranges, remove trig webwrap enum

* fix: call target selection with pos 0, use IsPlayer()

* add validate

* fixup! fix: call target selection with pos 0, use IsPlayer()

* remove not needed header

* remove empty lines

* use registry macro

* Revert "remove not needed header"

This reverts commit 254717d27e196a1ec108db5a5e29e37e9e2237a6.
2024-05-11 13:53:29 +01:00
Jelle Meeus
ac203da3d3 fix(Core/Unit): SPELLMOD_RESIST_MISS_CHANCE should decrease miss chance (#18849)
fix: hitchance should decrease misschance
2024-05-11 13:51:17 +01:00
sudlud
cd63cc0bc4 fix(Conf): align LeaveGroupOnLogout default in core with worldserver.conf.dist (#18859) 2024-05-11 14:37:22 +02:00
Jason Mok
d34f64a832 fix(Core/Misc): Correct typo when loading reference loot templates (#18872)
- Fix typo when loading reference loot templates
- Closes #18870

Co-authored-by: Jason Mok <jasonmok@Jasons-MacBook-Air-4.local>
2024-05-09 13:19:28 +02:00
Anton Popovichenko
9815025341 feat(Core/Network): Add Proxy Protocol v2 support. (#18839)
* feat(Core/Network): Add Proxy Protocol v2 support.

* Fix codestyle and build.

* Another codestyle fix.

* One more missing include.
2024-05-04 13:38:32 -03:00
Walter Pagani
715b290cb7 feat(Map): Add open world LOS settings (#18816)
* chore. Add open world LOS settings

* Name change and conditional deny

* modify information in worldserver.conf.dist

* Remove pvp from variables and constants
2024-05-04 12:10:24 -03:00
Jelle Meeus
0dc822d21e fix(Scripts/Magtheridon): Clicking cubes should Banish Magtheridon (#18856)
* init

* rewrite without action

* fix: add Talk(SAY_BANISH)
2024-05-04 11:56:48 -03:00
sudlud
ab7405f94e fix(Core/Map): remove hackfix that blocked update of GOs beeing set active (#18812)
- this just broke the whole purpose of setActive(true) if the
  gameobjects is still not really beeing set active afterwards
- GetGridActivationRange() returns 0.0f for gameobjects anyways
- so CalculateCellArea() will result in the minimal cell area
  around the gameobject's position
- if the cell around the gameobject should not be updated, the
  gameobject should not have been set active in the first place
2024-04-30 06:56:17 -03:00
Knindza
21698031c5 fix(Scripts/Arenas): Updating timer for Shadow Sight spawns (#18748)
* Updating Creature.

* Updating Arenas

* Delete data/sql/updates/pending_db_world/rev_1713104748708628400.sql
2024-04-30 02:09:27 -03:00
天鹿
f203b1b9dc fix(Scripts/PlayerScript): PlayerScript Error (#18806)
Update PlayerScript.cpp
2024-04-29 02:31:14 -03:00
天鹿
81280cd560 refactor(Scripts/Karazhan): 'uint' It can never be less than 0 (#18726)
Update boss_chess_event.cpp
2024-04-27 06:17:38 -03:00
Balleny
7a2f6ff8e5 fix(Core/Battleground): EOTS adjust flag respawn timer (#18759)
adjust flag respawn timer
2024-04-27 06:17:11 -03:00
sudlud
0a376bdc76 fix(Core/GameObject): load guid based scripts correctly (#18811)
- m_goData must be assigned before Create() is beeing called
- otherwise GetScriptId() can't load the correct scriptiD
  in Create()
- all in all this is now more in line with how it's beeing
  done in Creature.cpp
2024-04-26 20:56:46 -03:00
Anton Popovichenko
b90136d80d fix(Core/Pet): Fix pets chasing when pet and target spins uncontrollable (#18798) 2024-04-24 16:25:37 -03:00
Walter Pagani
03f6dde549 fix(Core/SmartAI) fatal error: unused parameter pathId (#18795)
fix. fatal error: unused parameter pathId
2024-04-24 08:22:24 -03:00
Balleny
c4726b2d0b fix(Scripts/TheEye): Update Alar Dive Bomb timings (#18654)
Update Alar Dive Bomb timings
2024-04-23 18:54:45 +02:00
Balleny
f380e8f625 fix(Scripts/TheEye): Update Astromancer timings and add phase (#18655)
* Update Astromancer timings

* Reworked order and timings

* Whitespace removal

* Remove more whitespace

* Update boss_astromancer.cpp

* cleanup .schedule
2024-04-22 13:22:38 +02:00
Balleny
43792db685 fix(Scripts/TheEye): Update Kaelthas Phoenix timers (#18657)
Update Kaelthas Phoenix timers
2024-04-21 21:57:24 +02:00
Jelle Meeus
c738f0d67c fix(Scripts/Hyjal): Cannibalize should heal more than 1 (#18766)
* init

* include SpellScript.h
2024-04-19 22:20:24 -03:00
Gultask
6f154d0a6b feat(Core/SmartAI): Add support for waypoint_data in SAI (#18706)
* Create rev_1712670662273633900.sql

* eol?

* doesn't like a comment at the end, ok, ok

* init

* mack

* Update SmartScript.cpp

* kurzel

* random paths and garg

* Update rev_1712889530436412200.sql

* brend & marge

* Update rev_1712889530436412200.sql

* movement actions

* Update SmartScriptMgr.h
2024-04-18 10:31:41 -03:00
Anton Popovichenko
5386443388 fix(Core/Characters): Fix crash on characters deletion with COD mails. (#18754)
fix(Core/Characters): Fix crash on characters deletion.
2024-04-17 03:53:43 -03:00
Andrew
ef0ebe38d0 fix(Scripts/Pet): Fix crash when spawning lightwell by hand (#18660)
Co-authored-by: Pagani Walter <paganiwalter@gmail.com>
2024-04-17 03:12:20 -03:00
Walter Pagani
eced002ef9 fix(Scripts/Hyjal): fatal error: comparison of integers of different signs (#18755)
* fix. fatal error: comparison of integers of different signs

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp

---------

Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2024-04-14 19:37:02 -03:00
amed80
781190c73b fix(Scripts/Hyjal): fix Mark of Kaz'rogal timer (#18753)
fix Mark of Kaz'rogal timer
2024-04-14 20:10:29 +02:00
Andrew
a8471d0f87 fix(Scripts/Hyjal): Azgalor Doom should not be cast on the MT (#18738) 2024-04-14 08:30:27 -03:00
Andrew
4294525084 fix(Core/Spells): Dive Bomb should not share damage (#18740) 2024-04-14 08:30:16 -03:00
Walter Pagani
564192f881 fix. Prevent character deletion if you have an email (#18743)
* fix. Prevent character deletion if you have an email

* Conditional revert

* change message

* original message
2024-04-14 08:00:50 -03:00
Andrew
cdc72216c8 fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unab… (#18732)
fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unable to drain mana
2024-04-13 17:15:20 +02:00
Andrew
22c8469d8c fix(Core/Spells): Fix Anetheron sleep only targetting himself (#18735) 2024-04-13 17:14:07 +02:00
Anton Popovichenko
11ac6c70db fix(Core/Scripts): Fix one more typo after scripts refactoring (#18730)
fix(Core/Scripts): Fix one more typo after scripts refactoring.
2024-04-12 16:58:07 -03:00
Dan
ec10eb841c fix(Scripts/Hyjal): Archimonde finger of death condition (#18681)
* init

* yes

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
2024-04-12 13:28:24 -03:00
Anton Popovichenko
c796d9291e fix(Core/PlayerScript): Fix adding XP on quest completion and other overlooks. (#18728)
* fix(Core/PlayerScript): Fix adding XP on quest completion.

* Fix other overlooks.
2024-04-12 12:12:57 -03:00
天鹿
0e1888ac92 feat(Core/Scripts): Optimize AchievementScript (#18705)
* Add files via upload

* Update AchievementScript.h
2024-04-12 11:00:31 -03:00
天鹿
b3a332f57c feat(Core/Scripts): Optimize AllBattlegroundScript (#18704)
* Add files via upload

* Update AllBattlegroundScript.h
2024-04-12 11:00:16 -03:00
天鹿
a4af83b277 feat(Core/Scripts): Optimize AllCommandScript (#18703)
* Add files via upload

* Update AllCommandScript.h
2024-04-12 10:59:56 -03:00
天鹿
d87af54675 feat(Core/Scripts): Optimize AllSpellScript (#18702)
* Add files via upload

* Update AllSpellScript.h
2024-04-12 10:59:37 -03:00
天鹿
170817e66d feat(Core/Scripts): Optimize GameEventScript (#18711)
* Add files via upload

* Update GameEventScript.h
2024-04-12 10:56:46 -03:00
天鹿
a2c867fcf2 feat(Core/Scripts): Optimize GroupScript (#18713)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update GroupScript.h
2024-04-12 10:56:31 -03:00
天鹿
e2a07cf9b7 feat(Core/Scripts): Optimize GuildScript (#18714)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update GuildScript.h
2024-04-12 10:56:12 -03:00
天鹿
1ecce50e06 feat(Core/Scripts): Optimize LootScript (#18715)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update LootScript.h
2024-04-12 10:55:54 -03:00
天鹿
9464068625 feat(Core/Scripts): Optimize MailScript (#18716)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MailScript.h
2024-04-12 10:55:35 -03:00
天鹿
e4cae908fa feat(Core/Scripts): Optimize MiscScript (#18719)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MiscScript.h
2024-04-12 10:55:18 -03:00
天鹿
574bdc2869 feat(Core/Scripts): Optimize PetScript (#18720)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update PetScript.h
2024-04-12 10:55:04 -03:00
天鹿
55233dd17b feat(Core/Scripts): Optimize ServerScript (#18721)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update ServerScript.h
2024-04-12 10:54:35 -03:00
天鹿
8d20a25e96 feat(Core/Scripts): Optimize UnitScript (#18722)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update UnitScript.h
2024-04-12 10:54:20 -03:00
天鹿
83c4562f3d feat(Core/Scripts): Optimize WorldObjectScript (#18723)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update WorldObjectScript.h
2024-04-12 10:53:59 -03:00
天鹿
d162817d33 feat(Core/Scripts): Optimize WorldScript (#18724)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update WorldScript.h

* Update ScriptMgr.cpp
2024-04-12 10:53:42 -03:00