Commit Graph

6767 Commits

Author SHA1 Message Date
Machiavelli
01dc7aeb08 Fix heirloom armor proficiency downgrading for warriors.
--HG--
branch : trunk
2010-03-19 16:26:46 +01:00
Machiavelli
a77ba0bf56 Fix SMSG_GUILD_INFO (/guildinfo command)
--HG--
branch : trunk
2010-03-19 14:47:08 +01:00
Machiavelli
1146c59f66 Fix crash in Player::_saveInventory().
Fixes issue #1175

--HG--
branch : trunk
2010-03-19 13:36:54 +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
thenecromancer
f1266ebec3 Update player damage reduction by resilience combat rating
Apply crit damage reduction to periodic crit damage

--HG--
branch : trunk
2010-03-19 08:30:39 +01:00
thenecromancer
e67274392e Fix issues with NPC that have nonphysical melee damage
Remove Ranged attack from attackerstateupdate() children function (Ranged attacks are always done using spells)

--HG--
branch : trunk
2010-03-19 08:26:44 +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
Machiavelli
35a7f4849e Store alternate currency spent on an item by Item ExtendedCost entry instead of honorPts/arenaPts/items seperately. Thanks to Opterman for the idea.
--HG--
branch : trunk
2010-03-18 22:56:48 +01:00
Rat
ef57a96cce *fix quest Bury Those Cockroaches!(11608)
--HG--
branch : trunk
2010-03-18 22:34:14 +01:00
Xanadu
06d4918163 Added unit targets for TARGET_TYPE_DEST_TARGET and TARGET_TYPE_DEST_CASTER to tackle the cases where unit targets are required but there is no other implicit target to produce them (like in 53, 0 combination).
This works in conjunction with my next commit.

--HG--
branch : trunk
2010-03-18 20:41:38 +01:00
silverice
aca2d26bc5 remove unused player's class member,cleanup
--HG--
branch : trunk
2010-03-18 20:21:42 +02: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
Machiavelli
302af79bc2 Implement vendor item refund system.
For info about this system, see: hxxp://us.blizzard.com/support/article.xml?locale=en_US&articleId=27351
Thanks to:
- Opterman, Malcrom, Xanadu + anonymous colleagues for aiding research on packet structure
- Aokromes and Svannon for testing

--HG--
branch : trunk
2010-03-18 17:27:40 +01:00
Xanadu
72833e1584 Identified a new spell attribute forbidding some spells to use caster's done dmg mods (spellpower etc).
--HG--
branch : trunk
2010-03-18 17:22:11 +01:00
XTZGZoReX
793a226692 * Remove typeid check and fix cast target for Improved Fear. Patch by jesper.vortex.
* Closes #946.

--HG--
branch : trunk
2010-03-18 14:57:39 +01:00
XTZGZoReX
1a6f216e91 * Cleanups and comments in Player::SendInitWorldStates.
--HG--
branch : trunk
2010-03-18 14:48:33 +01:00
Rat
2b096c478a *always remove UNIT_FLAG_OOC_NOT_ATTACKABLE if crature enters combat and reset on leave combat
-Please post feedback if it breaks any script!

--HG--
branch : trunk
2010-03-18 00:01:39 +01:00
Rat
4f948651df *Fix possible exploits with flying paths. by QAston
--HG--
branch : trunk
2010-03-17 23:16:35 +01:00
malcromtdb@gmail.com
bef85de621 Add script for Amberpine Woodsmen Grizzly Hills
--HG--
branch : trunk
2010-03-17 18:27:17 -02:30
Xanadu
5603de6048 Argent Tournament Post script by Malcrom
--HG--
branch : trunk
2010-03-17 21:20:21 +01:00
Xanadu
6f6c7a85af Merge
--HG--
branch : trunk
2010-03-17 21:17:02 +01:00
Xanadu
2c605ee482 Upgraded SCRIPT_COMMAND_EMOTE to do state emotes, too, based on datalong2 value. By Malcrom.
--HG--
branch : trunk
2010-03-17 21:00:44 +01:00
silverice
4177b876f3 Added hack that was removed in [7443]
Closes issue #979

--HG--
branch : trunk
2010-03-17 21:34:42 +02:00
Xanadu
48d7ae707d Fixed players not being able to resurrect after core crash.
--HG--
branch : trunk
2010-03-17 20:34:02 +01:00
Xanadu
a73b9b0f1e Cleanup
--HG--
branch : trunk
2010-03-17 17:43:28 +01:00
Xanadu
e5cbe017f4 Fixed Drain Soul increased damage for targets below 25% HP. Closes issue #394. Closes issue #748. Closes issue #938. Rejoice, new era of server-side spells has begun!
--HG--
branch : trunk
2010-03-17 16:38:31 +01:00
Rat
4fb7bf3664 *fix Feral Spirit's healing (Spirit Hunt)
--HG--
branch : trunk
2010-03-17 08:07:14 +01:00
Anubisss
fe67a3bc6e Fix some possible crashes.
--HG--
branch : trunk
2010-03-16 23:46:20 +01:00
Trazom62
6d63c432e6 Fix Hunter's spell Snake Trap.
Fixes issue #896.

