75 Commits

Author SHA1 Message Date
Elmsroth
b4e54bc4de
Multiple fixes (#116)
* Fix usage of Gnomish Universal Remote (ItemID: 7506)

https://classic.wowhead.com/item=7506/gnomish-universal-remote
Will now apply correct random spells :
Spells :  8345 - Control the machine | 8346 = Malfunction the machine (root) | 8347 = Taunt/enrage the machine

* Fix Spells "Hate to Zero" 


https://classic.wowhead.com/spell=9204/hate-to-zero#see-also-other
SpellIDs : 9204 | 20538  | 26569 | 26637

* Upgrade Unit::RemoveAllAurasOnEvade method

As specific list of spell used when evading to remove all auras except some special auras

* Fix npc_escortAI - Properly despawn pets that act as escorts

Thanks to caa548ca7d

* Fix autoshot not reinstating 0.5 sec cooldown on stopping (adapt Unit::IsNonMeleeSpellCasted method)

Source : 20602b3ead
This fix needed to rewrite and add more stuff to be fully ported from CMangos.

* Fix build compile

Implement "IsClientControlled()" missing
Rename some defines to match CMangos ones which are more relevant and would facilitate backports.
2020-11-02 21:44:10 +00:00
Antz
22b5a3461d
Style cleanup from the Mangos Futures Team 2020-02-25 21:05:13 +00:00
Sidsukana
f36301c474 Fixed wand damage immunity 2020-01-23 14:42:08 +00:00
Antz
302f1c64fb
Apply style fix pt5 2020-01-14 11:37:33 +00:00
Antz
d698c18b1c
Apply style fix pt4 2020-01-13 23:43:29 +00:00
Antz
343193ef2d
Apply style fix pt3 2020-01-12 21:17:49 +00:00
Antz
4e9f27e284
Apply style fix pt2 2020-01-11 23:50:26 +00:00
Antz
ec54642cdf
Apply style fix 2020-01-10 16:15:51 +00:00
Antz
0417581bd5
Project tidy up and sync pt2 2020-01-09 15:16:08 +00:00
Antz
d34051d719
Minor typo tidy up 2020-01-07 22:35:20 +00:00
Antz
57464c1f32
Happy New Year 2020 from everyone at getMangos.eu 🎉 2020-01-06 21:21:08 +00:00
Antz
b5c8fd1b54
[Cleanup] Remove tabs which have crept into the source 2019-01-10 09:39:47 +00:00
Antz
6b0e4a7228
Happy New Year 2019 from everyone at getMangos.eu 🎉 2019-01-02 23:27:16 +00:00
RidingKeys
77d285010d Fixes daze absorb and duplicate target flags (#67)
- Fixes daze absorb and duplicate target flags
- Fix chests showing out of range even when in range
2018-06-01 11:07:28 +03:00
Sidsukana
3ffded2406 AURA_STATE_HEALTHLESS_20_PERCENT apply only on alive targets 2018-04-13 09:40:25 +01:00
H0zen
d014ca2599 ObjectAccessor rewrite
- ObjectAccessor now hides it's inner locks
  - Introduced C++11 lambdas; from now on, VS2012 and any non C++11 compiler are not supported anymore
2018-03-29 14:39:32 +03:00
Antz
52454825c7 Happy new year from getmangos 🎉 2018-01-14 10:24:47 +00:00
Wolverine
021aa8cfac Local variable reassigned prior to reading
Local variable is reassigned in all paths prior to being read.
2017-08-27 12:58:17 +01:00
Olion
06cc8a9f9a More SMSG structure cleaned 2017-07-22 18:35:03 +03:00
Olion
ce21ecbc3d More SMSG cleanup 2017-07-22 11:14:15 +03:00
Olion
44aea2df35 Remove few unused fields from SMSG packets.
Other changes are either cosmetic or in comments form.
2017-07-16 21:25:46 +01:00
Olion
2eedb78a99 SMSG_PET_CAST_FAILED: packet structure fix 2017-07-10 13:26:03 +01:00
Olion
c3d42291b5 Refactoring Mount/Unmount: code split between Unit and Player 2017-07-02 07:59:45 +01:00
bdebaere
2eaea4fba9 Add IsSeatedState() to handle AURA_INTERRUPT_FLAG_NOT_SEATED.
* Update Unit.cpp

Add IsSeatedState() to handle AURA_INTERRUPT_FLAG_NOT_SEATED.

* Update Unit.h

Add IsSeatedState() to handle AURA_INTERRUPT_FLAG_NOT_SEATED.

* Update Unit.cpp

Pointer reference
2017-06-29 00:22:20 +01:00
H0zen
da3d3116c2 Various fixes (#21)
* Various fixes.
  - Fix PCH build on *nix
  - Silenced some compiler warnings

* Another small fixes.
  - Mails sent by various GM commands are now not returnable / respondable
  - Fix server startup issue due to incorrect map magic version.
2017-06-07 14:05:18 +01:00
Antz
03aae60cd9 Tab cleanup 2017-03-11 02:56:47 +00:00
Blumfield
087d00960c Crowd Control handling improvements by Ono(Warlockbugs) 2017-02-14 23:44:26 +00:00
Necrovoice
81394c3341 Roge Stealth update
Another rogue steath tweak.
2017-02-07 00:16:35 +00:00
sidsukana
2c4cc00df2 Implemented school immunity for creature from database
The code is checking the database value against 1 << spellInfo->School so it should match the spell schools defined in the code (SharedDefines.h). Or translated into bits and mask values you can use in the database:

SPELL_SCHOOL_NORMAL = bit 0 (0x00000001)
SPELL_SCHOOL_HOLY   = bit 1 (0x00000002)
SPELL_SCHOOL_FIRE   = bit 2 (0x00000004)
SPELL_SCHOOL_NATURE = bit 3 (0x00000008)
SPELL_SCHOOL_FROST  = bit 4 (0x00000010)
SPELL_SCHOOL_SHADOW = bit 5 (0x00000020)
SPELL_SCHOOL_ARCANE = bit 6 (0x00000040)
2017-01-24 21:41:16 +00:00
Antz
756c8ff797 Remove unused include directives
Based on the work of @stfx in commit:
https://github.com/cmangos/mangos-classic/commit/48a84fb
2017-01-20 23:20:46 +00:00
Antz
cb2d60ba17 🎉 Happy 2017 from everyone at getmangos.eu 2017-01-01 14:19:24 +00:00
Antz
edde246d64 Change a variable name to nbe consistant. Thank xfury for pointing 2016-12-02 11:55:41 +00:00
H0zen
9283f4309b Transport system step 1 - preparing 2016-11-28 07:47:57 +00:00
H0zen
cdd3489f08 Various external fixes - part 9 (#168)
Ported commits from cmangos repositories
- https://github.com/cmangos/mangos-classic/commit/b09f961
- https://github.com/cmangos/mangos-classic/commit/14cb464
- https://github.com/cmangos/mangos-classic/commit/de7e4cc
- https://github.com/cmangos/mangos-classic/commit/0181ff1
- https://github.com/cmangos/mangos-classic/commit/be4f74b
- https://github.com/cmangos/mangos-classic/commit/1ede0a0
- https://github.com/cmangos/mangos-classic/commit/5cf8095
- https://github.com/cmangos/mangos-classic/commit/35e30d8
- https://github.com/cmangos/mangos-classic/commit/ff444d2
- https://github.com/cmangos/mangos-classic/commit/86568b8
- https://github.com/cmangos/mangos-classic/commit/a554fa5
- https://github.com/cmangos/mangos-classic/commit/c4606f3
- https://github.com/cmangos/mangos-classic/commit/6fcc33f
2016-09-13 15:50:30 +01:00
H0zen
6bc64bf5c4 Fix Charge bug (#125)
* Fix "You are in combat" bug.

Ideas taken from TC

* Correct previous commit.

* Improved previous commits

- Creatures in dungeons will not remove distant players from their threat list
- Creatures in non dungeon maps will properly remove the distant players from their threat lists and also players auras from them

* Fix previous commit.

  -The creatures will remain tapped by the initial attacker.
  -Fix the loot bug

* Fix Charge bug.

  -Corrected WorldObject::GetContactPoint to proper compute the final destination point.
  -Corrected WorldObject::UpdateAllowedPositionZ to proper adjust the Z value
  -Limit the path length computed for EffectCharge. In the event the path cannot be computed, a linear path is applied.
2016-05-17 07:13:07 +01:00
H0zen
75d65f245a Fix previous commit. (#124)
* Fix "You are in combat" bug.

Ideas taken from TC

* Correct previous commit.

* Improved previous commits

- Creatures in dungeons will not remove distant players from their threat list
- Creatures in non dungeon maps will properly remove the distant players from their threat lists and also players auras from them

* Fix previous commit.

  -The creatures will remain tapped by the initial attacker.
  -Fix the loot bug
2016-05-15 21:55:24 +01:00
H0zen
6d77f18394 Fix "You are in combat" bug. (#123)
* Fix "You are in combat" bug.

Ideas taken from TC

* Correct previous commit.

* Improved previous commits

- Creatures in dungeons will not remove distant players from their threat list
- Creatures in non dungeon maps will properly remove the distant players from their threat lists and also players auras from them
2016-05-14 18:55:24 +01:00
H0zen
b15f4711a3 Various external fixes - part 8 (#121)
* Ported commits from cm

* Various external fixes - part 8
Ported commits from cmangos repositories
  - https://github.com/cmangos/mangos-classic/commit/f4b1f9f
  - https://github.com/cmangos/mangos-classic/commit/dc8b867
Simplify debug log output in Unit.cpp
2016-05-08 23:22:18 +01:00
H0zen
4d28e2d9e7 Some pet fixes (#119)
-Revert commit 6c4ca38d56a46746dcba6fcd7e54c74a8723926b
  -Reapply partially commit b757e9d090eca67fd2cbae4929b0742715bc9fa3
2016-04-28 09:43:17 +01:00
Magic WoW Project
78171233f3 Modified Pet Owner combat state
* Owner enters combat when pet attacks
* Combat on Feign Death if your pet attacks.
2016-04-12 21:17:32 +01:00
H0zen
2776812b2e Improved Combat Movement handling
* Improved Combat Movement handling

* Some fixes to previous commit

* Another bunch of fixes combat movement
2016-04-04 09:13:13 +01:00
H0zen
0650132741 Refactoring db_scripts
The unity!
2016-03-25 02:13:06 +02:00
H0zen
991cbf6350 Various external fixes - part 7
Ported commits from cmangos repositories
- https://github.com/cmangos/mangos-classic/commit/10a1710
- https://github.com/cmangos/mangos-classic/commit/4aacdaf
- https://github.com/cmangos/mangos-classic/commit/c05d0ed
- https://github.com/cmangos/mangos-classic/commit/e8aa9cb
2016-03-24 18:20:55 +02:00
evil-at-wow
ca40e29e69 Some minor code changes.
With the introduction of user-defined literals in C++11, code that uses
format macro constants with no space after the preceding string literal
is invalid.

Also avoid using code that will be seen by a C++11 compiler as an
invalid use of a variably-modified type (a variable-length array or
type derived from it).
2016-03-21 11:49:54 +00:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Zwisus
551a28f9f9 Fix Eluna OnCreatureKill
Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-18 16:23:39 +08:00
Zwisus
92ea73bbce Holy Light and Seal of Righteousness PROC and Flash of Light receive benefit from Spell Damage and Healing too low.
Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-18 14:34:11 +08:00
Zwisus
c8b4d06b6a Fix Paladin Hammer of Wrath,Judgement of Command,Seal of Command PROC,Seal of Righteousness Dummy Proc receive benefit from Spell Damage and Healing.
Prevent Seal of Command damage overflow.
Fix Talent  improve Seal of Righteousness.
Config in DB spell_bonus_data.
2016-03-18 11:51:16 +08:00
Zwisus
347ccad218 Low-level spells cast by high-level players will receive smaller bonuses from +healing and +spell damage.
until Patch 2.0.1

Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-17 20:30:19 +08:00
Olion17
ceaf2aa1e9 cleanup inspired by GCC build 2016-03-02 23:34:54 +00:00