Commit Graph

832 Commits

Author SHA1 Message Date
click
8df6879e94 Add support for quest 11626 (The Emissary) - patch by antihrists (thanks)
Closes issue #1061

--HG--
branch : trunk
2010-05-01 08:30:46 +02:00
Spp
cb0cb96283 Warning Fixes
Code Style cleanup
Fix linux compile

--HG--
branch : trunk
2010-04-29 23:12:16 +02:00
Machiavelli
f7ab90d79d Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors
--HG--
branch : trunk
2010-04-29 11:35:31 +02:00
Machiavelli
ab013e42c9 Fix action buttons sent to client when swapping between talent specs. Storage related parts by Hunuza (MaNGOS), big thanks.
--HG--
branch : trunk
2010-04-28 16:08:31 +02:00
Trazom62
3c9cb12341 Fix Scourge Strike. Thanks Havenard.
Fixes issue #1668.

- additional damage is now done properly as shadow damage and no longer as additional physical damage.

--HG--
branch : trunk
2010-04-26 22:03:09 +02:00
click
f93443b41c *Fixes conflagrate DOT damage so that warlocks finally can be the pyromaniacs they want to be
Closes issue #942
Fix by Liberate

--HG--
branch : trunk
2010-04-23 21:24:32 +02:00
thenecromancer
b54feffadb Weapon dependant damage for some rogue talents
--HG--
branch : trunk
2010-04-21 18:52:30 +02:00
_manuel_
b0daeeb4ab Added missing return;
--HG--
branch : trunk
2010-04-20 22:53:35 -03:00
Spp
74dd02d024 Remove LOTS of compile warnings
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
click
fdd8d2f3cc Move around and do some changes to homebinding, thanks to Vladimir
* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper

--HG--
branch : trunk
2010-04-18 23:20:07 +02:00
n0n4m3
61e71986f0 Drop old item amount calculation. by Vladimir
--HG--
branch : trunk
2010-04-14 12:22:35 +04:00
Trazom62
d9367da5f2 Fix script started twice for Gobber (GO type=10) with eventID.
Fixes issue #1589.
With help of Az@zel, thanks.

--HG--
branch : trunk
2010-04-11 23:49:00 +02:00
Spp
65c3e979e2 Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
2010-04-11 20:20:38 +02:00
click
279ea9c98c * Fix: Deathknights 'Death Grip'
Fixes issue #148
Fixes issue #1223
Patch by tbaart (partial commit - Dancing Rune Weapon still needs testing)

--HG--
branch : trunk
2010-04-11 15:30:39 +02:00
n0n4m3
a3be43a297 Final fix basepoints calculation, thx to Vladimir, Laise.
--HG--
branch : trunk
2010-04-11 11:43:23 +04:00
n0n4m3
45e750148a Update IsExplicitDiscoverySpell/IsLootCraftingSpell and related code. by Vladimir.
--HG--
branch : trunk
2010-04-11 11:24:05 +04:00
n0n4m3
be95faff23 Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:16:42 +04:00
Spp
4635fbc020 Code Style (game + scripts only):
"!=" --> " != " (when needed)
"  !=" --> " !="
"!=  " --> "!= "

--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp
46f0674e23 Code Style (game + scripts only):
">=" --> " >= " (when needed)
"  >=" --> " >="
">=  " --> ">= "
"<=" --> " <= " (when needed)
"  <=" --> " <="
"<=  " --> "<= "
" ==" --> " =="
"==  " --> "== "

--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp
2454c290b8 Code Style (game + scripts only):
"==" --> " == " (when needed)

--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp
49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp
d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
182e9a20b1 Code style (game + scripts only):
"for(" --> "for ("

--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp
b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
Spp
f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
thenecromancer
71082bd48b Change pull effects speed calculations to work more or less correctly ( no more flying really high )
--HG--
branch : trunk
2010-04-03 12:41:12 +02:00
Anubisss
ce8cc85dfa Make a function(ToTempSummon()) which can convert Creature to TempSummon with a C++ cast(reinterpret_cast) and with a type check(isSummon()).
This function is like ToPlayer(), ToTotem(), etc.

This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496:
http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4
As a result, this commit has the advantages and the "disadvantages" too, like r7496.

Please try to be polite if this commit causes some crashes.

--HG--
branch : trunk
2010-03-27 16:08:14 +01:00
_manuel_
2796f08297 Support for spell Disarm Trap.
--HG--
branch : trunk
2010-03-26 22:04:38 -03:00
Xanadu
20de79f6ba Fixed Forbearance. Also self-cast LoH will now correctly prevent Avenging Wrath for 30 s. Closes issue #1270. Thanks to _manuel_ for research.
--HG--
branch : trunk
2010-03-25 17:09:05 +01:00
n0n4m3
5fe2454b24 Fix one WPE exploit.
When apply more 6 gems, and after  player logout, server crash, also apply code style and cleanup.

