Commit Graph

5881 Commits

Author SHA1 Message Date
maximius
9fdc4e137b *Don't require AI for waypoint creatures. Hopefully this will fix the NPCs outside of Shadow Labyrinth never entering combat unless a player attacks them.
--HG--
branch : trunk
2009-10-13 19:11:34 -07:00
maximius
83b8b6590d *Fix - tradeskill passive buffs not applied at login, by MrSmite
--HG--
branch : trunk
2009-10-13 16:36:45 -07:00
maximius
a76ec97a06 *Add Reload AccessRequirement to reloadall command, by Xlybriem
--HG--
branch : trunk
2009-10-13 16:21:05 -07:00
maximius
913359d574 *Fix drop_mysql.sql wrong revokes, by Oculus
--HG--
branch : trunk
2009-10-13 16:19:48 -07:00
maximius
3069fd6fb1 *Krikthir the Gatewatcher - Implement Watch Him Die achievement & change defines to enums, by Tartalo
--HG--
branch : trunk
2009-10-13 16:18:00 -07:00
maximius
8a5ac3834d *Wintersgrasp - prevents team from using vehicles to damage their own buildings, by Spp
*Wintersgrasp - restore proper faction of units in Unit::RestoreFaction(), don't just always use faction_A, by Spp

--HG--
branch : trunk
2009-10-13 16:16:45 -07:00
maximius
f413a98862 *Some Exceptions for SetReputation, without this it is impossible to earn rep with Horde Expedition and Alliance Vanguard, by Themris
--HG--
branch : trunk
2009-10-13 16:13:33 -07:00
maximius
51da3f3433 *Fix several errors in boss_svala.cpp (wrong IDs, typos, crashes, etc) by Trazom
--HG--
branch : trunk
2009-10-13 16:12:25 -07:00
maximius
845f9036e5 *Grobbulus - fix Poison Cloud, by Cass
--HG--
branch : trunk
2009-10-13 16:07:23 -07:00
maximius
1791eb978b *Fix Anub'Rekhan initialization, by Tartalo
--HG--
branch : trunk
2009-10-13 16:01:55 -07:00
maximius
320feee9a3 *Add some missed timer changes to Kelthuzad from f9f9af1c2ae7
*When Wintersgrasp Battle ends, ressurect players -before- removing buffs, not after
*Fix some possible crashes in boss_svala.cpp

--HG--
branch : trunk
2009-10-13 15:59:11 -07:00
Paradox
67f9dbab58 * Fix CRLF and no newline in a couple of sqls
* Slight change to update loop to ensure expired auctions are't left in AH.

--HG--
branch : trunk
2009-10-13 18:35:36 -04:00
Muhaha
5bab3b0d09 *matrix punch script.
--HG--
branch : trunk
2009-10-13 20:21:50 +02:00
Biglad
93ecd5ba07 * Update .start to work while in ghost form, send ghost to nearest graveyard. use: /g .start when dead
--HG--
branch : trunk
2009-10-13 14:24:58 +01:00
Biglad
06849d6a81 * Add GO script for defender's portal, entrance to VoA
--HG--
branch : trunk
2009-10-13 12:03:40 +01:00
maximius
6048b30baa *Loken - Pulsing Shockwave, by Destalker
--HG--
branch : trunk
2009-10-12 19:22:07 -07:00
maximius
b8b49cb15a *Script for the boss Drakkari Colossus and Drakkari Elemental, by manuel
*Use Kill instead of DealDamage, should fix a crash in boss_svala, thanks Gyullo
*Update Naxxramas Worshippers script, by Destalker

--HG--
branch : trunk
2009-10-12 19:14:12 -07:00
maximius
404dacaaa5 *Select only expired auctions when updating, by Paradox
*Remove some useless code from AHBot, by Paradox

