Commit graph

7311 commits

Author SHA1 Message Date
Yaki Khadafi
0328054d17 [0087] Use missile elevation and speed in delay calculations. Author: @rsa
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 14:31:49 +00:00
Yaki Khadafi
6407b24a03 [0086] Updated CMSG_SPELL_CAST, CMSG_USE_ITEM, CMSG_PET_SPELL_CAST, SMSG_SPELL_START, SMSG_SPELL_GO and some other spell opcodes 2020-02-16 14:31:14 +00:00
Schmoozerd
5d91e6f24c [12091] Fix SQL file from last commit 2020-02-16 14:29:54 +00:00
Salja
10d308bbaf [0085] Updated critical heal to Cataclysm. Thanks Sovak
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 11:57:04 +00:00
Salja
a0cf045d2d [0084] Fix Build from last Commit.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 11:56:33 +00:00
Xfurry
6977c3b60a [0083] Implement some spells for AQ40
Dark Glare beam spells: 26137, 26009, 26136 and 26029
Server side spell: 26133
2020-02-16 11:56:31 +00:00
Xfurry
b0dd58e0f3 [0082] Add to vanilla spells as server-side spells (23263, 25192) 2020-02-16 11:56:30 +00:00
Salja
e82f08f6f2 [0081] Implement server side spells
Add exemplarily support for spells 21387(used with Ragnaros) and 62388(related to Demonic Circle)
Further table columns can be added as required.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 11:54:54 +00:00
Yaki Khadafi
6c5b7b6749 [0080] Another unintended change. Still undefined aura.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 11:49:50 +00:00
Yaki Khadafi
ebede32b77 [0079] Update spell effect and aura enums to 4.3.4 2020-02-16 11:41:19 +00:00
Xfurry
5aef24e6f5 [12090] Implement some spells for AQ40
Dark Glare beam spells: 26137, 26009, 26136 and 26029
Server side spell: 26133
2020-02-16 10:16:18 +00:00
Salja
636afadf45 [0078] More Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:37 +00:00
Salja
bb75bfeb7a [0077] Some Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:36 +00:00
Salja
7a29bce931 [0076] Some Cleans and highest lookup entries for 4.3.4 DB2.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:35 +00:00
Yaki Khadafi
c032f556bf [0075] Unintended changes
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:59:14 +00:00
Yaki Khadafi
0b24dd2912 [0074] Fix spawnmask errors
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:59:13 +00:00
Salja
69b46bd682 [0073] Typo from last Commit. 2020-02-16 08:58:57 +00:00
Yaki Khadafi
b4d97ccf77 [0072] Fix world teleport and use normalized orientation in some more places
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:58:36 +00:00
LordJZ
e4a1080718 [12089] Make use of C++11's static_assert if possible.
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:56:06 +00:00
LordJZ
8f25d5b866 [12088] Fix a bad override, blame VC for this
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:55:33 +00:00
bugeyedcreepy
cf53b303f7 [12087] Improve some mangos_string texts and command help texts
This closes pull request #75

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:53:54 +00:00
LordJZ
a2f442fc73 [12086] Fix some unintended custom literals. 2020-02-16 08:48:10 +00:00
Schmoozerd
f2578c0e74 [12085] Fix a bug with SCRIPT_COMMAND_KILL_CREDIT
This bug can happen if a (group) kill credit is provided without involved creature.
Thanks to Atari for pointing!
2020-02-16 08:45:41 +00:00
stfx
5d6a28886c [12084] Send SMSG_DEFENSE_MESSAGE, SMSG_ZONE_UNDER_ATTACK only to players outside of instances
Also remove team argument from SendDefenseMessage as all texts are sent to all teams, use seperate function to send zone attack message, cleanup some send message functions and remove deprecated send text functions
2020-02-16 08:45:13 +00:00
Shauren
6e9858e4e2 [12083] Use fabs instead of abs for float type.
On some platforms abs has only int overload exists.

Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:41:59 +00:00
Nay
260b353b53 [12082] Fix sending an incorrect value in BuildPlayerChat
Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:37:42 +00:00
stfx
56228cda26 [12081] Implement SMSG_DEFENSE_MESSAGE for the upcoming opvp system
Also fix callig go type 29 progress event if there is no neutral area (like in Halaa)
2020-02-16 08:33:11 +00:00
LordJZ
cd1bb3f9f4 Remove unused file MySQLDelayThread.h.
This file also contains at least two errors:
  bad override specifier
  invalid SqlDelayThread constructor call
