Commit Graph

35 Commits

Author SHA1 Message Date
Andrius Peleckas
d7becdae27 feat(Core/Spells): Functions will return cast result (#3635) 2020-11-13 08:00:07 -06:00
Kargatum
a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
Francesco Borzì
b61ae8abcd fix(Core/Misc): all GCC warnings (#3457) 2020-09-14 17:31:12 +02:00
Petric
15cc6fe0b6 fix(Core/Spells): Implement SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER. (#3313)
Co-authored-by: HeartWell <moki.play@mail.ru>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-03 12:02:00 +02:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Shard
d8ad0c5200 Allow mages to refresh Living Bomb (#3228)
Currently, mages can't refresh Living Bomb if the target already have the dot.

###How to reproduce the issue :
1. Use Living Bomb on a target
2. Try to re-use Living Bomb on the same target
3. Observe the error message

###Expected Blizzlike behaviour
Living Bomb should be reapplyable 

###Why this PR : 
This PR allow to refresh the duration of Living Bomb on the same target

I've didn't found a bad mage's video that refreshes Living Bomb on his target, but found some Fire Mage 3.3.5 guides that mentions : 
"Never refresh your LB (Living Bomb) before the explosion (except if I clearly tell you to)."
https://sites.google.com/site/pvemage335/fire/rotation-gameplay

"Living Bomb – every 12 seconds **after the explosion**"
https://www.gnarlyguides.com/wotlk/guides/pve-fire-mage/#plink-rotation

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-08-26 11:44:41 +02:00
Francesco Borzì
0e1713d1b7 fix(Core/Spell): rogue's poisons logic check (#3278) 2020-08-11 15:29:53 +02:00
gengarshadowball
0b35a24053 fix(Core/Spell): Implement SPELL_ATTR0_CU_DONT_BREAK_STEALTH (#3056)
* Implement the ability to add SPELL_ATTR0_CU_DONT_BREAK_STEALTH on spells from DB

Co-authored-by: Shadowball Gengar <shadowballgengar60@gmail>
2020-06-19 12:00:21 +02:00
Francesco Borzì
3cf3f69e13 fix(Core/Spell): Melee ranged spells (#2686)
Co-authored-by: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com>
2020-03-20 18:52:30 +01:00
Kaev
999d588c37 fix(Core): Fixed a few crashes/bugs that were found via static code analysis (#2617) 2020-01-25 14:26:38 +01:00
Shard
9f690a3741 fix(Core) : Enable randomProperties or suffix up to 5 (#2340) 2020-01-23 08:06:05 +01:00
CosmeF
e4fc5def21 fix(Core/Spell) Add an intervene trigger condition to avoid stealth removal (#2492) 2019-12-22 09:29:13 +01:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Viste
854b426978 feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert (#2273) 2019-09-26 09:51:33 +02:00
Francesco Borzì
0b88e24808 refactor(ItemTemplate): add missing enums + other minor improvements (#2236) 2019-08-26 20:43:53 +02:00
Francesco Borzì
cde07f89b9 fix: revert unwanted Spell changes (#2222)
- Partially reverts 7954a2a07e
2019-08-18 12:25:24 +02:00
mik1893
7954a2a07e Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
2019-08-16 12:15:14 +01:00
Stoabrogga
8b862c91ca fix(Core/Spell): Target "TARGET_DEST_CHANNEL_TARGET" (#1979) 2019-06-18 15:41:59 +02:00
WiZZy
204160b121 feat(Core/Eluna): PLAYER_EVENT_ON_SPELL_CAST (#1624) 2019-06-07 23:39:09 +02:00
Poszer
1e19e666c6 fix(Core/Combat): Casters combat (#1839)
- Fix issue with caster not entering in combat (Example: Priest apply buff on mage, while mage in combat. Priest doesn't enter in combat)
2019-05-21 02:43:15 +02:00
Nefertumm
40f68ab026 feat(Commands): Added cheat commands (#1412) 2019-02-24 18:35:08 +01:00
Nefertumm
c15206fc15 Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528 feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)
i.e. world update start
2019-02-14 19:22:17 +01:00
Viste(Кирилл)
cb81f3c17a feat(Core/LOS): restruct LOS functions and add LineOfSight check (#1459) 2019-02-13 22:24:04 +01:00
Poszer
002f24aadb Core/Spells: Mage permafrost talent (#1389)
* Core/Spells : Mage permafrost talent

- Will fix issue with permafrost (Talent ) apply the heal reduction even if dispelled.

Co-Authored-By: talamortis <talamortis@gmail.com>

* Update Spell.cpp

Removed the whole case function as requested in AC comments.
2019-02-02 12:51:16 +00:00
Jinyang li
f2f3872c25 CORE/Spell: add diminishing returns on reflected spell. (#1050)
Fix "Spell which is reflected doesn't create DR on whom is casting the spell"
Now warrior would not add diminishing returns if he reflect spell (code may be a bit hacky)

Closes issue #650 on github
2018-11-23 22:39:30 +01:00
Stoabrogga
7e1c5b16ae Bugfix: cast items with target "TARGET_DEST_NEARBY_ENTRY" (e.g. item 7247) did not work because the if-clause only checks valid target units or game objects; fixed via additional check for target object type "TARGET_OBJECT_TYPE_DEST" and a valid target destination 2018-05-31 22:02:54 +02:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
mik1893
6773cd3128 Core/Spells: Fix Chain Heal 2016-08-07 12:32:36 +02:00
Yehonal
f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00
Yehonal
52f305111c importing changes from callmephil repo
a special thanks to him
2016-06-26 19:22:35 +02:00
Yehonal
e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00