Commit graph

719 commits

Author SHA1 Message Date
VladimirMangos
181ecdc20d [8982] Prevent infinity recusion at repally auras at sepllmod change.
Passive auras (in different area auras) not affected by another group member spellmods.
In different from owned unit case.
2009-12-13 01:21:22 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00
Maxxie
d897f55970 [8975] Spell 34914 and ranks will deals damage at dispel.
(cherry-picked from commit 6ff5b6a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-12 07:43:23 +03:00
VladimirMangos
f5895596c0 [8966] Restore full stack bufs from talent 51528 and ranks using unique aura type. 2009-12-11 02:06:58 +03:00
VladimirMangos
6f083e0c31 [8961] Prevent crash in Aura::HandleAddModifier for far group member 2009-12-10 01:07:33 +03:00
laise
39c16a8510 [8959] Implement talent 15318 and ranks and move talent 44745 and ranks code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-10 00:55:34 +03:00
Lightguard
d3ee1ecc3d [8957] Implement talent 53754.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 18:10:44 +03:00
Maxxie
0ec0f34be7 [8956] Implement aura SPELL_AURA_ALLOW_ONLY_ABILITY.
(cherry picked from commit f4d1e05)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 16:01:08 +03:00
LordJZ
08e0658430 [8954] Implement spells 65495 and 65386.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 13:58:40 +03:00
VladimirMangos
e150887b86 Remove trailing spaces 2009-12-08 22:09:41 +03:00
VladimirMangos
05d1dc40dc [8950] Implement talent 55198. 2009-12-08 22:07:07 +03:00
VladimirMangos
dbd3177121 [8949] Implement proper support spell auras with maxstack > 1 and charges > 0.
* Like auras expected to be proccessed in spell proc event code (not lost charge at use in spellmods code).
  Exist examples for like spells that affect value in spellmods but have different expire requirements.
* Propertly work with stacked auras in spell proc event code
  - remove only one auras from stack
  - in case charges exist in same time not touch charges but return expire
    (all really used auars with maxstack>1 and charges have 1 in one from this values)
2009-12-08 22:04:42 +03:00
laise
58551fb582 [8947] Implement aura SPELL_AURA_MOD_DURATION_OF_MAGIC_EFFECTS (245)
Used in spell 6117 (5/6 ranks)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-08 12:14:53 +03:00
MrLama
895c84b8b0 [8942] Spells 20911 and 25899 stats bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also stacking rule to prevent log spam.
2009-12-07 22:17:34 +03:00
darkstalker
486c628ce2 [8934] Implement aura PELL_AURA_MOD_MINIMUM_SPEED (305) and it used for FORM_GHOSTWOLF.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 23:06:16 +03:00
VladimirMangos
fef94f9b36 [8924] Implement reapply permanent area auras for group. 2009-12-06 08:25:09 +03:00
QAston
8b0ce112ba [8922] Implement telant 46859 and ranks additional debuff apply.
Thanks to xXxRRLxXx and KAPATEJIb for patch prepering.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 02:52:44 +03:00
Splinter
155ea6f40a [8920] Fixed glyph 42408 by move code to more correct place.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 00:39:04 +03:00
Splinter
2c17ba41f1 [8906] Implement 64127 and ranks in part of additional dispel.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-02 23:31:48 +03:00
VladimirMangos
840fad2d07 [8899] Implement glyph 43374
Original patch provided by Splinter.

Also sort Unit::HandleDummyAuraProc generic family spells in case.
2009-12-01 13:48:14 +03:00
VladimirMangos
1e3100d664 [8894] Add missing and avoid redundent Aura::GetCaster calls. 2009-11-30 10:59:53 +03:00
Sarjuuk
d542e25302 [8892] Implement spell 29166 and glyph 40908.
Original patch provided by bobaz.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add protection from wrong periodic heal at relogin.
2009-11-29 19:22:22 +03:00
VladimirMangos
d80b7a2de1 [8885] More correct animation for spell 48181 and ranks. 2009-11-29 04:41:08 +03:00
reeshack
df8d59b770 [8878] Update regent percent for spell 57669 and 61782.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-27 00:16:18 +03:00
VladimirMangos
e6efe02020 [8867] Implement expected combat stop with friendly faction
In case force reaction apply/remove.
2009-11-23 22:40:46 +03:00
Astellar
aa759d8161 [8854] Implement heal back part of spell 48181.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

I choice maybe less clear way store future heal amount, but with avoid use additional fields for auras.
2009-11-21 11:20:30 +03:00
VladimirMangos
398ca010ca [8831] Helper function add and move for diffficulties.
* Use regular naming for 0 spwanmode/difficulty for clean consistence names (used at well known wiki)
* Move difficulty related data access from InstancedMap to Map class.
2009-11-19 03:05:52 +03:00
VladimirMangos
37ba6623bb [8828] Independent instance reset time for different difficulties.
* Store reset time for map/difficulty pairs.
* Use DBC data for reset time and max players instead `instance_template` fields (dropped)
  for each existed map/difficulty pair.
* Fix some "heroic" related checks in spells/etc.
2009-11-18 10:08:41 +03:00
balrok
c3c7ab2f63 [8816] call uncharm for all units at delete
currently it was only done for players - but units
also can have charms which must be removed
2009-11-14 19:11:04 +01:00
crackm
d5ee544367 [8814] removed some spells which made creatures invisible for dead 2009-11-14 15:44:01 +01:00
XTZGZoReX
0734adb746 [8789] Rename several singleton macros to use more consistent names.
* objmgr -> sObjectMgr
 * spellmgr -> sSpellMgr
 * WaypointMgr -> sWaypointMgr
 * poolhandler -> sPoolMgr
 * objaccessor -> sObjectAccessor
 * mapmgr -> sMapMgr
 * sInstanceSaveManager -> sInstanceSaveMgr
 * ticketmgr -> sTicketMgr
 * CreatureEAI_Mgr -> sEventAIMgr
 * auctionmgr -> sAuctionMgr
 * achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
XTZGZoReX
1f23884757 Don't use singleton to access static functions.
* This affects especially ObjectMgr functions:
   - GetCreatureInfo
   - GetGameObjectInfo
   - GetInstanceTemplate
   These are in fact static functions.
2009-11-08 03:54:27 +01:00
darkstalker
aa4524852e [8748] Reflect by reflection shields only reflectable damage.
Not reflect self/environment damage cass, and not reflectable spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-29 05:16:54 +03:00
VladimirMangos
1b6176396e [8747] Implement player's pet resilience, also fix DoT case. 2009-10-29 04:34:57 +03:00
VladimirMangos
b44972ae0d [8745] Undo part of [8617] for restore risilience apply to DoT damage 2009-10-27 13:36:25 +03:00
VladimirMangos
15ab6794d3 [8742] Avoid aura remove triggered casts and packets send at logout/delete
This is must speedup logout and solve some crash cases or unexpected effects.

Also fix some nonsense code with memory lost possibility.
2009-10-27 04:20:11 +03:00
KiriX
7323966738 [8724] Fixed energize amount for spell 48389
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-24 20:47:42 +02:00
tomrus88
de73c52a77 Fixed group loot display bug. 2009-10-24 19:31:38 +04:00
VladimirMangos
d7ae5e3af0 [8718] Remove most GetObjectInWorld functions and move some map local to Map
Also mape pet guid counter per-map (in different expecte to be global pet number)
2009-10-24 01:16:40 +04:00
Corfen
2588cdabfc [8713] Moved calculation of absorbed damage amount into Unit::HandleProcTriggerSpell for spell 62606.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-23 00:33:06 +02:00
ApoC
86a6c952b8 [8712] Fixed commit [8708]
* Now final damage counted also with spell bonus.

Thanks Corfen for pointing this out.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-22 21:56:42 +02:00
KiriX
eb26f27a21 [8708] Fixed damage from spell 1120 and ranks when target below or equal 25% of health.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-22 14:12:56 +02:00
DonTomika
6a2e23cac0 [8692] Fixed trigger part of spell 31944.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-20 23:40:51 +02:00
balrok
ac6e13d0e3 [8691] fix battleground spiritguides
they are now alive and so some spellchecks got invalid
2009-10-20 23:37:47 +02:00
balrok
20e8982075 [8690] added unit auraFlag variable
this can be used for faster checking if an unit has a specific
aura applied..
also implemented the alive-invisible auras now with this way
2009-10-20 23:37:31 +02:00
ApoC
5bae4fccf8 [8686] Fixed logic of triggering spells from SPELL_AURA_PERIODIC_TRIGGER_SPELL and SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE.
This patch should correct target selection for triggered spells
with target type TARGET_SELF.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-20 20:13:06 +02:00
hunuza
ec10a5bf3c [8665] Correctly implement XP bonus auras.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-10-18 11:44:01 +02:00
VladimirMangos
c0ffd1b48c [8664] Update auras list notes for 3.2.2a state 2009-10-18 07:22:26 +04:00
VladimirMangos
9a9ecddea3 [8663] Implement aura SPELL_AURA_MOD_ATTACKER_SPELL_CRIT_DAMAGE (205) 2009-10-18 06:21:04 +04:00
VladimirMangos
0a65c6218c [8662] Typo fixes in aura names. 2009-10-18 05:25:19 +04:00