Machiavelli
8ea8dd4f3d
Core/Units: Replace wrong usage of UNIT_FLAG_PVP_ATTACKABLE with UNIT_FLAG_PLAYER_CONTROLLED in Unit::IsValidAttackTarget, Unit::IsValidAssistTarget and Unit::GetReactionTo. Using 4.1 flags in 3.3.5 doesn't always work out like it should... Also remove now unneeded change from 70b558d
...
Fixes SPELL_AURA_FORCE_REACTION amongst other things
2011-11-16 23:12:31 +01:00
Machiavelli
70b558dd39
Core/Units: Fix Unit::_IsValidAttackTarget (UNIT_FLAG_OOC_NOT_ATTACKABLE check specifically)
...
Closes #3172
2011-11-16 21:02:37 +01:00
Machiavelli
c67af87eda
Core/Spells: Fix SPELL_EFFECT_SEND_EVENT handler being executed more than once when targets != (0, 0). Closes #3934
2011-11-16 19:09:51 +01:00
Shauren
6cd78a520a
Core/World
...
* Update character name cache after player rename
* Add character name data for characters loaded with PlayerDump
Closes #3653
Closes #3970
2011-11-16 10:31:38 +01:00
megamage
10b89d976f
A temp fix for crash caused by remove corpse.
2011-11-14 21:01:53 -05:00
kaelima
17e1f8a0d5
Core/SmartAI: Remove the requirement for only players to trigger SMART_ACTION_SOUND.
...
Closes #517
2011-11-13 06:40:14 +01:00
megamage
0bb964285f
Fix a crash caused by removecorpse
2011-11-12 23:04:51 -05:00
kaelima
163515341e
Core/Spells: Fix Item - Hunter T9 4P Bonus
2011-11-13 05:00:26 +01:00
kaelima
9b7e9a1ee3
Core/Movement:
...
- Lower movement radius and speed when confused/disoriented.
- Force attackstop when confused or feared. Should fix issue with creatures "teleporting" after fear.
Close #2689
Close #466
Close #3743
2011-11-13 02:36:51 +01:00
kaelima
79903f31ce
Core/Spells: Add own diminishing category for Dragon's Breath.
...
Will no longer share diminishing with Polymorph
Closes #3081
2011-11-13 00:51:33 +01:00
megamage
d9e4d991c9
Fix a crash when player is logged out when not in map.
2011-11-12 08:16:52 -05:00
megamage
077a2194ba
Fix another place where corpse is added twice to a grid.
2011-11-11 18:57:50 -05:00
megamage
07cf71fdd4
Some cleanup of add/remove to/from map.
2011-11-11 17:50:26 -05:00
tobmaps
3569f01adc
Core/Spells: Fixed resist calculations for spells with multiple schools. Thx to Shauren for tips
...
Closes #3875
2011-11-12 04:40:44 +07:00
tobmaps
c5e316164f
Core/Vehicles: Fix some movable turrets
2011-11-12 04:04:22 +07:00
tobmaps
70aafbda94
Core/Spells: Partially fix RP-GG
2011-11-12 02:36:18 +07:00
megamage
f47c0e661c
Add some comments for the previous crash fix. Thanks to Amit86.
2011-11-11 14:20:49 -05:00
megamage
9e3b4fe409
Cleanup before deleting objects when unloading grid. Fix #3922 .
2011-11-11 14:11:58 -05:00
megamage
360c9dd635
Add detailed crash info when aura owner is not in the same map as target in Aura::UpdateTargetMap.
2011-11-11 11:29:59 -05:00
megamage
583f6575e1
Do not add a corpse to grid twice. Should fix #3918 .
2011-11-11 08:50:16 -05:00
tobmaps
4c44085dfa
Core/Spells: Fix typo in 922a174683 and drop wrong check that breaks Judgements of the Just talent. Thx to Greymane for pointing out problem
...
Closes #2377
2011-11-11 19:05:12 +07:00
megamage
31a88d4fe5
Fix the crash when removing object from an unloaded grid. Object should always be unlinked from grid no matter if the grid is loaded.
2011-11-10 17:31:45 -05:00
megamage
23b3f16f3a
Add some ASSERT in add/remove obj to/from grid.
2011-11-10 10:18:32 -05:00
Jorge
4749c853cc
Merge pull request #3901 from Yelvann/master
...
Core/Arenas: Members of same arena team were able to fight each othe...
2011-11-09 11:59:13 -08:00
Yelvann
74dad924fc
Core/Arenas: Members of same arena team were able to fight each other
...
and minor refactoring
Closes #3753
2011-11-09 20:33:01 +01:00
Shocker
c2a2a4f713
Merge pull request #3872 from Bootz/master
...
Codestyle clean-up
2011-11-09 02:31:18 -08:00
megamage
462a2b9876
Change more ace_guard to trinity_guard
2011-11-08 10:48:49 -05:00
kaelima
8ba790ef35
Core/Creature: Prevent Spirit Guides (bg spirit healers) to be seen by alive players.
2011-11-07 18:18:59 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
megamage
495ef10b0d
Change ObjectAccessor to an ACE_Null_Mutex singleton, since its members have been protected by individual locks.
...
Also make some of its member functions static.
2011-11-07 09:44:09 -05:00
kaelima
b5cb41b4ea
Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask.
2011-11-07 07:16:31 +01:00
tobmaps
ae600a0ea2
BG/Isle of Conquest: Fix bug with immediate respawn of Glaive Thrower
2011-11-07 06:09:16 +07:00
Machiavelli
92d32ab7f5
Merge pull request #3833 from Fredi/listitem
...
Core/Commands: Fix SQL typo in 'list item' command
2011-11-05 03:52:28 -07:00
tobmaps
8fd7720318
Core/Misc: Rename Spell::CalcCastTime to Spell::GetCastTime as it does not calculate anything
2011-11-05 05:33:52 +07:00
tobmaps
935527eebe
Core/Spells: Use dbc flag to check if channeled spell can be interrupted
...
Closes #2292
2011-11-05 05:21:37 +07:00
Fredi
18183d494c
Core/Commands: Fix SQL typo in 'list item' command
2011-11-04 10:05:27 -02:00
Yelvann
75edf63341
Revert commit ab023e8 (Add GM tag to gms in Who)
...
Closes #3783
2011-11-03 18:10:11 +01:00
tobmaps
37abe2528c
Core/Spells: Remove not needed check added in 9229b878f2
2011-11-03 17:08:30 +07:00
tobmaps
68601bb286
Core/Spells: Use correct dbc flag to check if spell can be interrupted
2011-11-03 16:53:29 +07:00
megamage
809694408a
Change ObjectAccessor::i_corpseLock to ACE_RW_Thread_Mutex.
...
Remove unecessary guard in ObjectAccessor::Update.
2011-11-02 09:39:37 -04:00
tobmaps
9229b878f2
Core/Spells: Fix Runic Healing/Mana Injector bonus for engineers
2011-11-02 19:23:59 +07:00
tobmaps
c0c6000a44
Core/Misc: Fix spelling typo
2011-11-02 19:13:51 +07:00
Machiavelli
d3a7ac5d7d
Merge pull request #3766 from Pesthuf/JumpFix
...
Core/Units: Don't send StartTravel with MoveJump. Fixes client display of jumping eff
2011-11-01 03:51:34 -07:00
megamage
e3fa04823d
Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire the lock.
2011-10-31 17:25:12 -04:00
Pesthuf
04ad9b8bed
Don't send StartTravel with MoveJump. Fixes client display of jumping effects.
2011-10-31 20:10:06 +01:00
megamage
1b8d9ec7b4
Clean up summon/remove gameobject code.
2011-10-31 10:46:39 -04:00
megamage
dfeb4a746b
Fix a crash caused by spell with CAST_FLAG_RUNE_LIST casted by a creature mover. Thanks to Vasago.
2011-10-31 09:56:04 -04:00
kaelima
bfdceaf07e
Core/SmartAI: Initialized player pointer before use
...
Should fix #3757
2011-10-31 13:35:06 +01:00
kaelima
3d4d147196
Core/SmartAI:
...
- Drop useless actions SMART_ACTION_ENTER_VEHICLE, SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
(Vehicles are aura-driven, just remove or add the proper aura to achieve the same as these actions did)
- Fixed possible crash in SMART_ACTION_SEND_GOSSIP_MENU
- Areatriggers should not be triggered by dead players
2011-10-31 02:01:17 +01:00