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
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
Xfurry
77c5ae1684
[12001] Implement target limiting for spell 47669
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-12 23:54:20 +02:00
Kid10
acc27152eb
[12000] 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>
2012-06-12 23:16:56 +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
Schmoozerd
ef079ac0be
[11996] Fix targeting for spells like 53022
...
Thanks to Inquisitor for pointing
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-09 14:49:47 +02:00
Schmoozerd
41072c5455
[11995] Fix following for guid linked npcs on evade
...
Thanks to grz3s for pointing
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-09 14:46:55 +02:00
Schmoozerd
d41974b38b
[11994] Implement creature_linking by guid
2012-05-10 22:34:23 +02:00
Schmoozerd
74e3e55668
[11993] Fix some spell targeting
...
* Implement Target Type 51 as TARGET_AREAEFFECT_GO_AROUND_SOURCE
* Support spells that fill AoE targets based on source location
Thanks to Reamer for discussing these changes
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-10 19:18:37 +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
3c3db7311c
[11991] Use unMaxTargets for GO-target fills
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-09 23:09:13 +02:00
Schmoozerd
414d432d24
[11990] More db-script command changes
...
* Allow SCRIPT_COMMAND_KILL_CREDIT to give the kill of an involved npc.
This is marked by datalong (creature-entry) == 0
* Remove immediate execution of commands. This will prevent infinite loops when db-scripts trigger db-scripts which are executed immediately
* Add check for SCRIPT_COMMAND_PLAY_SOUND
* Add check to catch an invalid command
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-09 23:09:12 +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
dd1d913ff2
[11988] Fix a bug in SCRIPT_COMMAND_TEMP_SUMMON_CREATURE
...
Now despawn-time will be treated as TEMPSUMMON_DEAD_DESPAWN as expected. Thanks to Xfurry for pointing.
Also make the DB-scripts work only with players on the map. This might affect a few rare scripts, especially related to far-teleport
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-08 17:07:09 +02:00
Schmoozerd
0645d10286
[11987] Fix possible memory leak in .gameobject add command
...
Thanks to Kid10 for pointing
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-05 14:59:57 +02:00
Schmoozerd
744995d27c
[11986] Improve targeting for spells with TARGET_TOTEM_* targets
2012-05-05 01:36:20 +02:00
Schmoozerd
010d29d1ed
[11985] Implement support for go_template_scripts
...
Add a new table `gameobject_template_scripts` to start scripts for any type gameobject.
Scripts in this table are triggered for all gameobjects on GameObject::Use
Note: The table `gameobject_scripts` is expected to not be required very much longer, and will most likely be removed someday
2012-05-04 20:39:48 +02:00
Schmoozerd
4e6fbf5e9e
[11984] Add new SCRIPT_COMMAND_SEND_TAXI_PATH to trigger a taxi path
...
Idea for this patch by Klark20 (maybe he also was the author of this patch as well, I cannot check in this moment)
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-04 17:47:12 +02:00
Schmoozerd
99986d7881
[11983] Fix log output for loaded achievement_criterias
...
Thanks to TuX for spotting this error
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-04 16:42:24 +02:00
virusav
ab9b37bf3b
[11982] Fix DB_STRICTED_CHECK output for gossip
...
This fixes to integrity check to report unused gossip_menu entries. Before only menus used by creatures with gossip_menu_items were reported
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-05-04 16:42:16 +02:00
Den
67fe27774c
[11981] Fix targeting of most pet spells. They expect to target alive pets
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-26 18:08:55 +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
virusav
c17fdc3093
[11979] Remove ReqSourceItems when rewarding or abandoning a quest
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-25 14:44:23 +02:00
Den
24574b000e
[11978] Remove outdated comment
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-24 22:15:39 +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
Schmoozerd
8433b67599
[11976] Fix some spell visuals (for spells like 39179)
2012-04-23 12:49:48 +02:00
Schmoozerd
1f24d991e3
[11975] Use a few more enums instead of magic numbers
2012-04-22 23:45:06 +02:00
Reamer
5d445d5da9
[11974] Fix spell targeting for some spells like 20243
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-22 22:08:17 +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
Schmoozerd
7fd1f64319
[11971] Add wrapper HasAttribute to check if a spell has an attribute
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-21 02:02:34 +02:00