Commit graph

5352 commits

Author SHA1 Message Date
boxa
59961cffc7 [12052] Fixup commit 12043, My bad. Thx to Reamer for pointing 2012-07-16 22:10:50 +02:00
bugeyedcreepy
cecd262a59 [12051] Fix Engrish Typo 2012-07-16 22:10:49 +02:00
Schmoozerd
ce11b046e3 [12050] Interrupt possessed channeling when possessed dies 2012-07-16 22:10:48 +02:00
Schmoozerd
f946197259 [12049] Let PossessedSummons despawn on Channeled-Aura interrupt
Maybe this mechanic should also be used for normal possessed mobs, but then their special handling must be removed
Also not entirely sure if this a great place for this code to be - but I didn't catch a better suiting one
2012-07-16 22:10:47 +02:00
GriffonHeart
161b18b760 [12048] Implement SummonPossessed
Version slightly derived from GriffonHeart's version.
2012-07-16 22:08:18 +02:00
Schmoozerd
8b075e1037 [12047] Refactor Unit kills Creature case
Add method Unit::JustKilledCreature to include code of killed creature case in Unit::DealDamage
2012-07-16 20:18:39 +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
codels
a3faf136bc [12044] Add CONDITION_NOT (-3) to conditions system
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-15 16:56:16 +02:00
Nay
c8c6418d6e [12043] When GM is invisible use a transparency visual aura
Based on TC commit by DDuarte, ideas by Kretol and Aokromes

Add config setting GM.InvisibleAura to configure the to be used aura

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-15 16:35:27 +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
Schmoozerd
6b50ce1f1a [12040] Add some comments to SummonProperty enums 2012-07-15 13:59:21 +02:00
kid 10
8d558ee200 [12039] Implement spells 66118 67630 68646 68647 2012-07-14 01:08:35 +02:00
kaelima
fd6c2e1751 [12038] Use bitmask for chat tag.
Thanks to stfx for porting

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-13 22:39:19 +02:00
stfx
d563c6576d [12037] Use enum for rest state 2012-07-13 22:39:06 +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
Reamer
c46fade9f0 [12033] Implement spell radius for 56438, target limitation for 56140 2012-07-12 22:30:11 +02:00
Schmoozerd
84527cfcc3 [12032] Fix a bug to not display usability for weapons correctly 2012-07-12 22:06:37 +02:00
Schmoozerd
208e9acbff [12031] Change way location targeting is handled 2012-07-12 21:57:45 +02:00
Reamer
6b6b2379a3 [12030] Support Random Movement around a point
* Remove unused MoveRandom function
* Add MotionMaster::MoveRandomAroundPoint function
* Toggle DB-command COMMAND_MOVEMENT to be able to move around current position or respawn position (depending on data_flags)
2012-07-12 19:15:14 +02:00
Xfurry
12fa17dba5 [12029] Implement spell 35865 2012-07-09 19:21:37 +02:00
Schmoozerd
065bcc6b5c Revert "[12028] Implement spell 70842"
Reason: This spell is implemented within SD2 for proper phase handling of the boss

This reverts commit bf940b370c11920fc395412bc059adc0431f92ca.
2012-07-05 21:15:15 +02:00
Azelen
99b14e9882 [12028] Implement spell 70842 2012-07-05 20:08:20 +02:00
Reamer
ea30899db4 [12027] Add some VMap LoS checking functions to Map scope 2012-07-05 19:37:35 +02:00
Schmoozerd
0e0a765312 [12026] Replace std containers of ObjectGuids with some predefined types
Based on patch by stfx

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-03 18:47:05 +02:00
Schmoozerd
b607d6a3fd [12025] Fix a stupid mistake from 12017 2012-07-03 17:14:42 +02:00
Schmoozerd
00f4b2e6f2 [12024] Fix Targetpair (87, 8) to use TARGET_FLAG_DEST_LOCATION
Note: It seems that atm a bunch of spells are broken, that had seem to work before.
There will follow up a few more changes to spell targeting, so please report issues you find.
2012-06-29 13:24:23 +02:00
Schmoozerd
314c448a3d [12023] Enable SQL-Storage to work with entries of value zero 2012-06-25 21:12:44 +02:00
stfx
a309de2e6d [12022] Some more warning fixes 2012-06-25 15:56:53 +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
Reamer
e533ff54d5 [12020] Implement targeting for spell 30843
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-25 15:03:59 +02:00
Schmoozerd
01b6c6b8f4 [12019] Various changes
* Add some const correctness
* Remove unused Unit::isHover() function
* Help compiler optimize code from last commit (thx to vladimir)
2012-06-25 14:54:00 +02:00
virusav
6d49f2bbee [12018] Implement spell 51519 2012-06-24 19:40:48 +02:00
Schmoozerd
fb3a990b13 [12017] Add support for getRace() of creatures. Thanks to vladimir for input 2012-06-24 19:40:36 +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
Reamer
fa6233609b [12015] Add pullrequest #47 for improvements with mmap generator debug output
Don't override obj-files, which are created with "movemapgen -debugOutput true"

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-22 19:16:05 +02:00
stfx
3d3529dc07 [12014] Do some smaller cleanups
* Cleanup mangos.sql file
* Remove not really required BattleGroundWinner

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-22 18:31:49 +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
956e307ba1 [12012] Add to vanilla spells as server-side spells (23263, 25192) 2012-06-22 00:00:50 +02:00
Xfurry
cd2b07e50a [12011] Implement spell 33326
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-19 20:13:04 +02:00
michalpolko
731a26b1f6 [12010] Implement spells 28832 28833 28834 28835 (Naxxramas Four Horsemen Marks)
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-19 20:12:26 +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
Feanordev
e7114b4b3c [12008] Fix BoA items conversion
Thanks to stfx for porting

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-14 04:17:40 +02:00
NeatElves
ffd060d400 [12007] Add new CONDITION_REPUTATION_RANK_MAX (30)
Rename old CONDITION_REPUTATION_RANK to CONDITION_REPUTATION_RANK_MIN

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-13 22:35:01 +02:00
partizanes
05a33ee04e [12006] Implement Aura 304 as SPELL_AURA_FAKE_INEBRIATE
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-13 19:48:32 +02:00
Xfurry
a71dfd84a7 [12005] Implement spell 48590 2012-06-13 15:35:09 +02:00
Xfurry
f7afe66db5 [12004] Fix spell 48385 2012-06-13 15:34:01 +02:00