Commit Graph

11785 Commits

Author SHA1 Message Date
Shocker
ef9101ea83 Core/Spells: Rename AuraEffect::IsAffectedOnSpell to IsAffectingSpell 2011-11-26 23:38:06 +02:00
Shocker
d1135f00c6 Core/Spells: Implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER
Correct variable names / comments for SPELL_AURA_BYPASS_ARMOR_FOR_CASTER
2011-11-26 23:27:02 +02:00
Shocker
d26b7210fb Core/Spells: Implement SPELL_AURA_MOD_AUTOATTACK_DAMAGE 2011-11-26 23:15:23 +02:00
Shocker
bef006c5bf Core/Spells: Fix SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE 2011-11-26 22:53:37 +02:00
Shocker
8160e6e303 Core/Spells: Allow SPELL_AURA_SET_VEHICLE_ID to be used on creatures too 2011-11-26 22:42:26 +02:00
kaelima
a2406e2ade Fix typo and compile 2011-11-26 21:36:15 +01:00
Shocker
2c25ffc200 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 22:30:54 +02:00
Shocker
0cb161db81 Core/Spells: Implement SPELL_AURA_MOD_DURABILITY_LOSS 2011-11-26 22:30:27 +02:00
Shocker
92cc605de4 Core/Spells: Typo fix in recent commit 2011-11-26 22:29:28 +02:00
Nay
d228b76c56 Misc/Enums: SpellCastResult (SPELL_FAILED_X) updates 2011-11-26 20:27:38 +00:00
Shocker
4b04640562 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 22:23:35 +02:00
Rat
ccb89b0347 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 21:22:14 +01:00
Shocker
784a2fa29a Core/Spells: Implement SPELL_AURA_MOD_BYPASS_ARMOR_FOR_CASTER 2011-11-26 22:22:11 +02:00
Rat
35579e574c Core/DB: fixed player loading from DB 2011-11-26 21:21:31 +01:00
Shocker
96df0d27e5 Core/Spells: Research 4.x spell auras 2011-11-26 22:19:07 +02:00
Shocker
80c3f2234e Core/Spells: Use indentantion in SpellAura defines 2011-11-26 22:11:11 +02:00
Rat
b09d532be7 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 21:09:51 +01:00
Rat
7dca37ea16 Core/DB2Stores: fixed loading ItemCurrencyCost.db2 2011-11-26 21:06:24 +01:00
kaelima
b096ffe981 Misc/Enums: Added more spell custom errors (cast result 172) from 4.2.2 2011-11-26 20:53:38 +01:00
Rat
ca03e79ce7 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 20:38:25 +01:00
Rat
8cf3fde329 Core/CharacterHandler: fixed guid reading in PlayerLoginOpcode handler
thanks to Nay && Shauren
2011-11-26 20:38:00 +01:00
Rat
e97527c24e Core/Packets: Implemented BitStream helper class
- added Static BitConverter class
- upgraded the ByteBuffer class for easier usage
2011-11-26 20:32:32 +01:00
Rat
929da7396d Core/Packets: disable sending 0 as opcode and print trace info 2011-11-26 20:28:12 +01:00
Machiavelli
bc37c75dfd Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 19:20:10 +01:00
Machiavelli
4c3c418511 Core/Misc: Make VMapManager2::acquireModelInstance and releaseModelInstance thread safe
Closes #4086
2011-11-26 19:11:58 +01:00
Nay
310af5bb76 Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB() 2011-11-26 15:40:10 +00:00
Shauren
bbf9703b73 Core/Items: Added more checks determining item disenchanting loot
DB/Loot: Added all disenchant templates
2011-11-26 16:36:01 +01:00
Nay
711858c43b Core/Quests: Update quest_template and SMSG_QUEST_QUERY_RESPONSE
TODO:
- Validate SkillId and reward it
- Validate Currency, add it to the requires and reward it (after being able to read currency dbc)
- Update other quest related opcodes
2011-11-26 14:49:15 +00:00
Machiavelli
a8397c6542 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
Conflicts:
	src/server/game/Entities/Player/Player.cpp
2011-11-26 15:23:08 +01:00
Machiavelli
fcd28e5dad Core/DBLayer: Fix player saving 2011-11-26 15:15:04 +01:00
Shauren
d4de587036 Core/Items: Removed obsolete field from ItemTemplate 2011-11-26 12:02:26 +01:00
Nay
846870bf6c Merge branch 'master' into 4.x
Conflicts:
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
2011-11-26 03:19:37 +00: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
31533a342a Core/DB: Another typo in SaveToDB 2011-11-26 01:54:24 +01:00
kaelima
a919265623 Core/DB: Fix character creation in Player::SaveToDB.
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
kaelima
aa215e5e80 Core/Misc: Fix compile and char creation
- Added very basic honor/conquest support, no idea if its works even a little since there's no possibility of testing yet
2011-11-26 01:46:41 +01:00
Shauren
e8c3a3ac9c Core/Items
* Updated ItemTemplate structure to 4.x
* Calculate armor, damage and disenchant loot from dbc files

TODO: Use dbc disenchant ids in disenchant_loot_template
2011-11-25 23:24:40 +01:00
Nay
8d3bc5e8b9 Core/Corpse: Fix indexing in Corpse::SaveToDB(). Thanks @Ciclop 2011-11-25 20:49:03 +00:00
kaelima
ec54bb4895 Core/Misc:
Clearing compile errors since UpdateFields were changed:
- Completely remove ammo (Cataclysm change)
- Revert some changes with power/maxpower and only store the 5 needed powers in db (the rest is useless)
- Remove GuildId from corpse
- Move PLAYER_GUILDID to character db (removed updatefield)

Note: Compile is still not working as we need to change currency handling
2011-11-25 18:54:59 +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
Nay
f8ffe0f1e3 Core/DB: Fix a typo in commit 72675d55d8
Closes #4068
2011-11-25 15:41:06 +00:00
kaelima
9696d6ba7b Core/Mechanics:
- Add basic support for focus used by players (hunters)
- Drop all support for pet happieness (as it has been completely removed)
- Add new fields to characters db to store new power values
(Should now be able to create characters again)
2011-11-25 15:28:36 +01:00
Machiavelli
ec3880a1d0 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-25 15:14:38 +01: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 <nofantasy@nf.no>
Signed-off-by: Stalker_Riddick <nenad_kuza@hotmail.com>
2011-11-25 13:11:53 +00:00
Machiavelli
b4ac70f8cb Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-25 13:46:07 +01:00
kaelima
cf0d5e4ec8 Core/Enum: Add missing race and powers from dbc 2011-11-25 13:33:11 +01:00
kaelima
23bd7bc0a3 Core/Object: Update UpdateFields to version 4.2.2 (14545) 2011-11-25 13:32:46 +01:00
Kaelima
316b461bd8 Merge pull request #4061 from Venugh/4.x
Fix some whitespaces in Datastore
2011-11-25 01:22:25 -08:00