--HG--
branch : trunk
2009-10-12 18:54:43 -07:00
maximius
8d59bf8179 *Bitwise logic does not work on values that are not bitmasks. Thanks Spp for pointing this block of code out :)
--HG--
branch : trunk
2009-10-12 13:50:47 -07:00
Biglad
cb09262c1a * Fix bug with end of winterpgrasp, as zone is cleaned of corpses we must revive players if dead.
--HG--
branch : trunk
2009-10-12 13:49:28 +01:00
Machiavelli
1210b6f284 Remove watch flag (1) from characters that are watching a faction from the opposing team. Since r5857, these factions will no longer be flagged for watching if they are from the opposing team. All we need to do is clean up the data from when it was still bugged.
NOTE: running this may take a while depending on the size of your character database.

--HG--
branch : trunk
2009-10-11 22:52:36 +02:00
Machiavelli
0d75a8b7d4 Log contents of unprocessed tail data if logging is set to debug.
--HG--
branch : trunk
2009-10-11 21:11:59 +02:00
Machiavelli
4064709366 Fix a crash in void reaver script
--HG--
branch : trunk
2009-10-11 20:24:49 +02:00
Machiavelli
7e491b0fdd Never show standing with factions of the opposing team.
Minor cleanup in affected code.

--HG--
branch : trunk
2009-10-11 19:35:54 +02:00
Kudlaty
e113939587 Merge [SD2]
*Minor changes to includes for escortAI and followerAI
*Add function AssistPlayerInCombat() for escortAI and followerAI. m_creature will then assist a player being attacked by another creature, if escort/follow is active.
*Prepare escortAI for conversion to use escort states similar to followerAI. Add functions needed and also move some 'system-only' functions to private:
*Convert escortAI to use escort states instead of explicit boolean variable for each different state.
 Scripts updated accordingly and obsolete variables removed.
*Small cleanup in escortAI log messages.

--HG--
branch : trunk
2009-10-11 18:03:59 +02:00
Machiavelli
d19ecaa817 Fix CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED by doing a check in OPvPWintergrasp::Update as well as SetupOutDoorPvP
--HG--
branch : trunk
2009-10-11 12:27:50 +02:00
Machiavelli
0e419d0083 Comment out some as of r5847 deprecated code.
--HG--
branch : trunk
2009-10-11 12:21:43 +02:00
maximius
7a9f0a970f *Ignore react states in Creature::_IsTargetAcceptable.
--HG--
branch : trunk
2009-10-10 23:08:44 -07:00
Machiavelli
914fccad2a Implement FACTION_FLAG_SPECIAL(128) for home cities and their northrend representatives. Fixes bug that Alliance Vanguard rep updates were not sent to the client.
--HG--
branch : trunk
2009-10-11 02:29:52 +02:00
maximius
ebe28e2870 *Having to cast this seems silly to me. Oh well, farewell, const-ness!
--HG--
branch : trunk
2009-10-10 17:09:52 -07:00
maximius
c3dfa34d8d *Fix a typo in boss_krystallus, by Tartalo
--HG--
branch : trunk
2009-10-10 16:55:09 -07:00
maximius
8ea2639b62 *Creature::_IsTargetAcceptable rewrite, should hopefully fix the bugs ogeraisi reported.
*Creature health regen patch, written and tested by Gyullo.

--HG--
branch : trunk
2009-10-10 16:26:00 -07:00
Machiavelli
566472918b ReputationMgr changes part 2
--HG--
branch : trunk
2009-10-10 23:02:11 +02:00
Machiavelli
5fcf3b3d89 Changes to ReputationMgr::SetReputation that makes grouped reputation gains possible. Fixes ie. Alliance Vanguard/Horde Expedition rep, and correctly gives 25% of the earned rep to your home city to the other major cities of your faction.
Note: there will need to be some DB changes to creature_onkill_reputation to cover the grouped rep gains in some cases.

