Commit graph

956 commits

Author SHA1 Message Date
Reamer
147a1b04fe [12126] Implement SPELL_EFFECT_KNOCKBACK_FROM_POSITION (144)
Also fix a missing break in db-script engine

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:03 +00:00
Schmoozerd
1014f50b89 Fixup last commit (why didn't it ammend.. 2020-02-16 20:40:58 +00:00
rsa
de95d1d480 [12123] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's 2020-02-16 20:40:57 +00:00
cyberium
5214147ace [12121] Implement some server side summons spells
Add spells: 34810, 34817, 34818, 34819, 35153, 35904, 35905, 35906

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:40:53 +00:00
Yaki Khadafi
3153bd2129 [0146] Cleanup deprecated item mods and combat ratings
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:51:43 +00:00
cyberium
afb090f57c [12101] Implement spell 36677
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 19:16:53 +00:00
Yaki Khadafi
e0a8e30cc3 [0093] Enabled and updated lots of opcodes, mostly spell-related. All structures checked .
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 15:32:25 +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
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
stfx
3707b04330 [12066] Optimize some parts for ++C 2012-07-21 17:15:11 +02:00
Xfurry
5f4d61928f [12064] Implement spell 56430 2012-07-20 18:14:53 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
08fd085549 Various Cleanups (game S) 2012-07-19 21:52:06 +02:00
Schmoozerd
6de10526cc [12058] Remove more header includes 2012-07-19 04:15:13 +02:00
GriffonHeart
161b18b760 [12048] Implement SummonPossessed
Version slightly derived from GriffonHeart's version.
2012-07-16 22:08:18 +02:00
Schmoozerd
bd5340b3a9 Fixup recent commit :( thx for pointing 2012-07-15 18:11:41 +02:00
Schmoozerd
d46098961a [12046] Fix an error with debug output for MoveFall. Thx to stfx for pointing 2012-07-15 18:08:30 +02:00
mosst
213adc7ab0 [12045] Implemented Skadi spell Poison Spear
Original patch by Azerus (?)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-15 17:37:10 +02:00
Schmoozerd
5060d55b05 [12042] Add summon amount exception for engineering pets 2012-07-15 14:00:17 +02:00
Schmoozerd
dc60abae90 [12041] Refactor Npc Summoning code
* Do positions handling in one place for all npc summon spell types
* Handle a bunch of shared post-summoning processing also in a shared place
* Ensure that summon positions have proper z, thx to Reamer for this part
2012-07-15 13:59:55 +02:00
GS
6e8111261c [12036] Fix Tauren Skin Tone Changeing at barbershop
Patch taken from insider's repo.
Also rename DoSummon function to DoSummonPet function.

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-13 22:03:23 +02:00
Xfurry
7682400a1f [12035] Implement spells 33923 and 38796 2012-07-13 14:08:26 +02:00
Xfurry
0cce85e46e [12034] Implement a bunch of spells
* Target Limitations for: 70450 70837 71445 71471 71837 71861
* DummyEffects for: 71445 71471, 71718, 72040, 71837, 71861, 72261
* ScriptEffect for: 71806
2012-07-13 00:43:42 +02:00
Xfurry
12fa17dba5 [12029] Implement spell 35865 2012-07-09 19:21:37 +02:00
Reamer
ea30899db4 [12027] Add some VMap LoS checking functions to Map scope 2012-07-05 19:37:35 +02:00
darkstalker
f777665d48 [12021] Fix some warnings
Thx to stfx for porting

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-25 15:40:27 +02:00
virusav
6d49f2bbee [12018] Implement spell 51519 2012-06-24 19:40:48 +02:00
Schmoozerd
dfa35dafab [12016] Implement some Cleansing Flames spells
Implementation based on original work by fallenangelX, thx to stfx for bumping the topic

Implements spells:
* 28859 (used for normal summer festival flames)
* 29126, 29135-29139, 46671, 46672 (used for city summer festival flames)

Also reorder a few dummy effects.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-23 14:29:09 +02:00
stfx
17b10b5e75 [12013] Implement SpellEffect 150 as SPELL_EFFECT_QUEST_OFFER
The implementation is a bit vague as there are only two spells atm with this effect.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-22 13:12:36 +02:00
Xfurry
7af8f7fde7 [12009] Fix wrong implementation of spell 48590 from [12005]
Thanks to rsa for pointing to the problems
Original author of now similar patch unknown

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-14 23:47:52 +02:00
Xfurry
a71dfd84a7 [12005] Implement spell 48590 2012-06-13 15:35:09 +02:00
Reamer
55a96d18f2 [12003] Implement script-effect for spells 47703, 47724 and 50252
Thanks to stfx for porting

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-13 00:30:35 +02:00
Reamer
9a41fe05cd [12002] Implement spell 59789
Thanks to stfx for porting

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-13 00:23:14 +02:00
rsa
1c1bc5c659 [11999] Implement spell 45204
Original author Wowka321, thx to stfx for porting

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-11 15:17:11 +02:00
boxa
f13213018c [11998] Implement fail chance for spell 54732
Ths to stfx for porting

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-11 14:31:04 +02:00
fallenangelX
007420b615 [11997] Add spell support for 54092
Thanks to stfx for porting

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-11 14:30:55 +02:00
Xfurry
5dbef19097 [11992] Implement spells 69140, 69147 and 72705
Original author Michalpolko and others

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-09 23:50:47 +02:00
Schmoozerd
83d7d86255 [11989] Add support to call spell_scripts in more cases
* Support to script Dummy spells with spell_scripts
* Support to script TriggerSpell spells which have no existing triggered spell
Note that the order which spell-effect actually triggers the DB script is well-defined (SCRIPT_EFFECT before DUMMY before other)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-08 17:31:09 +02:00
Schmoozerd
d08edbd93c [11980] Improve support for wild summoned GOs
* Support GetGameObject for wild summoned GOs
* Proper delete WildSummoned GOs after they are used
2012-04-26 18:08:35 +02:00
Schmoozerd
e29e640341 [11977] More uses of wrappers introduced in 11971
Also fix a typo that caused problems with Stances

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-23 22:49:16 +02:00
stfx
f3f3349661 [11973] Various Cleanups
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-22 19:48:05 +02:00
Xfurry
c243c42c3c [11972] Remove partial DummyEffect implementation of spells 8593, 31225
Both belong to Paladin Resurrection quests. And they are expected to be handled by SD2

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-21 11:53:57 +02:00
stfx
067942a978 [11959] Implement spell effect 131 - SPELL_EFFECT_PLAY_SOUND
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-13 18:43:40 +02:00
przemratajczak
bf7e46a7f8 [11956] Implement spells 28374, 54426 and 71123 (Decimate)
Thanks to piroy1337 for version of ICC Decimate,
thanks to ZuSe for bumping the issue of missing implementation

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-13 01:00:38 +02:00
Schmoozerd
a42a55da84 [11942] Add option to NearestCreatureEntryWithLiveState.. GridSearcher to be able to also search for both alive and corpse creatures 2012-04-07 00:00:21 +02:00
Xfurry
fcbde94267 [11941] Implement effects for spells 27687, 27695
also fix another type in extractor-binary script (thanks again nighoo)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-06 23:51:21 +02:00
Schmoozerd
8e0edc0383 [11940] Rewrite and cleanup DB Script Engine
* Moved actual script processing code to ScriptMgr
* Unifed and improved log output. Now table-name is passed to each script execution
* Added the "buddy concept" to all commands (except the outdated direct field change commands):
Now all commands support to search a creature (or go for some commands) in a radius, with which to do some stuff.
See doc/script_commands.txt for more details and information

Attention DB Devs:
Current DB-Scripts are converted automatically as far as possible, but some old target selecting mechanics were not reasonable to do automated.
For such cases the command is marked with data_flags & 0x10 (==16), which will throw DB-Errors to track them down faster

Thanks to NeatElves and especially Grz3s for testing!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-06 22:04:30 +02:00
Klark20
a2b6888d84 [11932] Fix spell of Orb of Translocation, spells 25140 29128
Signed-off-by: Klark20 <klark20@online.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-03-29 21:30:08 +02:00