Schmoozerd
20e2dddd6c
[11856] Add missing comma in mangos.sql. Thanks to miebaik for pointing
2011-12-02 12:22:18 +01:00
mns
d7e8e75a1e
[11855] Update forgotten comment in mangosd.conf.dist.in
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-30 21:04:05 +01:00
Schmoozerd
fb64df10bd
[11854] Comment structure of script storage
2011-11-30 20:31:01 +01:00
Schmoozerd
601805b57e
[11853] Add new flag_extra NO_TALKTO_CREDIT
...
This flag is intended to make the process of removing the automatismn gossip.click -> quest-credit easier.
This flag will be removed when the converting is complete
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-30 20:31:00 +01:00
Schmoozerd
4c82458874
[11852] Add support for db scripts assigned to gossip menus
2011-11-30 20:30:52 +01:00
Xfurry
83e85416f4
[11851] Implement spell effects for Kalecgos
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-29 21:36:22 +01:00
PSZ
f9a259dc44
[11850] Add additional flag SELECT_FLAG_NOT_IN_MELEE_RANGE
...
this allows to select targets that are not in melee range with SelectAttackingTarget
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-28 16:33:40 +01:00
Sergey
93c419460f
Update src/game/SpellEffects.cpp
2011-11-28 09:49:37 +06:00
Alex
3199d72422
check unitTarget pointer
2011-11-28 09:22:23 +06:00
Schmoozerd
e19943b907
[11849] Implement Condition CONDITION_SKILL_BELOW to be able to check if a player has a skill lower than a given value
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-27 19:12:30 +01:00
Schmoozerd
9eb96b7811
[11849] Add missing pointer check for spell 45989.
...
Thanks to stfx for pointing
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-25 22:51:49 +01:00
Schmoozerd
3ae1f25b9b
[11848] Change use of ScriptLibrary OnGOUse return value in GO::Use
...
Now mainly used to allow or prevent DB scripts use
Also some related code cleaned and reordered
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-25 20:29:42 +01:00
TOM_RUS
c814e10481
Updated SMSG_CAST_FAILED with some new information.
2011-11-17 05:23:28 +04:00
Schmoozerd
a427718cab
[11847] Fix teleport spells with TargetType (TARGET_TABLE_X_Y_Z_COORDINATES, NO_TARGET)
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-15 19:55:55 +01:00
Schmoozerd
f4d862ac0a
[11846] Changes to default target selection
...
* Add a new function: Unit::IsSecondChoiceTarget to evaluate if a target will be selected
* Cleanup a bit related code
* SelectHostileTarget
- Only call AI()->AttackStart for new targets
- Remove exception for top-most taunter
* Fix a few minor bugs related to selectNextVictim
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-12 21:53:31 +01:00
Sergey
b35dea1703
Update src/game/SpellEffects.cpp
2011-11-11 10:33:56 +06:00
Xfurry
8793abd2c4
[11845] Implement ScriptEffects for spells 45141, 45151, 45206 for Brutallus
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-10 21:25:03 +01:00
Xfurry
d034710e38
[11844] Implement spells 45976, 46177, 45989 for M'uru encounter
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-09 16:58:41 +01:00
Schmoozerd
2166621df0
[11843] More improvements to LoadCreatureAddon, Thanks to Shauren and Vladimir for pointing
2011-11-08 18:40:49 +01:00
Schmoozerd
62c4f5e6bf
[11842] Add spell difficulty selection for creature*_addon auras
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-07 21:48:45 +01:00
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