--HG--
branch : trunk
2009-10-10 22:59:25 +02:00
biglad
dfc2945961 * add a missed line when backing out ArP changes, (it was commented out anyway)
--HG--
branch : trunk
2009-10-10 17:44:07 +01:00
Machiavelli
fe5a3e3c43 * Backout a part of the latest Mangos merge, armor penetration related. Please first check whether or not we need the code, then test it, then push to repo, one change per commit.
--HG--
branch : trunk
2009-10-10 18:19:34 +02:00
Kudlaty
c70c43c1b0 Fix typo
--HG--
branch : trunk
2009-10-10 13:51:43 +02:00
maximius
b4c7a2514d *Blackfathom Deeps - Event: Aku'mai, by Tartalo
*Split Personality Achivement, by Destalker
*Halls of Lightning Fixes, by Destalker
    Volkhan fixes + Achievement
    Ionar Fix - without this he resets each time he is invisible, spamming sparks
    Arcing Burn - should be a debuff (and stackable, stackable part NYI :/)
*Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom
*Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass
*Merges by Stryker, thanks to all authors and testers.
[8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos
[8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos
[8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal
[8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal
[8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy
[8536] Fixed spell 62776. By: Ambal
[8539] Check pet aura range at area aura update. By: Ambal
[8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok
[8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok
[8561] Replace another auras code call by explicit code
[8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok

--HG--
branch : trunk
2009-10-09 20:48:55 -07:00
Machiavelli
3ccc348b09 * Correctly seperate the two blocks of SMSG_ALL_ACHIEVEMENT_DATA , pointed out by w12x
--HG--
branch : trunk
2009-10-10 00:33:49 +02:00
Machiavelli
5654721269 * Modify .respawn command handler so that it does not work on pets, fixes crash in underlying object functions.
--HG--
branch : trunk
2009-10-09 23:00:02 +02:00
Machiavelli
a4adccef0f * Fix "character freeze on map change" bug due to high number of achievements.
--HG--
branch : trunk
2009-10-09 22:25:46 +02:00
Machiavelli
afba628188 *PetAI update;
Pets now start attacking their owners target in defensive mode as soon as the hunter does (3.0.2 change)
Correctly chase target if attack command was given after pet has set gaze on target from defensive mode with chase = false

--HG--
branch : trunk
2009-10-09 21:34:23 +02:00
biglad
c13da994ef * Fix stop player falling off map or walking throught objects while using ConfusedMovementGenerator (original patch by ?????)
--HG--
branch : trunk
2009-10-09 19:21:31 +01:00
Chaz Brown
ad9eb5e89d * Some changes to scarlet ghouls script, still needs proper core support to work 100% correctly.
* Add item script for the harvester's gift, to prevent creating more than 5 scarlet ghouls, I know this can be done in a better way, but, I couldn't figure out how.
* Add new function Unit::GetAllMinionsByEntry(std::list<Creature*>& Minions, uint32 entry) used to correctly count how many scarlet ghouls a player has, can probably be handy in other situations.

--HG--
branch : trunk
2009-10-09 13:49:41 -04:00
Biglad
a6329701e2 * Fix exploit with non-combat pets, realy make them not fight, requires DB support set to type=12
--HG--
branch : trunk
2009-10-09 10:55:50 +01:00
Machiavelli
89b384618d * Seal of Command should not only proc on melee abilities as 3.1.3 sources show
--HG--
branch : trunk
2009-10-08 19:59:21 +02:00
Machiavelli
95bca88748 * Fix bug introduced in 5831 that caused certain physical abilities to do no damage.
--HG--
branch : trunk
2009-10-08 16:23:36 +02:00
Biglad
1e8fcf16f3 * Force pvp flag on player if assisting player all ready flagged for pvp, (exploit fix)
--HG--
branch : trunk
2009-10-08 13:39:56 +01:00
Machiavelli
8aae7e2d09 * missed changes to last commit (sorry)
--HG--
branch : trunk
2009-10-07 20:39:52 +02:00
Machiavelli
b059ff3839 * Do not make nonphysical damage spells that use EffectWeaponDmg (like Seal of Command) receive total damage mod % auras twice - based on nos4r2zod's patch for MaNGOS
--HG--
branch : trunk
2009-10-07 19:34:20 +02:00