Commit Graph
1379 Commits
Author SHA1 Message Date
Kapoeira 761c5c9e2f Core/Spells: Rake's initial damage is a bleeding effect, it should thus ignore armor.
So far this is the only example of such a mechanic (3.3.5), so this does not break anything.
2011-12-10 14:50:37 -05:00
Shocker 196159dbcf Core/Player: Remove unused Player method TeleportOutOfMap 2011-12-10 20:29:23 +02:00
Shocker d4921e0f25 Core/Misc: Small english fix 2011-12-10 20:05:51 +02:00
kaelima 11fb0beaf0 Core/Misc: Fixed some duplicate checks for player typeid in Unit::Kill and Spell::EffectSummonDeadPet. Also some random cleanup 2011-12-10 13:48:41 +01:00
Kapoeira 5d7003a28b Core/Spells: Fix Earthen Power. 2011-12-10 00:35:33 -05:00
Shocker b05317650b Core/Misc: Small changes after recent pulls 2011-12-08 19:56:50 +02:00
Shocker b59e5079be Merge pull request #4195 from kandera/fix_GlyphsofSuccubus
Core/Spells: Fix Glyph of Succubus (wasn't working at all before)
2011-12-08 09:54:56 -08:00
Shocker f85a84b4fa Merge pull request #4159 from kandera/fix_TotT
Core/Spells: Tricks of the Trade (fix entier spell. aggro now removed af...
2011-12-08 09:53:07 -08:00
Nay 15c24a4e97 Core/Quest: Consistency, god damn..
(RequiredSourceItemIdCount -> RequiredSourceItemCount; quest_template did not change)
2011-12-06 10:56:37 +00:00
kandera 18aaeaa6be Core/Spells: Tricks of the Trade (fix entier spell. aggro now removed after buff dissapears, correct buffs are placed on both the rogue and the target, both 15% buff and the second threat modifier buff are working as intended) 2011-12-05 13:56:08 -05:00
Shauren ea7ec9e7a6 Core/Spells: Fixed resurrection order (teleport, then set alive), fixes aggroing creatures nearby and during The Lich King's outro - players who fell off the platform 2011-12-05 19:25:52 +01:00
kandera 2e116cf217 Core/Spells: Fix Glyph of Succubus (wasn't working at all before) 2011-12-05 06:18:25 -05:00
Nay a0226ec5d1 Core/Quests: Fix some variable renaming fails in quest related code
Closes #4183
2011-12-03 21:30:30 +00:00
megamage 1f70fd2851 Delete DynamicObject if AddToMap fails. 2011-11-28 14:19:29 -05:00
megamage 529af3cd09 Delete obj if it is not successfully added to grid. More to fix. 2011-11-28 14:05:25 -05:00
Supabad 86f7f546ec Core/Transports: Fix crash related to Transport 2011-11-28 12:22:45 +01:00
Shocker dd06dc75e6 Revert "Core/Pets: Water Elementals are now permanent pets" (wrong branch)
This reverts commit 0136c86054.

Also add line ending to recently added SQL file
2011-11-27 00:40:58 +02:00
Shocker 0136c86054 Core/Pets: Water Elementals are now permanent pets 2011-11-27 00:39:27 +02:00
Shocker c2cd70e69a Merge pull request #3507 from megamage/master
Core/Grids: Make npc on transport world object. Try to fix the bug that npc are unloaded with grid and disappear.
2011-11-26 11:49:35 -08:00
Chaplain 4d65c1e729 Core/Mechanics: Armor penetration improvement. Revamp calculation of SPELL_AURA_MOD_TARGET_ARMOR_PCT 2011-11-26 21:05:27 +02:00
Shocker 01d44a83e3 Merge pull request #4041 from PKX/remove_obsolete
Remove obsolete code and spell_groups
2011-11-26 10:37:22 -08:00
Nay 310af5bb76 Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB() 2011-11-26 15:40:10 +00:00
Machiavelli fcd28e5dad Core/DBLayer: Fix player saving 2011-11-26 15:15:04 +01:00
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
PKX 47b7e75149 Core/Spells: Removed some obsolete code
This removes some unused and obsolete code:
- "Test of Faith" now doesn't increase crit anymore;
- same goes for "Renewed Hope" (in addition that code isn't working);
- "Ebon Plague" part was deleted from Unit::SpellDamageBonus but not from Unit::MeleeDamageBonus (in addition this code is not working anymore)
- "Blessing of Sanctuary" was working only on melee damage, plus this is not the way it should be fixed

Signed-off-by: PKX <[email protected]>
2011-11-23 15:48:01 +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