--HG--
branch : trunk
2010-03-23 14:38:31 -05:00
Xanadu
d01d4498ed Don't set 'Created by...' for soul shards, it looks silly.
--HG--
branch : trunk
2010-03-21 16:15:58 +01:00
thenecromancer
34d7e1fed9 Missing part of previous commit (Periodic Leech is DoT as well)
Fix talents Improved Rend and Gag Order not increasing whole damage of affected spells
(applying effect modifiers - spellmod_effectx should be however done for every static damage added to already calculated damage, we can't just apply all spellmods after effects are processed...)

--HG--
branch : trunk
2010-03-19 08:47:03 +01:00
Xanadu
812874a55b Fixed broken missile visuals in certain DST and SRC type spells (Void Reaver's Arcane Orb and many others). Achieved by fixing wildly incorrect SMSG_SPELL_GO target mask data handling.
--HG--
branch : trunk
2010-03-19 00:21:57 +01:00
Xanadu
59e0d42260 Added (blizzlike) packet broadcast to near teleport. Thanks to Zor and nalimleinad (AKA anonymous colleague #1) for research.
--HG--
branch : trunk
2010-03-18 17:58:27 +01:00
Trazom62
6d63c432e6 Fix Hunter's spell Snake Trap.
Fixes issue #896.

--HG--
branch : trunk
2010-03-16 21:32:01 +01:00
Spp
f1696c42c9 Send SMSG_DESTRUCTIBLE_BUILDING_DAMAGE when a destructible building takes damage
Thanks to Opterman for the packet structure.

--HG--
branch : trunk
2010-03-14 21:10:21 +01:00
Trazom62
8d51d23cc5 Fix Master's call. Thanks Gyullo.
Fixes issue #1059.

--HG--
branch : trunk
2010-03-14 13:46:15 +01:00
thenecromancer
e1542df90c Convert some C style casts to new functions
--HG--
branch : trunk
2010-03-11 20:51:31 +01:00
raczman
7fd1789109 Totem* casts.
--HG--
branch : trunk
2010-03-10 07:58:11 +01:00
Spp
8034a6c48e Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos)
Closes issue #411

--HG--
branch : trunk
2010-03-09 11:11:10 +01:00
thenecromancer
2cc15aee31 Fix crash in AuraEffect::HandleShapeshiftBoosts
Add check to Spell::EffectSanctuary before casting
(ensuring all appearances of "(Player *)" (whitespace incl.) are correct)

--HG--
branch : trunk
2010-03-08 17:20:25 +01:00
raczman
07f3b91426 Some Creature* casts moved to new ToCreature.
Added const Creature* ToCreature()

--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
raczman
91b8ee104e Added new type-safe cast functions.
This, when properly used, should get rid of most memory corruption issues,
currently, casting types C-style with no checks leads to some abstract crashing.
Functionality is same as with dynamic_cast<>, but with no RTTI check - so when
casting into invalid type you will receive NULL, and most probably crash.
At the same time, i took the liberty to convert most Player* casts to ToPlayer().
Still needs crapload of casts being moved to new facility.

--HG--
branch : trunk
2010-03-07 15:20:19 +01:00
p0wer
57f1b2524a Execute should only apply damage based on rage up to 30. Thanks 19Maxx83. Fixes issue #953.
--HG--
branch : trunk
2010-03-01 17:57:14 -06:00
QAston
1e7f50b3f6 *Shadow Mark target requirement - by PrinceCreed
*Spiritual attunemennt heal amount fix - by beberlescaraber

--HG--
branch : trunk
2010-02-24 21:38:51 +01:00
QAston
dda62c5b5a *Fish feast code update after client switch
--HG--
branch : trunk
2010-02-23 23:43:11 +01:00
Tartalo
0ef408bcf5 Fix spell 45668
--HG--
branch : trunk
2010-02-23 23:48:07 +01:00
QAston
6323d7dc33 *(awe)some changes to triggering spell/aura effects:
*do not use original caster for trigger spell/trigger spell with value effects
 *correct caster selection for force cast/trigger spell/trigger spell with value spell effects

--HG--
branch : trunk
2010-02-20 23:57:54 +01:00
QAston
2e3f89b61f *Move summon water elemental handler to correct place.
--HG--
branch : trunk
2010-02-20 20:28:31 +01:00
thenecromancer
54d8411eb9 Fix error, should've tested it before :<
--HG--
branch : trunk
2010-02-18 00:33:09 +01:00