Machiavelli
beaca1bd34
Fix build
2011-08-07 21:58:35 +02:00
Machiavelli
2d3f51e6e5
Core/Spells: Fix Shaman talent Nature's Guardian and rewrite fix for fc52f08. Fixes some spells not triggering.
2011-08-07 21:19:27 +02:00
Machiavelli
3109d9c0ae
Core/Spells: Spells that can be spellstolen that have a permanent duration should respect the 2 minute spellsteal buff duration limit.
2011-08-07 17:49:02 +02:00
Shauren
f4f16aea28
Core/Spells: Fixed radius of Mutated Plague (Professor Putricide encounter)
...
Closes #2521
2011-08-07 16:48:39 +02:00
Machiavelli
04c2f2929e
Core/Player: Fix item refund exploit
2011-08-07 15:57:26 +02:00
QAston
df87f00e73
Core/Commands: Add .cast dest #spellid #x #y #z which orders selected unit to cast a spell at selected destination.
2011-08-06 22:50:46 +02:00
Machiavelli
156d491c27
Core/Spells: Add GetTriggeringSpell() method to SpellScript and use it to properly filter server side spell 18350's script.
2011-08-06 19:40:50 +02:00
Shauren
6ebca04861
Core/Misc: Removed existence check from HandleSetSelectionOpcode and moved setting faction visible to gossip open
2011-08-06 18:48:58 +02:00
Nay
548f8ba095
Core/Player: Teleport the player to a default graveyard (Crossroads/Wesfall) when a zone has no info about graveyards
2011-08-06 17:23:33 +01:00
Nay
a39ea8f3e5
Core/Spells: - Apply proper unit flags to summoned minions
...
- SPELL_AURA_MOD_REPUTATION_GAIN spells (e.g Diplomacy) should increase reputation gained from spells (e.g Commendation Badges)
2011-08-06 17:22:24 +01:00
tobmaps
7c6366ca11
Core/Spells: Partial revert of b0fe236265 , thx A-Metaphysical-Drama for tip
...
Closes #2266
Closes #2442
Closes #2454
Closes #2455
Closes #2502
2011-08-06 20:42:00 +07:00
tobmaps
7f57507155
Fix compile
2011-08-06 19:56:12 +07:00
Spp
92393392ef
Core/Battleground: Missing changes from rev 4ecda55
2011-08-06 10:00:09 +02:00
Manuel Carrasco
763d59aeec
Core/Dungeon Finder: Added condition to avoid unnecessary checks to the joining result.
2011-08-05 21:47:12 -03:00
Spp
287b9e423c
Core/Dungeon Finder: Better solution for 24bb62e (fixed logic in dungeon selection)
2011-08-05 12:51:36 +02:00
Spp
4ecda557e4
Core/Battleground: Some (minor) code optimizations
...
- All access to Battleground vars are done using funtions (Remove friendship from Battleground and BattlegroundMgr)
- Move specific 47 mins arena check to battleground code as its generic to all arenas
- Create PreUpdateImpl and PostUpdateImpl functions. Specific battlegrounds will implement those if needed (No more need of call Battleground::Update inside specific BGs)
- Modify Create function to use only one parameter
- Remove EventPlayerCapturedFlag from Battleground class, only one BG implements it and it's not used outside that BG.
2011-08-05 11:57:09 +02:00
tobmaps
2056af63f0
Core/Spells: Fix typo in b0fe236265 , thx A-Metaphysical-Drama
2011-08-05 01:46:35 +07:00
LihO
3fbb657e3b
Core/Maps : Crash fix
...
Closes #1489
2011-08-04 19:41:11 +02:00
LihO
24bb62ec44
Core/Dungeon Finder: fixed logic in dungeon selection
...
Random number should be generated only once.
2011-08-04 19:24:11 +02:00
Spp
d0de7976dc
Core/ObjectMgr: Some minor changes in LocaleString functions
2011-08-04 15:14:15 +02:00
Spp
85643fb8a0
Partial revert of fcdd4d7
...
Closes #2494
2011-08-04 14:38:57 +02:00
Spp
473f341012
Core/GameEvent: Minor code optimization. (Also cosmetic changes in other unrelated files)
2011-08-04 14:27:10 +02:00
Spp
1c882084f3
Core: Cosmetic changes in Threat related code (per request) and remove of extra call to SpellMgr singleton inside that singleton
2011-08-04 13:16:09 +02:00
Silinoron
0c2cd78400
Core/Refer-a-Friend: Fix a glitch in the summoning system. Thanks gyullo.
2011-08-03 15:21:08 -07:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
8572d5d0e9
Partial revert of fcdd4d7
2011-08-03 08:27:11 +02:00
Spp-
fcdd4d784f
Core/Transport: Minor optimization in LoadTransports (And some cosmetic changes here and there in other files)
2011-08-03 08:18:24 +02:00
Spp
43720b1e3a
Core/Movement: Add better error log msg when trying to change active mover
2011-08-02 21:32:35 +02:00
Liberate
17b89ea8ab
Core/Spells: Also Death Runes itself should be able to turn into a Death Rune. They should not turn back into their original rune when using a spell that turns the used runes into Death Runes.
2011-08-02 18:07:43 +02:00
Silinoron
28d541fed3
A handful more compilation errors tossed out. The core should now compile as normal.
2011-08-01 19:34:26 -07:00
Silinoron
588f5af26a
A few more mistakes are fixed. Keep in mind you have to re-run cmake in order to compile properly.
2011-08-01 18:54:03 -07:00
Silinoron
a80b2c0dc0
Fix a couple of mistakes made in the last commit. It appears to have been too long since I last worked on TC.
2011-08-01 18:25:48 -07:00
Silinoron
286749550f
Add some packet handlers for Refer-a-Friend (work in progress). There is no guarantee that this code will work or even compile. Use at own risk.
2011-08-01 18:19:29 -07:00
Silinoron
6348c7331b
Some codestyle cleanup
2011-08-01 17:37:55 -07:00
Machiavelli
ff3c988ee7
Core/Entities: Allow Shaman totems to crit with spells, and add a temp workaround to make Fire Elemental Totem spawn crit with spells also.
...
Closes #252
Closes #1846
2011-08-01 18:30:00 +02:00
Shauren
fa4b659964
Compile fix for f899c92899
2011-08-01 15:58:51 +02:00
Spp-
c69b149d7e
Core: Typo fix introduced in previous commit (:S)
2011-08-01 14:57:30 +02:00
Spp-
079f292b15
Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change
2011-08-01 14:51:44 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +02:00
Spp-
1fc1da842e
Core: Fix annoying compile warning and some other minor changes here and there
2011-08-01 13:46:00 +02:00
Spp-
0457d98405
Core/Movement: Crash fix
2011-08-01 13:44:54 +02:00
Shauren
f899c92899
Core/Spells: Use ModStackAmount for CastCustomSpell with aura stack value if the aura is refreshed on target
2011-08-01 12:05:30 +02:00
Shauren
a80b36c2f3
Core/Spells: Limited SPELL_ATTR3_PLAYERS_ONLY attribute to only allow players, not pets and totems. This fixes many boss area spells incorrectly selecting pets and totems as their targets.
2011-08-01 11:17:34 +02:00
Machiavelli
9efcf82db2
Core/Spells: Update comment
2011-08-01 00:48:11 +02:00
Machiavelli
6732cbbde5
Core/Spells: Fix Shaman Wind Shear (Threat reduction part)
...
Closes #860
2011-07-31 23:49:29 +02:00
Machiavelli
c074be2944
Core/Spells: Small update to TriggeredFlags and fix Glyph of Totem of Wrath with it.
...
Closes #2458
2011-07-31 23:47:11 +02:00
Machiavelli
f26edf09d3
Fix gcc build and remove redundant check from 0afc3c
2011-07-31 22:27:57 +02:00
Machiavelli
0711746b57
Core/Visibility: Send object destroy packets to dead players. Fixes persistent visuals of no longer existing entities while dead.
...
Closes #2458
2011-07-31 21:58:28 +02:00