Commit Graph
2906 Commits
Author SHA1 Message Date
leak d01bb754d7 Core/Commands: Remove useless file, commands were already converted to command scripts a bit ago 2011-08-14 13:07:43 +02:00
hacknowledge 1aa4e7bd57 converted tab to spaces 2011-08-14 00:00:19 +02:00
hacknowledge 78ca3ad5d2 Core/Spells Disables environmental damage to spirit of redemption form of priest
Core: Added check for AOE attackability to environmental damage
Fixes #2531
Reduced check for environmental damage to whether unit is attackable by AOE. check for GM and death state is included in this check

Fixes #2531
2011-08-13 23:58:33 +02:00
hacknowledge 0c500486f3 Core/Spells: Fixed weapon dependent damage mods for players as well as autohit damage mods for NPCs and pets. This fixes also meta sockel effects. Also fixed displaying the correct values in the char info. I also took care of applying and unapplying the weapon based damage mods when the player is being disarmed and equips/unequips his weapon.
Fixes #178, #418, #1276, #259 and possible a few other issues.
2011-08-13 23:26:16 +02:00
tobmaps 54cf7f28d2 Core/Misc: Fix some typos in af040fc18d 2011-08-13 20:53:24 +07:00
leak af040fc18d Core/Players: Allow players to answer gamemaster whispers even if whispers are disabled. Whitelist can be reset by .whispers off 2011-08-13 15:10:45 +02:00
leak 91a3bfe42a Core/Commands: .pinfo improvements
- Allow .pinfo <guid>
- Add map/zone/subzone/phase to output
2011-08-13 13:00:38 +02:00
Shauren bac78de203 Core/Battlegrounds: SotA will no longer crash in update 2011-08-13 12:28:36 +02:00
Shauren f03ef48b3e Core/Object: Removed incorrect code (never affected anything) 2011-08-13 11:44:51 +02:00
Shauren 6ea362e9e0 Core/PacketIO: Documented structure of SMSG_OVERRIDE_LIGHT 2011-08-13 11:44:05 +02:00
idostyle@zoit 93238fe6c3 Core/Players: Corrected faction id check for RepObjectiveFaction2 2011-08-13 11:40:45 +02:00
Shauren f797f9f74d Core/Spells: Failed triggered spell casts will no longer cause the proc aura that triggered them to be removed (this behavior should only apply to channeled spells), also corrected UNIT_FIELD_CHANNEL_OBJECT setting 2011-08-12 13:22:53 +02:00
idostyle@zoit 8c411ffa42 Spell: Mark of the Fallen Champion
Forcing gcc to use the right overloaded function here.
2011-08-12 05:01:31 +02:00
QAston b81fb4d423 Core/Spells: Rename SPELL_ATTR2_ALWAYS_APPLY_MODIFIERS to SPELL_ATTR2_DISPLAY_IN_STANCE_BAR, and make auras to be recalculated when permament instead of using that wrongly defined flag. 2011-08-11 23:11:10 +02:00
QAston 0d1a5314dc Core/Spells: Define some new attributes: SPELL_ATTR6_ONLY_CAST_WHILE_POSSESSED, SPELL_ATTR6_DONT_DISPLAY_COOLDOWN, SPELL_ATTR5_ALLOW_TARGET_OF_TARGET_AS_TARGET, SPELL_ATTR4_AREA_TARGET_CHAIN, SPELL_ATTR3_DONT_DISPLAY_RANGE 2011-08-11 23:03:43 +02:00
Fest c1f0833672 Core/ReferAFriend : fix strange grantableLevels value in DB 2011-08-11 17:42:02 +02:00
idostyle@zoit eedeeaf2b2 Spell: m_castItemGUID initialization
Closes #105
Closes #1193
2011-08-10 15:08:22 +02:00
tobmaps 4ce345a9f9 DB/Loot: Fix max count of items from Titanium Ore prospecting loot 2011-08-09 06:14:07 +07:00
Shauren 8e2a32906d Core/Gridmonster: Increased upper value for search radius to size of grid 2011-08-08 13:16:03 +02:00
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