Commit Graph

1044 Commits

Author SHA1 Message Date
acidmanifesto
5fc650645d Scripts\Event: COG Corrections (#27532)
Goldshire is a area not a zone. Zone is Elwynn Forest.

CHILDEREN is spelled with 1 E not 2.
2022-01-07 17:39:52 +02:00
offl
251304b19c Scripts/Spells: Generic spell script for quest portals (#27305) 2021-12-01 02:52:31 +02:00
offl
2779fb602f Scripts/ZG: Improve High Priestess Jeklik (#27274) 2021-12-01 02:48:45 +02:00
offl
ef4c878d26 Scripts/Spells: Small cleanup for gen/item spell scripts (#27311) 2021-11-24 17:05:01 +02:00
Gildor
cb4e12bdf0 Scripts/Uldaman: Fix Ironaya crash (#27189)
* Scripts/Uldaman: Fix Ironaya crash
* little code cleanup

* oops
2021-10-29 19:38:01 +02:00
offl
e4a82ee97a Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
Ref #26912
2021-09-16 21:15:52 +03:00
offl
c4741a131a Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913) 2021-09-15 01:04:03 +03:00
Shauren
325bdc0ab0 Core/Spells: Remove remaining direct accesses to SpellInfo::Effects 2021-09-04 14:21:02 +02:00
offl
0e12e23f77 DB/Creature: Remove remaining non-static flags from DB, finally (#26884) 2021-09-04 02:13:45 +03:00
Giacomo Pozzoni
0800ab20a8 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts
2021-08-09 17:00:34 +02:00
offl
ec3b571eca Scripts/SWP: Update M'uru to new register model (#26793) 2021-08-09 14:18:24 +03:00
offl
863635dbf9 Scripts/Molten Core: Update remaining scripts to new register model (2/2) (#26710) 2021-07-17 02:37:53 +03:00
offl
09da8dae0e Scripts/Molten Core: Update remaining scripts to new register model (1/2) (#26709) 2021-07-17 02:37:43 +03:00
offl
7f853ea735 Scripts/ZG: Update scripts to new register model (5/5) (#26695) 2021-07-14 22:24:36 +03:00
offl
8230f937f1 Scripts/ZG: Update scripts to new register model (4/5) (#26694) 2021-07-14 22:24:26 +03:00
offl
43055f4244 Scripts/ZG: Update scripts to new register model (3/5) (#26693) 2021-07-14 22:24:16 +03:00
offl
5e240a4a50 Scripts/ZG: Update scripts to new register model (2/5) (#26692) 2021-07-14 22:24:06 +03:00
offl
572b480a2e Scripts/BWL: Update scripts to new register model (3/3) (#26691) 2021-07-14 22:23:17 +03:00
offl
f7ecd86a24 Scripts/BWL: Update scripts to new register model (2/3) (#26690) 2021-07-14 22:22:46 +03:00
offl
67bd11f5ff Scripts/BWL: Update scripts to new register model (1/3) (#26686) 2021-07-13 14:16:00 +03:00
offl
60761136e7 Scripts/SFK: Update Apothecary Hummel to new register model (#26685) 2021-07-13 14:15:51 +03:00
offl
3d19a71ef2 Scripts/ZG: Update scripts to new register model (1/5) (#26684) 2021-07-13 14:15:41 +03:00
jackpoz
e9a8cea018 Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589
2021-06-12 18:02:01 +02:00
offl
180f495c70 Scripts/Misc: Remove few more evil flags
Ref #25764
2021-06-10 19:15:35 +03:00
offl
dadc67c883 Scripts/Zone: Update Blasted Lands scripts to new register model (#26570) 2021-06-07 00:26:18 +03:00
offl
e7e4786606 Scripts/Spells: Add comments with id & name of spells part 4 2021-05-31 20:35:03 +03:00
offl
03c727326d Scripts/Spells: Add comments with id & name of spells part 3 2021-05-31 04:13:29 +03:00
offl
0e804c95ac Scripts/Spells: Add comments with id & name of spells part 2 2021-05-29 20:47:46 +03:00
offl
80a4b7f1e2 Scripts/Spells: Add comments with id & name of spells part 1 2021-05-28 17:33:15 +03:00
offl
9f188d70fe Scripts/Alterac: Update remaining scripts to new model (#26469)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:18:15 +02:00
offl
3b863f6a20 Scripts/BRS: Update scripts to new model (3/3) (#26418)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-15 14:20:51 +02:00
offl
0fc3a05d3c Scripts/BRS: Update scripts to new model (2/3) (#26417)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-15 14:20:20 +02:00
offl
747333149d Scripts/BRS: Update scripts to new model (1/3) (#26416)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-15 14:19:16 +02:00
offl
62594c62f6 Scripts/Misc: Let core take care of Feign Death related flags 2021-03-12 18:06:10 +02:00
Shauren
a34519bded Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT) 2021-03-02 23:11:49 +01:00
offl
3cb70ee62a Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DB 2021-02-04 15:11:22 +02:00
offl
1ed79d7a2e Core/Scripts: Verify & migrate spell school immunities to DB
Some already are stored in DB. Looks like they all are still valid for master
2021-01-26 23:43:50 +02:00
Giacomo Pozzoni
661f554b9e Core/Misc: Fix static analysis issues (#25924)
* Core/Misc: Fix static analysis issues

* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"
2021-01-24 16:04:47 +01:00
offl
7b79adf5b1 DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
Ref #25764
2021-01-15 01:53:43 +02:00
Kargatum
a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
Ovah
850b88546f Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* (#25655)
# Conflicts:
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/game/Instances/InstanceScript.h
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/instance_blackrock_caverns.cpp
#	src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp
#	src/server/scripts/EasternKingdoms/TheStockade/instance_the_stockade.cpp
#	src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
#	src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
#	src/server/scripts/Maelstrom/Stonecore/instance_stonecore.cpp
#	src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-11-17 19:45:13 +01:00
Keader
3c201b7554 Scripts/ScarletMonastery: Decrease boss number
Headless Horseman do not use BossAI anymore (since it can be done multiple times)
2020-10-28 11:59:41 -03:00
Keader
a93abcf803 Scripts/ScarletMonastery: Headless Horseman Rewrite (#25614) 2020-10-26 14:04:36 -03:00
Trond B. Krokli
22a1797731 Scripts/Stormwind City: Tyrion talks to player (#25613)
Add player parameter to the `Talk()` command to resolve an issue where
the creature_text `SAY_TYRION_1` shows $n in-game during the course of
events of the quest "The Attack!" in Stormwind City.

Soon to be replaced by SAI scripting. This is a temp solution.

Ref. #25608 & #24735

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-10-25 10:10:07 +01:00
offl
8c303e4f97 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239
2020-09-12 22:18:32 +03:00
Maks Szokalski
41188eb535 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
NoName
dad187615d Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <vertozor@gmail.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Carbenium <carbenium@outlook.com>
2020-09-08 17:12:52 +02:00
Treeston
0c7f6ac89f Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful. 2020-09-07 18:25:49 +02:00
Shauren
7d4fbf706a Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-20 16:03:47 +02:00
Peter Keresztes Schmidt
6c7837f947 Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter

* Scripts/HoR: Fix wrong emote during escape event

* Core/Unit: Make improve type safety of HandleEmoteCommand

Change argument type to the expected enum type Emote

* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE

UNIT_NPC_EMOTESTATE is no flag field
2020-08-15 15:29:43 +02:00