Nay
5a4636c145
Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
...
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
kaelima
a919265623
Core/DB: Fix character creation in Player::SaveToDB.
...
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
Shocker
754f6f29ac
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2011-11-25 19:48:52 +02:00
Shocker
002ba537fe
Core/Player: Typo in player flags
2011-11-25 19:48:29 +02:00
Machiavelli
72675d55d8
Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character).
2011-11-25 15:14:00 +01:00
Stalker_Riddick
d8ffeed476
Core/Quests: Add new field RequiredClasses for quest_template Credits to
...
NoFantasy.
* SkillOrClass is converted to RequiredSkill (and then field can contain skill id only)
* Field ZoneOrSort has no longer a function in quest requirement, and RequiredClasses must be used instead where class limits are expected.
To restrict a quest to one class or more, use bitmask of class in RequiredClasses. RequiredSkill works like before.
Signed-off-by: NoFantasy <[email protected] >
Signed-off-by: Stalker_Riddick <[email protected] >
2011-11-25 13:11:53 +00:00
Shocker
414987541c
Core/Pets: Fix pet saving typo from recent cleanups (spotted by Nay)
2011-11-24 15:31:07 +02:00
megamage
f116960b2a
Remove a check which always returns true. Correct me if I am wrong.
2011-11-23 13:21:10 -05:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
megamage
f091360940
Do not allow base map be accessed from outside if map is instanceable.
2011-11-23 13:14:59 -05:00
megamage
0eb193f2b4
Revert 2f83db28f2. Note that here we only want to check baseMap->canEnter, but not instanceMap->canEnter.
...
Thanks to SignFinder.
2011-11-23 12:55:00 -05:00
megamage
98be413ce0
Clean up very some confusing MapManager functions (create/find map/base map).
2011-11-23 12:45:59 -05:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Shocker
e9cd4c6e80
Merge pull request #3988 from kandera/tempbranch2
...
Core/Mechanic: Resurrection (fixed the issue with players ressing in pla...
2011-11-23 04:03:47 -08:00
Machiavelli
8444532746
Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up.
2011-11-22 20:28:10 +01:00
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
Kandera
e814cd8c35
Core/Mechanic: Resurrection (fixed the issue with players ressing in place then being ported to the person who revived them.)
2011-11-18 14:57:30 -05: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
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
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
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
Shocker
c2a2a4f713
Merge pull request #3872 from Bootz/master
...
Codestyle clean-up
2011-11-09 02:31:18 -08: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
kaelima
b5cb41b4ea
Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask.
2011-11-07 07:16:31 +01: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
tobmaps
68601bb286
Core/Spells: Use correct dbc flag to check if spell can be interrupted
2011-11-03 16:53:29 +07:00
tobmaps
c0c6000a44
Core/Misc: Fix spelling typo
2011-11-02 19:13:51 +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
kaelima
526ada47e1
BG/Isle of Conquest:
...
- Fix seaforium bombs.
- Add flag pole for Refinery
- Some cleanup
Also correct a typo in 0083290322
2011-10-29 15:16:13 +01:00
kaelima
0083290322
Core/Player: Fix gaining fishing skill of wielding fishing pole in offhand
...
Closes #3717
2011-10-29 15:07:08 +01:00
kaelima
f2000f3fb5
Core/Misc: Some minor cleanups
...
Fixed SQL added in prev commit.
2011-10-24 23:33:17 +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