Commit graph

6353 commits

Author SHA1 Message Date
Schmoozerd
35d2d4a316 [11841] Use difficulty selection also for player cast spells, example 65686
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-07 21:48:12 +01:00
Schmoozerd
6b355bd987 [11840] Fix script command modify_npc_flag
Thanks to faq for pointing.
I checked both udb and ytdb, and they don't use this command yet;
If however you use it already check your scripts. (The toggle/add/remove flag must be set in `data_flags`) Sorry for the inconvenience.
Alos added a forgotten break.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-06 16:06:59 +01:00
Schmoozerd
7246e51a13 [11839] Add support to send custom gameobject anim for a few traps
The way to filter by display id is rather ugly, but no better solution is in sight. This should be good enough until better (likely model-data) support can be implemented.
Also it must be changed if more Traps with this behaviour are found.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-05 20:05:59 +01:00
kaelima
e55a14b96d [11838] Small code cleanup in Player::UpdateWeaponSkill
Thanks to stfx for providing the patch.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-04 15:53:08 +01:00
Schmoozerd
c3c0098361 [11837] Unify update files to sql style convention, thanks to crackm for pointing 2011-11-04 15:25:06 +01:00
Nighoo
97a1884ea4 [11836] Some more documentation and information for soap example 2011-10-27 21:09:25 +02:00
Vinolentus
63f9e43385 [11835] Fix SqlStatement::addBool
MYSQL_TYPE_BIT is not one of the allowable input values, so we have to pass it using an integer variable

Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-10-25 20:41:01 +03:00
Laise
6b1d74fd4b [11834] remove unneeded initialization, thx silverice 2011-10-20 10:01:26 +02:00
stfx
09e331767d [11833] remove trailing whitespaces
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-10-18 15:17:54 +03:00
SilverIce
ee7f3811e0 Merge pull request #21 from Vinolentus/master
remove trailing whitespace after 11831
2011-10-18 04:20:13 -07:00
Vinolentus
7affa3580e remove trailing whitespace after 11831 2011-10-18 14:51:18 +04:00
pabzea
3aca58520b [11832] better check for twohand vs main&offhand case gearscore
Signed-off-by: Laise <fenrisse@gmail.com>
2011-10-18 09:01:29 +02:00
C:/Program Files (x86)/git/dev/rsa
70a8a350d7 [11831] Implement player gear score calculation
Signed-off-by: Laise <fenrisse@gmail.com>
2011-10-17 16:13:37 +02:00
SilverIce
fdc68c580d fix my typo in MotionMaster::MoveFall debug output format. thanks to stfx 2011-10-16 23:39:27 +03:00
Schmoozerd
428b7b9178 [11830] Do not allow referenced loot with negative chance, bug found by crackm
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-16 21:34:01 +02:00
Schmoozerd
15028559c9 [11829] Hopefully really fix *nix compile 2011-10-16 21:29:08 +02:00
morphau
8aa0ce6efe [11828] Fix compile on *nix
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-16 20:00:27 +02:00
Schmoozerd
fbdd79141c [11827] Implement Creature Linking via database
Thanks to Silverice for feedback!

This system interprets the content of the table `creature_linking_template`. To trigger different actions on different events of the npcs that are linked together.
Possible event/ action combinations can be taken form the flags in CreatureLinkingMgr.h::CreatureLinkingFlags
2011-10-16 13:04:58 +02:00
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
d62061f423 missing changes from my prev. commit 2011-10-13 20:44:56 +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
Sergey
5880014d93 Edited src/game/SpellEffects.cpp via GitHub 2011-10-10 09:21:48 +06: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
TheLuda
8057f774e8 Merge pull request #18 from stfx/patch-3
Mark updated data bytes. Taken from One backport
2011-09-25 01:53:15 -07:00
stfx
af6b5f0789 Edited src/game/movement/packet_builder.cpp via GitHub 2011-09-25 10:35:18 +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
TheLuda
9072571b6f Merge pull request #16 from stfx/patch-1
Shutdown messages are now sent in blizzlike intervals
2011-09-20 09:43:05 -07:00
stfx
9050b5af7e Shutdown messages are now sent in blizzlike intervals. Author: Shauren 2011-09-20 18:31:52 +03:00