Commit graph

5375 commits

Author SHA1 Message Date
SilverIce
6edfcea7f0 [11826] remove no more needed CORPSE_FALLING state, move FallGround method to more appropriate place 2011-10-16 04:42:31 +03:00
SilverIce
70a6a1ce76 [11825] Implement creature offhand attack. based on patch from maxxx2021
also drop some archaic Unit's code
2011-10-16 00:01:06 +03:00
Schmoozerd
4bd3976e30 [11824] Note meaning of second value for CONDITION_QUESTTAKEN 2011-10-15 20:47:50 +02:00
Schmoozerd
46e604a089 [11823] Add SCRIPT_COMMAND_MODIFY_NPC_FLAG to change NPC flags by db-script
Note that the npc flags will be restored when the npc respawns

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-14 20:35:55 +02:00
PSZ
1606bb2e45 [11822] Add more functionality to CONDITION_QUESTTAKEN
Add options 1/ 2 in second argument to check if a quest is INCOMPLETE/ COMPLETE, default will behave like currently

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-14 18:05:30 +02:00
SilverIce
4ad879a3da [11821] ger rid of useless now SplineType, SplineMode etc enums 2011-10-14 15:24:43 +03:00
SilverIce
59f8716542 [11820] implement OrientationFixed splineflag, correct OrientationInversed flag meaning. Add possibility to play landing, liftoff animation at arrive. Thanks to TOM_RUS for AnimType research 2011-10-14 14:50:00 +03:00
SilverIce
df0715284f [11819] move SetActiveObjectState to WorldObject level 2011-10-13 20:08:49 +03:00
SilverIce
012be82c86 [11818] update creature's unit part(update spell events, auras, movement) while in death. thanks to rsa for making tests
this allows us update creature's death persistent auras, fall died creatures in natural, non hacky way

