Commit Graph

722 Commits

Author SHA1 Message Date
Aokromes
719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes
54057b1ed4 fix merge 2017-01-01 16:27:00 +01:00
Rushor
b418b5b58f Scripts/Quest: Work Work! Move Lazy Peon script to SAI 2017-01-01 15:42:33 +01:00
Keader
481160caac Core/Scripts: Black Temple misc fixes
Closes #18176
* Implemented faction change of Ashtongues when Shade of Akama dies
* Moved factions to black_temple.h
* Removed explicit from EnslavedSoulEvent (Reliquary of Souls)
* Fixed a typo in Skeram Script (followup 5f44890049)
* Fixed spell Shadow Inferno (Illidari Nightlord)
2016-12-28 16:11:44 +01:00
Keader
dc7cd66a70 Core/Scripts: Added missing spells in Skeram (#18486) 2016-12-28 16:11:01 +01:00
Aokromes
949ce2d576 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc75)
2016-12-16 19:54:22 +01:00
Duarte Duarte
49dcbf43eb Optimizations for Zapcc compiler 2016-12-01 03:42:50 +01:00
tkrokli
64d39af11a Core/Scripts: move npc_saat to DB (#17813)
The core script only contains gossip handling + conditions.
- remove script from file the_black_morass.cpp
- thereby removing 1 line of hardcoded text
- remove redundant SD2 comments in header
- add SAI, gossip and conditions to DB
2016-10-24 13:37:21 +02:00
SnapperRy
cfc8cbf42f Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
2016-10-04 06:36:09 +02:00
SnapperRy
ad98ab192c Core/Script: make creature Webbed Creature spawn creature Expedition Researcher when appropriate.
Also don't allow it to spawn a copy of itself.
2016-10-01 16:48:48 +02:00
Aokromes
2f6c01ed29 Delete incorrectly readded file 2016-09-22 03:15:37 +02:00
treeston
8a402b9f6b Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true 2016-09-20 20:28:45 +02:00
treeston
c1cc7e0a36 Core/Movement: Add new SplineChainMovementGenerator that allows accurate replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB. 2016-09-20 12:54:54 +02:00
treeston
9a829b4761 Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially 2016-09-03 17:26:20 +02:00
Aokromes
3e00b379f3 Scripts/Misc: Delete no longer used files 2016-08-31 08:44:01 +02:00
treeston
109d87d3c3 Entities/Gossip: The Big One™ that gets rid of all uses of The Bad™ and The Ugly™, e.g. gossip preprocessor macros, and replaces them with the new-and-shiny gossip functions. 2016-08-31 08:39:33 +02:00
Aokromes
df2c6972c4 Whitespace clean-up 2016-08-29 01:20:31 +02:00
Aokromes
2e3db272e3 more missing overrides 2016-08-05 02:14:51 +02:00
Aokromes
1ec3b04951 More overrides 2016-08-05 01:56:50 +02:00
Aokromes
f00d77e2b9 more missing override 2016-08-05 01:43:00 +02:00
Aokromes
59244d6e73 More missing overrides 2016-08-05 01:33:17 +02:00
Aokromes
14ee1c992f revert fail 2016-08-03 14:16:30 +02:00
Aokromes
bb79774f01 Core/Scripts: convert script npcs_riverbreeze_and_silversky to SAI
By tkrokli
(remove dead code)
2016-08-03 11:35:28 +02:00
ariel-
30d4f70533 Core/Entities: debloat SummonGameObject parameter list using proper wrappers 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 62bfee37cb)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/scripts/Commands/cs_gobject.cpp
	src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
	src/server/scripts/Kalimdor/zone_feralas.cpp
2016-08-01 01:23:47 -03:00
tkrokli
e0e4510e38 Core/Scripts: zone_silithus.cpp cleanup
By tkrokli
2016-07-30 12:18:34 +02:00
ariel-
88bb891a71 Core/Misc: fix issues reported by static analysis 2016-07-26 03:15:20 -03:00
ariel-
291a633c35 Core/Scripts: cleanup Asaad and get ride of a few static analysis issues while at it 2016-07-26 03:15:19 -03:00
ariel-
fa8662e617 Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
	src/server/scripts/Kalimdor/zone_azshara.cpp
	src/server/scripts/Kalimdor/zone_durotar.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
2016-07-23 07:02:25 -03:00
ariel-
878ac1b90e Core/Scripts: update boss_altairus.cpp, indentation and whitespace cleanup 2016-07-23 06:42:52 -03:00
ariel-
2d3fa37ef1 Core/Scripts: Baleroc cleanup
- Remove redundant OnGameObjectCreate/Remove, base implementation already takes care of adding and removing doors
- Added missing overrides, fixup bracing and whitespace
- Revamped a little achievement script and get ride of ugly CAST_AI
2016-07-23 06:39:15 -03:00
ariel-
ea8bb37bc7 Core/Scripts: add missing override and silence a warning in MSVC 2016-07-23 04:21:08 -03:00
Snapper
c82ecf4976 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values 2016-07-20 19:17:06 +02:00
Aokromes
4e31162a42 Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. (#16739)
Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429)
2016-07-20 16:44:24 +02:00
Aokromes
416aaa8c16 delete another no longer used file 2016-07-20 16:27:40 +02:00
Aokromes
c028afbf55 delete unused file 2016-07-20 16:17:52 +02:00
Aokromes
0fc8ecf7c2 another build fix 2016-07-20 14:22:55 +02:00
Naios
29eed2c20f Core/Scripts: Move the ragefire chasm scriptloader into the correct file
(cherry picked from commit 4710b1c8fe)
2016-07-19 14:18:42 +02:00
Aokromes
24f1927c97 Core/Scripts: Delete unused code 2016-07-17 15:55:20 +02:00
sun
6f10e72aa8 copyright 2016-07-10 12:59:50 +00:00
Aokromes
a527aaf835 Scripts/Fireland: Remove warning 2016-07-03 19:16:30 +02:00
Aokromes
73563434fd Merge branch 'build_fix' into '4.3.4'
Script/Firelands: Fixed Baleroc Build



See merge request !28
2016-07-03 16:37:39 +00:00
Flameshot
9ddc68b689 Script/Firelands: Fixed Baleroc Build 2016-07-03 19:33:41 +03:00
Girip Dragos
b921940c21 Scripts/The Vortex Pinnacle: Handled SPELL_LIGHTNING_BLAST 2016-07-03 14:48:30 +00:00
Aokromes
f58a2441aa Scripts/Firelands: Baleroc Encounter
By  Krudor
2016-07-03 14:21:02 +02:00
Aokromes
b790c23d54 Scripts/VortexPinnacle: Fix scripts loading 2016-07-02 17:04:23 +02:00
Aokromes
bb470df873 compile fix 2016-07-02 16:23:22 +02:00
Aokromes
1718cba085 Scripts/VortexPinnacle: Fix (C) dates 2016-07-02 16:11:57 +02:00
Aokromes
dc11f9fdd5 Scripts/Instance: The Vortex Pinnacle
By Mihapro
2016-07-02 16:06:29 +02:00
Aokromes
17a50fe8ed Scripts/HoO: Compile fix 2016-07-02 14:47:08 +02:00
Aokromes
b967f53646 Scripts/HoO: Templeguardian Anhuur Changes
By NorthStrider
2016-07-02 14:27:29 +02:00