Commit Graph

16461 Commits

Author SHA1 Message Date
Kandera
aa0ff294d2 Core/Battlefield: Correct previous commit 2012-08-20 13:51:58 -04:00
Kandera
9dd3789719 Core/Battlefield: correct wintergrasp faction for horde (thx kirkita), added grab passenger spell as per sniffs. 2012-08-20 13:51:58 -04:00
Kandera
17e2c3a800 Core/Battlefield: cleanup a magic number 2012-08-20 13:50:51 -04:00
Kandera
34b93b455a Core/Battlefield: added spellscript names for force building. (thx warpte) 2012-08-20 13:50:50 -04:00
Warpten
094f98d3a9 Battlefield/Wintergrasp:
* Use correct spells on losing and winning factions
* Enums renaming, lowerCamelCase wherever applicable
* Rename some methods and class attributes for them to sound more English and less Engrish or even Frenglish (\o/)
* Use correct spells when trying to build mechanical units at the Workshops.
2012-08-20 13:50:49 -04:00
Kandera
d31902d858 Core/Battlefield: Fix issue with previous commit. codestyle cleanup and attempt to fix vehicle issues with worldstates. 2012-08-20 13:49:22 -04:00
Kandera
9c5b1b2bb6 Core/Battlefield: Correctly cast the teleport spell (data from sniffs). codestyle cleanup 2012-08-20 13:49:21 -04:00
Kandera
cbc0f01da4 DB/Battlefield: added sql for correct targetting for vehicle creation spell casts. 2012-08-20 13:49:20 -04:00
Kandera
b700f545c5 Core/Battlefield: fix issues with vehicles. return correct vehicle data when using getdata. small cleanups. codestyle 2012-08-20 13:49:19 -04:00
Subv
5ec5bc1721 Battlefields/Wintergrasp: Fixed a crash when leaving a capture point.
Fixed the worldstate counters

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-08-20 13:49:19 -04:00
kandera
6639347d37 Core/Battlefield: Fix build. closes #5707 2012-08-20 13:49:18 -04:00
thomas33
7988edda1c Core/Battlefield: Cleanup 2012-08-20 13:49:17 -04:00
thomas33
c44a723ca0 Core/Battlefield: more cleanup 2012-08-20 13:49:17 -04:00
thomas33
7b0a7ef4f3 Core/Battlefield: cleanup 2012-08-20 13:49:16 -04:00
thomas33
2a4b976e41 Core/Battlefield: pPlayer -> player 2012-08-20 13:49:15 -04:00
thomas33
547bb47575 Core/Battlefield: plr -> player 2012-08-20 13:49:14 -04:00
Kandera
b04ad4401d Core/Battlefield: Cleaned up all incrementquest functions as this is a hacky way to do it 2012-08-20 13:48:53 -04:00
Kandera
07c8eec963 Core/Battlefield: remove handling for aura application when entering water. handled by liquid data. 2012-08-20 13:48:53 -04:00
Kandera
7491926e0c Core/Battlefield: fix stupid mistakes. sorry! 2012-08-20 13:48:52 -04:00
Kandera
00f8858838 Core/Battlefield: attempt to correctly fix again. 2012-08-20 13:48:51 -04:00
Kandera
e9323b2c2d Core/Battlefield: revert part of previous commit and correctly fix .bf stop crashing 2012-08-20 13:48:50 -04:00
Kandera
29343947e9 Core/Battlefield: attempt to fix crashes. please test and confirm 2012-08-20 13:48:50 -04:00
Subv
f9c9622f86 Battlefields/WG: Refactored duplicated code 2012-08-20 13:48:49 -04:00
Manuel Carrasco
ce17607595 BF/Battlefield: Small improvement, thanks to Subv. 2012-08-20 13:48:48 -04:00
Manuel Carrasco
27bfafe0e1 BF/Wintergrasp: Removed harcoded Workshops related spawns, db data is used now. 2012-08-20 13:48:47 -04:00
Manuel Carrasco
d7a7a9800b Battlefield: Make sBattlefieldMgr a pointer. By Subv. 2012-08-20 13:48:47 -04:00
Manuel Carrasco
1f6eec4754 BF/Wintergrasp: Implemented better support for Wintergrasp phasing. It has been done by checking player's distance to the Caputre Point on every tick. Now it is performed using spell_area.
P.D: Reverted my last commit, it was wrong (my apologies)
2012-08-20 13:36:38 -04:00
Manuel Carrasco
efcfdc4c39 BF/Wintergrasp: It's not necessary to remove Spell Spiritual Immunity manually. 2012-08-20 13:36:38 -04:00
Manuel Carrasco
3478f3e7b7 BF/Wintergrasp: Now graveyards use db spawned spirits. 2012-08-20 13:36:37 -04:00
Manuel Carrasco
82b49c7b84 BF/Wintergrasp: Restored functionality to OnCreatureCreate function, which was out of date. 2012-08-20 13:36:36 -04:00
Manuel Carrasco
c580ec24a7 BF/Wintergrasp: Removed uneeded check , it has been performed on every tick update. It is already handled by the aura system.
Furthermore, the aura is correctly added to the spirits using creature_template_addon, the statements for this are already in Template_update.sql
2012-08-20 13:36:11 -04:00
Manuel Carrasco
ecb5adef24 DB: Remove data already pushed to master. 2012-08-20 13:36:11 -04:00
Manuel Carrasco
ac2a95336e DB: Killed some DB errors. 2012-08-20 13:36:10 -04:00
Kandera
4c3692cc36 Battlefield/Wintergrasp/Scripts: removed a few unneeded casts. 2012-08-20 13:36:09 -04:00
Kandera
dd05f1dcd2 fix crash with groups, added enum for battlfield leave reasons 2012-08-20 13:36:09 -04:00
Kandera
6318fd91ff added enum for battlefield leave reason. 2012-08-20 13:36:08 -04:00
Kandera
f663f881f7 fix broken stalker npc id. 2012-08-20 13:36:07 -04:00
Kandera
ba91b8bde9 change some packets. fix sql. 2012-08-20 13:36:06 -04:00
Kandera
16f2c3a48e merge master into wintergrasp and fix build errors. yay me! 2012-08-20 13:34:04 -04:00
tobmaps
c28a8aafc0 Core/Battlefield
* Fix battle start
* cleanups and code style fixes
2012-08-20 13:30:19 -04:00
tobmaps
23b59c5603 Core/Battlefield
* Fix compile
* Restored GO damage events after recent changes
2012-08-20 13:29:52 -04:00
Shocker
ff85ebe632 Fix Didn't Stand a Chance achievement 2012-08-20 13:29:52 -04:00
Nay
afd9c28d8e - Rename scriptnames to keep naming consistent;
- Template updates and spells to WG vehicles;
- Cleanup SQL files a bit.
2012-08-20 13:29:22 -04:00
Nay
b1a300545c Missed changes on previous commit. 2012-08-20 13:28:52 -04:00
Nay
1e8814c8fa Moved SQL and TXT files to Wintergrasp_temp;
Clean-up and split up SQL files;
Fixed SQL import errors;
Add template updates for most creatures and GOs
2012-08-20 13:28:51 -04:00
Imprtat
c736dc3e34 Core/Battlefield: fix copy/paste typo in prev commits 2012-08-20 13:25:50 -04:00
Imprtat
d45b66ce22 Core/Battlefield: missed changes 2012-08-20 13:25:49 -04:00
Imprtat
4ac5301c9f Core/Battlefield: removed "magic numbers" 2012-08-20 13:25:48 -04:00
Imprtat
eb669c31e2 Core/Battlefield: added enum for worldstates 2012-08-20 13:25:47 -04:00
Kandera
09192e23c1 Sql/Wintergrasp: add sql files for wintergrasp implementation 2012-08-20 13:21:53 -04:00