31 Commits

Author SHA1 Message Date
brotalnia
5808fc6d25
Implement the creature spell lists system. (#123)
* Implement creature spells system.

* Fix remaining issues.

* Don't let mobs cast without enough mana.

* Update revsiion.
2020-12-10 15:12:43 +00:00
Antz
22b5a3461d
Style cleanup from the Mangos Futures Team 2020-02-25 21:05:13 +00:00
Antz
302f1c64fb
Apply style fix pt5 2020-01-14 11:37:33 +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
87b8e0ad13
Project tidy up and sync 2020-01-09 12:44:07 +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
6b0e4a7228
Happy New Year 2019 from everyone at getMangos.eu 🎉 2019-01-02 23:27:16 +00:00
Antz
52454825c7 Happy new year from getmangos 🎉 2018-01-14 10:24:47 +00: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
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
H0zen
51721ea7e3 Fix FreeBSD build and clean spaces. 2017-01-22 12:04:03 +00:00
Charles A Edwards
c0eea3fbcb lity to force a level in Creature::SelectLevel()
Cmangos commit bb91d5e
2017-01-21 22:04:42 +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
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
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
H0zen
f6731a4f91 Fix crash on taming rare creatures. 2016-03-17 15:41:26 +02:00
H0zen
96dc9c854f Various external fixes - part 6
Ported commits from cmangos repositories
- https://github.com/cmangos/mangos-classic/commit/82f0bea
- https://github.com/cmangos/mangos-classic/commit/8bb9271
- https://github.com/cmangos/mangos-classic/commit/ba373b1
- https://github.com/cmangos/mangos-classic/commit/7800ce6
Also
- fixed MacOS X build
2016-03-11 17:09:32 +02:00
H0zen
59d55845e7 Various external fixes - part 5
Ported commits from cmangos repositories
    + https://github.com/cmangos/mangos-classic/commit/a3d6d1a
    + https://github.com/cmangos/mangos-classic/commit/cd32eab
2016-02-25 01:09:40 +02:00
Olion
98dfabe70b [Loot] 50% player damage to mob reuired for reward
Unchanged TC backport. Not fully tested.
2016-02-20 22:17:26 +00:00
Antz
3967eddc87 [2016] Happy New Year from the MaNGOS Team 2015-12-31 21:15:37 +00:00
fgreinus
93c77682bf [Core] Implement possibility to force enable/disable mmap-usage for specific creatures. [cz2663] 2015-07-07 22:46:42 +01:00
Olion
e28a446f24 [Core/SD2] Major refactoring of SD2 script system 2015-04-01 01:34:08 +03:00
Antz
dfe72e4234 [Clean] Some code cleanup 2015-03-26 23:29:50 +00:00
stfx
d6fc18dc37 [Core] Remove unused function parameters (c2647) 2015-03-26 13:14:51 +00:00
xfurry
19ab916daa [Core] Implement movement wrappers for creatures and players
(c2599)
This will set the movement flags and send SMSG_SPLINE_MOVE_* opcodes on movement change.
This will fix movement for flying vehicles and allow future scripting possibilities.

(c2608) Make CanSwim and CanFly abstract method. Also precise UNIT_FL…AG_UNK_15 possible use.
@cyberium
2015-03-23 13:01:20 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00