--HG--
branch : trunk
2010-03-16 21:32:01 +01:00
Trazom62
b00c745455 Update Halls of Stones script text entries to correct range.
Fixes issue #607.

--HG--
branch : trunk
2010-03-16 21:24:00 +01:00
Machiavelli
bbfdc117c8 Overload Item::SetState correctly in Item::SetItemRandomProperties.
Fixes issue #1126

--HG--
branch : trunk
2010-03-16 08:05:09 +01:00
reno
e65dfc6a31 attempt to stop mobs casting and fleeing while stunned or confused
--HG--
branch : trunk
2010-03-15 14:38:30 -05:00
Machiavelli
b0b17e56de - Overload Item::SetState with player argument where possible to ensure updated data is saved to DB properly.
- Alter Item::SetEnchantmentDuration function, add parameter Player* because GetOwner() cannot be called in the function due to hashtable locking in the SaveAllPlayers process.
- Remove a sanity check prior to Item::AddToUpdateQueueOf, so assertions can detect whenever a higher level function was not called properly. Please report any crashes related to these assertions to get them resolved asap.

--HG--
branch : trunk
2010-03-16 01:05:56 +01:00
thenecromancer
a81ad6986c Remove Hack detecting spell 61988 in HasAura()
Correctly cast 61988/61987 after casting Avenging Wrath/Divine Shield respectively
(This will correctly show both spells disabled state)
Don't allow casting Lay on Hands on self when aura 61988 is present (ie. after using Avenging Wrath)

--HG--
branch : trunk
2010-03-15 18:03:43 +01:00
Machiavelli
3ba0862926 Fix guild bank money log display.
--HG--
branch : trunk
2010-03-15 17:17:19 +01:00
Machiavelli
f9a3aedc14 Don't call Item::AddToUpdateQueueOf if no player is specified as parameter for Item::SetState, since in this case, only data stored in the item_instance table is altered, not that of character_inventory.
--HG--
branch : trunk
2010-03-15 14:52:02 +01:00
Machiavelli
c47b8a89c1 Fix issue with .save or .saveall where either the core would freeze, or items would not be saved to the DB properly.
Fixes issue #381
Fixes issue #477

--HG--
branch : trunk
2010-03-15 14:03:13 +01:00
Brian
8268adc932 * Added support for only displaying items from vendors for the team the
* player is on. Faction field in item_template is actually team, and will
* be renamed in a later patch.
* 1 == Horde / 2 == Alliance
* Thanks Aokromes for helping research / test

--HG--
branch : trunk
2010-03-15 06:19:27 -06:00
Xanadu
f9566e08ac Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.
--HG--
branch : trunk
2010-03-15 04:37:28 +01:00
Xanadu
8cc3d2ad7f Fixed Drain Soul and Shadowburn Soul Shard on target death. Closes issue 1058.
--HG--
branch : trunk
2010-03-15 02:59:21 +01:00
Trazom62
1845a9588d Fix lootable check in Player::isAllowedToLoot.
--HG--
branch : trunk
2010-03-15 00:21:37 +01:00
Rat
c8fd37a9dc *small tweaks to Utgarde keep bosses
--HG--
branch : trunk
2010-03-14 23:44:27 +01:00
Brian
85b0798d75 * merge
--HG--
branch : trunk
2010-03-14 16:35:52 -06:00
Brian
920137f1ba * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:35:38 -06:00
Brian
0f0cb79f0b * merge
--HG--
branch : trunk
2010-03-14 16:33:04 -06:00
Brian
ace353d088 * merge
--HG--
branch : trunk
2010-03-14 16:32:04 -06: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
Brian
8ba7885cc8 * Added CONDITION_CLASS / CONDITION_RACE / CONDITION_ACHIEVEMENT for
* gossip / loot conditions

--HG--
branch : trunk
2010-03-14 11:45:34 -06:00
Trazom62
8d51d23cc5 Fix Master's call. Thanks Gyullo.
Fixes issue #1059.

--HG--
branch : trunk
2010-03-14 13:46:15 +01:00
Trazom62
6fdaf225f3 Fix creature tapped and lootable dynamic flags => fix creature not lootable.
Fixes issue #1067.

--HG--
branch : trunk
2010-03-14 00:22:53 +01:00