2020-02-16 08:29:52 +00:00
LordJZ
f0e48f0587 [0071] Fix build. 2020-02-16 08:29:49 +00:00
LordJZ
856342bb7c [0070] Make use of C++11's static_assert if possible. 2020-02-16 08:29:48 +00:00
LordPsyan
81787fa460 [0069] Better fix for spawnMask 1 in map 0 error. Thanks VladimirMangos for explaining how to specify map 0. 2020-02-16 08:29:46 +00:00
Salja
26827d9320 [0068] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:29:45 +00:00
LordJZ
8010d254b6 Fix SMSG_POWER_UPDATE, thanks @Zakamurite for noticing. 2020-02-16 08:29:43 +00:00
Netcho
dba1b2fca2 Enable more opcodes
Signed-off-by: Netcho <kkotlarski@abv.bg>
2020-02-16 08:29:41 +00:00
Yaki Khadafi
e7d0275ae2 [0067] Set- canfly/forcemoveroot/waterwalk packets, SMSG_PLAY_SPELL_VISUAL
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:29:40 +00:00
LordJZ
6b1df231a5 Forward-merge out of world SMSG_POWER_UPDATE and 4.x structure fixes. 2020-02-16 08:29:38 +00:00
LordJZ
9bfd741583 Finally fix UnitMods and add more assertions. 2020-02-16 08:29:37 +00:00
LordJZ
a5ca883668 Fix UnitMods. This fixes buffer overflows.
/me pokes @Fabi
2020-02-16 08:29:35 +00:00
LordJZ
adabb1556d Proper power uses. 2020-02-16 08:29:34 +00:00
LordJZ
ef2aa96340 Implement proper power addressing. 2020-02-16 08:29:33 +00:00
LordJZ
bb02504469 Check some power-related auras for proper power ids.
Affected:
  SPELL_AURA_MOD_INCREASE_ENERGY
  SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT
  SPELL_AURA_PERIODIC_MANA_LEECH
  SPELL_AURA_PERIODIC_ENERGIZE
  SPELL_AURA_POWER_BURN_MANA
2020-02-16 08:29:09 +00:00
LordJZ
be9f9765cf Make use of ChrClassesXPowerTypes.dbc, fix MAX_POWERS. 2020-02-16 08:29:08 +00:00
LordJZ
12a3a08f01 [0066] Fix a bad override, blame VC for this
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:29:06 +00:00
bugeyedcreepy
705fe016ba [0065] Improve some mangos_string texts and command help texts
This closes pull request #75

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:29:05 +00:00
LordJZ
fdde26e77b [0064] Fix some unintended custom literals. 2020-02-16 08:29:04 +00:00
Schmoozerd
aacb838e60 [0063] Fix a bug with SCRIPT_COMMAND_KILL_CREDIT
This bug can happen if a (group) kill credit is provided without involved creature.
Thanks to Atari for pointing!
2020-02-16 08:29:02 +00:00
stfx
27fefb1e96 [0062] Send SMSG_DEFENSE_MESSAGE, SMSG_ZONE_UNDER_ATTACK only to players outside of instances
Also remove team argument from SendDefenseMessage as all texts are sent to all teams, use seperate function to send zone attack message, cleanup some send message functions and remove deprecated send text functions
2020-02-16 08:29:01 +00:00
Shauren
a004c7b50c [0061] Use fabs instead of abs for float type.
On some platforms abs has only int overload exists.

Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:29:00 +00:00
Salja
7ce7fd8ab1 [0060] SMSG_LEVELUP_INFO
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:59 +00:00
Salja
e0bfa7fa63 [0059] Some more Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:57 +00:00