Commit Graph

388 Commits

Author SHA1 Message Date
tkrokli
8df4706992 Core/Scripts: move npc_experience hardcoded text to DB 2016-08-25 09:07:45 +02:00
Gustavo
989aaaa8b5 Scripts/Pet Implemented Argent Squire/Gruntling and Argent Pony Bridle 2016-08-25 08:31:48 +02:00
tkrokli
8a0990376d Core/Scripts: npc_wormhole #define text moved to DB (#17805)
Another core script hardcoded text removal:
- removed #define text from script
- added the text to gossip_menu_option
- added and renamed enum to match DB entries
- minor additional adjustments and comments

Closes #6841
2016-08-23 13:30:27 +02:00
tkrokli
03bafe334c Core/Scripts: move Pet Trainer gossip to DB
SQL content based  on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator

- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file

Closes #14719
2016-08-15 03:17:53 +02:00
tkrokli
2507b9f8af Core/Scripts: remove 2 unused scripts (#17759)
These scripts are no longer in use:
- generic_creature
- trigger_death
2016-08-11 13:29:28 +02:00
ariel-
62bfee37cb 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)
2016-07-30 18:50:44 -03:00
SnapperRy
03b15d968b Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
2016-07-05 15:19:30 +02:00
treeston
c6606b7615 Merge remote-tracking branch 'tkrokli/npc_locksmith' into 3.3.5 (PR #17099) 2016-06-09 13:19:17 +02:00
tkrokli
582af02509 Core/Scripts: remove hardcoded text from npc_sayge
- remove hardcoded (and wrong) text from the script
- copy valid text from broadcast_text to gossip_menu_option
- gossip_menu / npc_text is already correct in TDB 335.61
- sort + clean up core script enum list and add new entries
- keep gossip handling unchanged in the script (low prio)
2016-06-03 17:43:45 +02:00
tkrokli
e6ee6e2ae8 Core/Scripts: remove hardcoded text from npc_locksmith
- remove hardcoded text from script
- move the gossip handling to DB SQL
- move the script conditions to DB SQL
- use correct gossip from broadcast_text
- remove options not existing in broadcast_text
- add Key to Searing Gorge option (related spell)
- add The Eye of Haramad option (related spell)
2016-06-03 17:42:55 +02:00
Shauren
bee6525d1b Core/Misc: Fixed -Wmisleading-indentation warnings
(cherry picked from commit 3ac33163db)

# Conflicts:
#	src/server/game/Server/Protocol/PacketLog.cpp
2016-04-28 16:22:51 +01:00
Chaouki Dhib
dc3327f9c5 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.
2016-04-16 01:36:32 +02:00
Shauren
e52878b6b5 Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-04-02 17:05:46 +02:00
Vincent-Michael
5e74c2223b Core: Remove whitespaces 2016-03-16 21:40:15 +01:00
Naios
9e43365b3d Core/Scripts: Split the huge scriptloader into smaller pieces
* Each subdirectory contains it's own translation unit now
  which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused Battleground loader
* Ref #15671

(cherry picked from commit 5534915f74)
2016-02-22 16:25:54 +01:00
Kittnz
542f5264d3 Core/Pets: Move Egbert & Pandaren Monk into pet_generic.cpp 2016-02-18 21:30:49 +01:00
Kittnz
af5f4ae85b Pet/Misc: Improve Egbert's AI even more 2016-02-13 12:31:29 +01:00
Kittnz
2322ef3f50 Pet/Misc: Improve Egbert's AI 2016-02-13 12:06:19 +01:00
Keader
8130de1b9a Fix multiple summon of Omen (Lunar Festival) 2016-02-11 19:08:50 -03:00
Vincent-Michael
96cb26de28 Scripts: Fixed warning 2016-02-06 22:12:44 +01:00
Kittnz
add2179b75 Build fix 2016-02-06 22:03:24 +01:00
Kittnz
5650b9deb2 Pet/Misc: Implement Pandaran Monk followup 2016-02-06 21:58:16 +01:00
Kittnz
64d1addbbf Pet/Misc: Implement Pandaran Monk's pet abilitys 2016-02-06 21:55:54 +01:00
Rushor
c560cb0a0c Scripts/Northrend: Knockbackimmunity Cleanup 2016-02-06 18:17:16 +01:00
treeston
e064000a35 Code style, urand -> urandms. 2016-02-06 15:24:39 +01:00
Kittnz
57a5879070 Fix build & tabs 2016-02-06 15:17:09 +01:00
Kittnz
859b617613 Pet/Misc: Implement Egbert's running around
Closes #16479
2016-02-06 15:06:17 +01:00
Vincent-Michael
d1a185e3d5 Scripts: Added missing override 2016-02-05 21:57:05 +01:00
treeston
0813261c6f Merge branch '3.3.5-toytrain' into 3.3.5 (PR #16218) 2016-02-05 15:11:22 +01:00
MitchesD
ccad18b62d Merge pull request #16262 from sirikfoll/Torch
Core/Scripts Script Npc needed for Quest Torch Tossing, Part 2
2016-02-04 21:10:22 +01:00
ariel-
8baa447ed0 Implemented Book "Soothsaying for dummies", change of engineering/leatherworking specs possible! 2016-01-26 21:38:24 -03:00
treeston
8c7cd03d08 Item/Misc: Implement Toy Train Set and Wind-Up Train Wrecker. 2016-01-18 15:11:27 +01:00
Gabriele Gelardi
c0ed819e0c Scripts/Duel: prevent possible abuse in Duel Reset system 2016-01-17 17:15:09 +01:00
sirikfoll
8b74038531 Core/Scripts Script npc needed for Quest Torch Tossing part2
Script for Npc Torch Tossing Target_Bunny_Controller, responsable for handle the targets rotation for Midsummer Fire Festival quest, Torch Tossing.
2016-01-17 01:53:29 -02:00
treeston
2da458c56d Scripts/Instances: Complete rewrite of the boundary system.
- Migrate boundary logic to Maps/AreaBoundary instead of having it sit in InstanceScript (to possibly allow use for other purposes).
- Implement the first five boundary types in Maps/AreaBoundary.cpp.
- Add boundary checks to Creature's update logic
- Add boundary data for all Northrend raids
- Add boundary initialization structures and methods to InstanceScript
- Modify EnterEvadeMode signature. It now passes a value from the EvadeReason enum as parameter to allow special casing depending on evade reason
- Remove previous (weird) boundary code that had them linked to GO spawns
2016-01-12 22:24:23 +01:00
velinath
d87f504b53 Core/Scripts/DB: Migrate specially scripted taxi NPC's to SmartAI 2016-01-09 14:39:07 -05:00
velinath
4e4ef26108 Core/Scripts/DB: Migrate Wing Commander Dabir'ee to SAI 2016-01-05 19:23:48 -05:00
treeston
1d9d03b289 Merge remote-tracking branch 'velinath/sai-migrations-2' into 3.3.5-base 2016-01-05 23:36:57 +01:00
Andrew Letson
9e366b36ae Core/Scripts/DB: Migrate Skyguard Handler Deesak to SmartAI 2016-01-05 16:38:55 -05:00
velinath
f21199dbc9 Core/Scripts/DB: Migrate Skyguard Handler Irena to SAI 2016-01-04 20:23:01 -05:00
velinath
295f76d77c Core/Scripts: remove npc_taxi unused scripts 2016-01-04 09:14:03 -05:00
velinath
caff65bdb1 Core/Scripts/DB: move Gryphoneer Windbellow to SAI 2016-01-03 18:30:47 -05:00
joschiwald
35aed8902a Scripts/Taxi: addition to 660f7e72be 2016-01-02 23:57:56 +01:00
tkrokli
b0da73fc5d Core/Scripts/DB: move Wyrmrest Temple taxi FP to SAI
Closes #15957

Move NPC gossip menu options from core script to DB SAI script
for the 3 local Flight Path NPCs in Wyrmrest Temple:

- 26443, Tariolstrasz (Steward of Wyrmrest Temple)
- 26949, Torastrasza (Majordomo to the Ruling Council)
- 27575, Lord Afrasastrasz (Commander of Wyrmrest Temple Defenses)

Additional positive effect: the NPCs are now using verified Blizzlike text in their gossip.

Extra credits:  @velinath for relevant background information in the issue,
@Helias & @ShinDarth for their excellent Keira2 web-based database editor.
2016-01-02 22:50:18 +01:00
treeston
b6ed3d3fc2 Merge pull request #16126 from velinath/taxi-to-sai 2016-01-02 17:39:54 +01:00
Rushor
923a368ac7 Update copyright note for 2016 2016-01-01 12:02:33 +01:00
velinath
be38235306 Adds William Kielor to SAI 2015-12-29 21:00:45 -05:00
Killyana
79c9af11b9 Creature/script: William Kielar
Fix Gossips used for taxi
Closes #16112
2015-12-29 19:23:02 +01:00
Vincent-Michael
2ee01a7b3d Core: Fix non pch build 2015-11-13 20:19:16 +01:00
ShinDarth
3b1db7a514 Scripts/DuelReset:
- do not reset when duel is fled
- minor improvement to SpellHistory::RestoreCooldonStateAfter duel method
2015-11-07 21:16:18 +01:00