megamage
23186b24e2
Merge pull request #3421 from Chipsi/master
...
Core/Items: Added case for Darkmoon Card: Madness trinket
2011-11-21 14:12:46 -08:00
Machiavelli
a14cbcaa3e
Core/Units: Partial implementation of SMSG_MOVE_SET_COLLISION_HGT - send proper character collision height on dismount.
...
Fixes #2642
NOTE: Still have to properly implement collision height calculation for mounting up.
2011-11-21 22:54:25 +01:00
Machiavelli
32bcee40bf
Core/Spells: Fix crash in Glyph of Rake
2011-11-20 16:05:41 +01:00
Machiavelli
cab3def3a4
Core/Units: Revert previous 3 commits about Unit::_IsValidAttackTarget and Unit::GetReactionn until some conclusive research can be done
2011-11-20 12:56:14 +01:00
Machiavelli
28d1cc9cfe
Core/Units: Fix more issues in Unit::_IsValidAttackTarget. (Documentation on changes compared to the client function included)
2011-11-17 19:05:25 +01:00
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
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
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
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
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06: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
megamage
1b8d9ec7b4
Clean up summon/remove gameobject code.
2011-10-31 10:46:39 -04:00
kaelima
e16e18da23
Core/Spells: Added safe-checks for places where caster/victim can be null.
...
And some random cleanup
2011-10-31 01:54:44 +01:00
kaelima
d5ece59acd
Core/Spells: Fixed possible crash for Decimation
...
Closes #3750
2011-10-30 23:52:38 +01:00
megamage
0ac431f52d
Fix a crash caused by spell 49065. Close #3646 .
2011-10-24 16:54:52 -04:00
Shocker
10bca6c268
Merge pull request #3596 from ille/master
...
use effectMask to calculate mechanicMask in ModSpellDuration
Closes #1599
2011-10-24 10:43:47 -07:00
Machiavelli
70c2f9e796
Merge pull request #3575 from bytewarrior/master
...
Core/Mechanic: Fixed wrong target level at resist chance calculation.
2011-10-23 04:22:18 -07:00
ille
5514523a7c
use effectMask to calculate mechanicMask in ModSpellDuration
2011-10-20 18:28:37 +02:00
Liberate
6d12deb5b5
And a forgotten change. Sorry for this, I guess it's a welcome back present for me... Thanks tobmaps for pointing this out.
2011-10-18 23:49:46 +02:00
Liberate
8cc13ff838
And I forgot to turn on tabs to spaces. Also fixed...
2011-10-18 23:38:55 +02:00
Liberate
89bae3b51c
Core/Spells: Add a new stack rule for spellgroups: SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT
...
This stack rule makes the effects of the spells in the spellgroup non-stackable, but the spells/auras itself are stackable.
a spell should be in only 1 group with this stack rule.
Fixes #2243
2011-10-18 23:27:39 +02:00
bytewarrior
496c2da6f3
Core/Mechanic: Fixed wrong caster level at resist chance calculation.
2011-10-18 10:52:33 +03:00
kaelima
27e1a5d7b6
Core/Mechanic: Fix spell penetration from items.
2011-10-17 15:54:19 +01:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
Shauren
2ccf6ae297
Core/Auras: Fixed another proc crash
...
Closes #3537
2011-10-16 14:33:48 +02:00
megamage
bcc55489f8
More cleanup of CanSeeOrDetect
2011-10-13 14:02:07 -04:00
Chaplain
3e9611578c
Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement
...
*Now it'll correctly increase\decrease % of power
*Added helper function for modify power with percent ammount
2011-10-12 01:11:52 +03:00
megamage
3569121d80
Remove/Add creature from/to map when it changes map.
...
Note: creatures was never supposed to change map, but now the core allows them to move with transports...
2011-10-10 17:59:52 -04:00
megamage
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Chipsi
ac19d19560
Core/Items: Added case for Darkmoon Card: Madness trinket
2011-10-09 14:49:03 +02:00
Shauren
72fc756bff
Scripts/Icecrown Citadel
...
* Minor corrections to Sister Svalna event
* Removed unneeded workarounds for Deathbringer Saurfang procs
* Changed GM check to use account level (makes no sense to check isGameMaster as that does not allow entering combat at all)
2011-10-08 17:39:03 +02:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
root
0acd9a9503
Core/Misc: Correct file rights for Unit.cpp
2011-10-07 19:52:40 +03:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Shauren
2a34c5e4c8
Core/Auras: Fixed crashes in Infusion of Light and Frozen Power proc handlers
...
Closes #3271 & #3272
2011-09-30 18:45:49 +02:00
Shauren
da54fb92d5
Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back)
2011-09-30 18:24:12 +02:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
cc06c41887
Core: Move FormationMgr to namespace
...
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
QAston
5f043e6291
Core/Spells: Bring back workaround removed in cd7060c65a - it's needed for compatibility with some scripts.
2011-09-27 22:04:26 +02:00
QAston
7fa2a64290
Merge branch 'master' of https://github.com/Chaplain/TrinityCore
2011-09-27 19:19:25 +02:00
QAston
23ba776767
Core/Entities: use Unit::GetReactionTo in Unit::IsFriendlyTo and Unit::IsHostileTo
2011-09-27 01:29:20 +02:00
QAston
75aeb15e90
Core/Spells: Allow AOE spells to hit stealthed targets.
2011-09-27 01:13:32 +02:00
Machiavelli
f4ec95c752
Fixed a typo in pull request. (Edit via Github)
2011-09-26 21:05:16 +03:00
Cron
8622bedeac
Core/Spells: Fixed glyph of Fire Blast.
2011-09-25 15:53:31 -03:00
Chaplain
224bb96deb
Core/Spells: Fix talent Sword Specialization.
2011-09-25 16:42:12 +03:00
Chaplain
877579d386
Revert "Core/Spells: Fix talent Sword Specialization for melee abilities"
...
This reverts commit cdd4160157 .
2011-09-25 14:20:41 +03:00
Shauren
da0229da8f
Core/Scripts: Implemented 2 new target selectors, one specialized for spells, checking auras, range and attributes; and the other is a very simple non-tank selection what is sufficient for most cases
2011-09-24 19:40:57 +02:00