also fix the bug that creature starts waypoint movement not from begining at respawning. thanks to Grz3s for reporting
2011-10-13 15:44:12 +03:00
Schmoozerd
9c70637333 [11817] Improve db error log output for *_addon auras
This clearifies that a problem is caused by already applied auras and not double aura in *_addon table.
The double spell entry as well as the invalid spell are filtered on load.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-11 17:52:11 +02:00
Xfurry
a59d1f06cc [11816] Implement spell 64456 for Auriaya encounter
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-08 15:58:59 +02:00
stfx
a25982abf6 [11815] Fix sending custom GO animation for Type10 GOs
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-08 01:09:00 +02:00
stfx
5b0c0c9fa4 [11814] Use the same variable to store the message for AFK and DND
Also make code in this area easier to read

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-07 17:22:27 +02:00
stfx
e89d5db5e3 [11813] Receiving whispers while being dnd
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-07 14:26:42 +02:00
stfx
35ad6b2ae5 [11812] Add possibility to send sound only to a zone in Map::PlayDirectSoundToMap
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-06 16:18:59 +02:00
Schmoozerd
379ef94aa7 [11811] Really fix spell 67009. Thank you all for contributing
I really should start to learn to count, sr for the inconvenience

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-27 14:31:05 +02:00
Schmoozerd
7279c16533 [11810] Fix a bug preventing displaying correct instance reset time
Also do some small style changes in the area

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-27 05:01:49 +02:00
Schmoozerd
d55e1b3edb [11809] Implement ScriptEffect for spell 67009
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-26 23:40:09 +02:00
Schmoozerd
241445aeeb [11808] Fix an old bug related to GO spawnmask check
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-26 01:37:13 +02:00
SilverIce
3567e69a3d [11807] Add gameobject_addon table
table holds additional per-guid gameobject data.
currently it contains path rotation info that required for some elevators and transports
2011-09-26 02:34:29 +03:00
SilverIce
7a67f27ab3 [11806] A bit gameobject code refactoring 2011-09-26 00:12:12 +03:00
Midna
cad083b1a8 [11805] Send unit movement speeds in the proper order, correct baseMoveSpeed value order
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-09-25 09:53:54 +03:00
Lightguard
f48a7867ac [11804] Fix glyph 63279 2011-09-24 18:32:34 +02:00
Lightguard
b5e50d5c2b [11803] Make SPELL_EFFECT_QUEST_COMPLETE always positive
This fixes spell 25201
2011-09-24 18:12:53 +02:00
Schmoozerd
2baf5f8c6e [11802] Implement quest-credit for spell 51858
Note: Many other dummy spells should work the same, please inform about them

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-24 16:35:54 +02:00
Xfurry
46e869a454 [11801] Implement spell 43498
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-24 15:40:06 +02:00
bastili
b8b1676aaf [11800] Implement spell 29395
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-20 01:32:47 +02:00
Schmoozerd
8b7f3e5245 [11799] Add HasAuraOfDifficulty to support difficulty spells for HasAura
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-18 14:07:34 +02:00
kid 10
6f156a2583 [11798] Implement select spellDifficulty support in RemoveAurasDueToSpell
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-18 13:20:39 +02:00
Vinolentus
a9e435c078 [11797] Do not remove item on unrelated auraholder remove
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-18 02:17:20 +02:00
zergtmn
3cb907051b [11796] Fix build in VS11 Developer Preview 2011-09-18 00:13:25 +06:00
zergtmn
4efca9aada [11795] Drop support for VC 2005 2011-09-17 19:53:15 +06:00
Feanordev
dc5595a91f [11794] Add support to start timed achievements in BGs
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-16 22:06:59 +02:00
Schmoozerd
0eff04c161 [11793] Add more features to SelectAttackingTarget
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-16 20:35:26 +02:00
Schmoozerd
6baf677a63 [11792] Implement spells 68912, 68871, 68875 and 68876
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-11 12:52:20 +02:00
Schmoozerd
0bb3a4c84d [11791] Implement spells 69048, 69051 and 69023
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-11 12:33:32 +02:00
Laise
8d58bfe7ed [11790] comment fix in sql 2011-09-08 18:12:43 +03:00
Vinolentus
3c073c283f [11789] Remove ApplySpellMod body from header. We can explicitly instantiate possible variants.
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-05 21:01:04 +02:00
zergtmn
989c979eee [11788] Fixed sql update name 2011-09-05 21:10:59 +06:00
zergtmn
e7873b8ad8 [11787] Clean up some redundant GetSpellDuration calls 2011-09-05 20:00:32 +06:00
Schmoozerd
49a504141a [11786] Enable additional db achievement requirements for criterias of type 41
* Enable 'achievement_criteria_requirement' support for achievement criterias of type 41 (ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM)
* Drop unneeded check for max type (this is done in default case in switch)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-04 23:43:57 +02:00
Shauren
8e4c46ff2a [11785] Implement dungeon encounters (DBC part), thanks to rsa for porting it to mangos
Signed-off-by: Laise <fenrisse@gmail.com>
2011-09-04 13:15:22 +03:00
Vinolentus
dc932024ab [11784] Fix restoring of phase mask when turning gm off
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-04 02:24:03 +02:00
Schmoozerd
aa40cf687f [11783] Let scripting library decide if an encounter is in progress in instances
Replace wrong Group::InCombatToInstance check, this was preventing entering when any member is in any combat.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-03 16:04:06 +02:00
SilverIce
7c49e4afb6 [11782] fix the issue in FlightPathMovementGenerator that event for last path point was not processed 2011-09-02 14:04:26 +03:00
MaxXx2021
de54e63f7a [11781] Set walking as a default creature movement mode
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-08-12 18:13:34 +03:00
SilverIce
f572279a61 [11780] fix the issue that HomeMovementGenerator finalize code wasn't executed in real meaning 2011-08-12 18:04:36 +03:00
VladimirMangos
50e7fbbf5e [11779] Fixed resurrection for released ghost case. 2011-08-12 18:55:49 +04:00
Schmoozerd
83079e0b81 [11778] Implement removal of spells that don't have appropriate SpellAuraInterruptFlags using proc system
Signed-off-by: Laise <fenrisse@gmail.com>
2011-08-10 16:06:24 +03:00
SilverIce
e3e39b5607 [11777] reimplement [11719] in better way 2011-08-09 20:56:48 +03:00