LordJZ
6b1df231a5
Forward-merge out of world SMSG_POWER_UPDATE and 4.x structure fixes.
2020-02-16 08:29:38 +00:00
LordJZ
adabb1556d
Proper power uses.
2020-02-16 08:29:34 +00:00
LordJZ
ef2aa96340
Implement proper power addressing.
2020-02-16 08:29:33 +00:00
Yaki Khadafi
cfae212258
[0048] Enable SMSG_MONSTER_MOVE, CMSG_SET_SELECTION and send normalized orientation in update and movement packets for client to react normally.
...
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 07:37:46 +00:00
Yaki Khadafi
a290f4ab43
[0039] Implement speed change opcodes.
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 07:37:38 +00:00
Yaki Khadafi
ef498a7689
[0020] Update splines. Author: @Shauren.
...
Also use movement StatusInfo for players to write movement information.
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:54:19 +00:00
Yaki Khadafi
2bb1b2558e
[0008] Typos v_v
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:54:07 +00:00
Yaki Khadafi
4409188546
[0006] Fix most of movement opcodes. Thx Strawberry & Trinity for MovementStatusElements idea.
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:54:05 +00:00
Yaki Khadafi
f7cd8ce52a
Fix SMSG_UPDATE_OBJECT, SMSG_DESTROY_OBJECT, and some teleport opcodes
...
Authors: Strawberry, Trinity, me
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:53:44 +00:00
Yaki Khadafi
e9bee9b0b0
Update UpdateFields.h. Drop redundant powers and happiness.
...
thx Strawberry
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:25:30 +00:00
Salja
22bfaa12b0
Mage 400 INTO master/434
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479
[12069] Cleanup comment style
2012-07-22 14:39:31 +02:00
Schmoozerd
e32b9953a1
Cleanup Operator padding
2012-07-20 17:38:23 +02:00
Schmoozerd
6379a746d7
Various Cleanups (game T-Z)
2012-07-19 21:52:26 +02:00
Schmoozerd
6de10526cc
[12058] Remove more header includes
2012-07-19 04:15:13 +02:00
Schmoozerd
ce11b046e3
[12050] Interrupt possessed channeling when possessed dies
2012-07-16 22:10:48 +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
208e9acbff
[12031] Change way location targeting is handled
2012-07-12 21:57:45 +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
stfx
a309de2e6d
[12022] Some more warning fixes
2012-06-25 15:56:53 +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
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
stfx
f3f3349661
[11973] Various Cleanups
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-22 19:48:05 +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
machiavelli
af6b589041
[11955] Remove .hover command
...
You can use .cast 11010 and .unaura 11010 instead
Thanks to stfx for improving patch and porting it for us :)
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-12 23:10:43 +02:00
Reamer
fdfc6dece6
[11933] Show Combat log entries for heals from NPCs
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-03-29 21:45:50 +02:00
Schmoozerd
af47f39a4e
[11930] Fix Pet behaviour for environmental damage
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-03-28 22:16:47 +02:00
Schmoozerd
443050ffa1
[11927] Fix typo, also use shiny wrapper for ObjectGuid.GetString. Thanks to tyrnon for pointing
2012-02-09 00:40:34 +01:00
sixsixnine
d0bdf7611a
[11918] Let creatures evade when the enemy is unreachable
...
This commit is not great, but will be improved hopefully soon.
However it seems that it doesn't really cause problems, it is just not as good as it should be!
2012-02-07 00:03:51 +01:00
sixsixnine
e738c27714
[11911] Use mmaps for Spline Movement
2012-02-06 23:18:16 +01:00
rsa
c9ead52e68
[11893] Fix copy&paste error from last commit - otherwise server will crash with first loaded player pet
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 14:42:02 +01:00
Schmoozerd
6aab5c1022
[11892] Really fix [11890]. This basicly reverts commit 11890
...
Remove the actually not required faction check in Player::GetNPCIfCanInteractWith - this is done by IsHostileTo a line before
Improve the Player-login AtWar selection to also consider forced reactions
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 00:16:21 +01:00
Schmoozerd
3e552fc739
[11890] Fix Player::GetNPCIfCanInteractWith to consider forced reactions
...
This will fix ie quest 9410 A Spirit Guide
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-27 00:20:14 +01:00
faramir118
eca3586d74
Fix some combat behaviour of NPC-Pets
...
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-20 00:42:59 +01:00
Schmoozerd
8068dcf6dd
[11875] Update Copyright notice to year 2012
...
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +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
stfx
09e331767d
[11833] remove trailing whitespaces
...
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-10-18 15:17:54 +03: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
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
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
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
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
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
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
Lynx3d
a872624ce3
[11775] Fix compile with gcc for 32bit platforms.
2011-08-08 17:09:04 +02:00
Laise
c60425c6bd
[11766] fix spell redirection and totem destruction on hit by redirected spell
2011-08-04 19:34:51 +03:00
Laise
43e45c2b35
[11761] change conditions for default cast end proc
2011-07-30 09:39:23 +03:00