Commit graph

192 commits

Author SHA1 Message Date
cyberium
9022705faf [12195] Improve AreaTrigger teleport requirement checks
Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:13 +00:00
Yaki Khadafi
092052608f [12180] Fix bugs related to talent trees.
Implement mastery spells learn

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Yaki Khadafi
372e8e04bf [12173] Some battleground changes
- bg list works
- placeholders for pvp rewards and rated bg stats packets
- other bg opcode changes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:51 +00:00
Yaki Khadafi
55ebf1b64f [12161] Update talents:
Fix talent learn
Fix talent reset
Fix talent inspecting

original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:38 +00:00
Yaki Khadafi
b4d7780f46 [12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:19 +00:00
Salja
d8eb7327a1 [12140] Added NumTalentsAtLevel and TalentTreePrimarySpells DBCLoad Support. Thanks Trinity
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:18 +00:00
Yaki Khadafi
faec714783 [12136] Fix typos
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Yaki Khadafi
6dd0ba1d14 [0169] Implemented vendors selling currencies.
Also fix crash from recent master merge.

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:33:11 +00:00
Yaki Khadafi
3ceed0edfb [0159] Update quest system.
TODO:
- implement currency requirements/rewards
- skill rewards
- skill learned requirements.
- not show quests with RewSkill to players which do not have that skill

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:16:01 +00:00
Yaki Khadafi
455f9d0aac [0125] Fix SpellShapeshiftEntry
Remove unexistant moveflags2
Fix spell 68992

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 18:53:29 +00:00
Salja
d7b5567041 [0121] Some Typos
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:19:50 +00:00
Yaki Khadafi
93c5b1cf1d [0111] Implement rest of spell scaling
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:19 +00:00
Yaki Khadafi
d16be01744 [0109] More spell cast time calculation research, defined SpellAttributesEx9 and SpellAttributesEx10
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:17 +00:00
Netcho
fe0e119e13 [0105] Fix most of the linking errors with SD2, still 1 more to be solved
Signed-off-by: Netcho <kkotlarski@abv.bg>
2020-02-16 16:18:41 +00:00
Yaki Khadafi
a7bf0fe70b [0103] Use SpellScaling.dbc to calculate cast time
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:18:21 +00:00
Yaki Khadafi
33ab9c7277 [0090] Documented SpellAttributesEx8 and AFLAG_EFFECT_AMOUNT_SEND
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 14:32:25 +00:00
Salja
27d05326b0 [0088] Implement loading of gtSpellScaling.dbc Thanks Subv
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 14:32:00 +00:00
Salja
26827d9320 [0068] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:29:45 +00:00
Salja
0d7006dd23 [0023] Use DBC data to set the correct amount of hp and mana based on player level and class. Patch by Subv
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:54:23 +00:00
Salja
9c731c9a74 Some struct fixes msic fixes crash fixes and and and =)
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:53:51 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
c5c09cee3c Various Cleanups (game C-E) 2012-07-19 21:45:58 +02:00
Schmoozerd
1c7e46a4a8 [12055] Add some defines for hard-coded field-indexes that need special convertion on SQL-Storage loading - Idea by Vladimir 2012-07-18 13:50:54 +02:00
Schmoozerd
7fd1f64319 [11971] Add wrapper HasAttribute to check if a spell has an attribute
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-21 02:02:34 +02:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
stfx
09e331767d [11833] remove trailing whitespaces
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-10-18 15:17:54 +03:00
TOM_RUS
d1e7f793ab Edited src/game/DBCStructure.h via GitHub 2011-09-04 15:08:54 +04:00
Shauren
8e4c46ff2a [11785] Implement dungeon encounters (DBC part), thanks to rsa for porting it to mangos
Signed-off-by: Laise <fenrisse@gmail.com>
2011-09-04 13:15:22 +03:00
VladimirMangos
7db70dd969 [11713] Load ItemClass.dbc
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-07 03:35:21 +04:00
VladimirMangos
c686697c2d [11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks
Inspired by patch suggested by darkstalker

Also
* Remove existed enums for family masks as contra-productive for developement.
* Drop one from horrible hack checks in SpellMgr::IsNoStackSpellDueToSpell
  (spells for any fimilies with exactly 0x800 mask) I fail find useful cases
  for current spell data with this check. All cases expected work correct without it.
  If will some problems detected with this please report for fix in less strange way.
2011-06-11 21:20:42 +04:00
VladimirMangos
108a167c46 [11587] Use SkillRaceClassInfo.dbc data for check spell training.
* Show race/class specific min level in trainer list (for weapon master for example)
  and use it for check spell traing possibility.
* Hide for specific race/class some spells marked by flag  ABILITY_SKILL_NONTRAINABLE
  This possible in cases when spell available for race/class but learned from talent/etc
  and then don't must be show for race/calss pair in trainer list. Single case in 3.3.5a.
* Add to code tables for profession ranks for seelct correct rank related reqlevel
  and check DB side data for it. Note: DB reqlevel values redundant for profession rank
  spells now.
* Use for reqlevel selection (if DB value not provided) learned spell insteed cast-spell
  spellLevel field. This let in more cases select training reqlevel without provided DB value.
  For LogFilter_DbStrictedCheck = 0 mode output data about like redundant reqlevel values
  in traner tables.
2011-06-02 09:55:25 +04:00
VladimirMangos
b5c3ec952f [11533] Fixed wrong call IsFitToFamilyMask in my prev commit.
Also prevent like wrong usage in future by additional check.
2011-05-24 18:08:45 +04:00
TOM_RUS
4181b8f28b Added spell cast flags research. 2011-05-10 16:12:33 +04:00
TOM_RUS
32c42298a0 More DBC struct fixes. 2011-04-17 05:16:15 +04:00
VladimirMangos
f00d902333 [11363] Small fix for SpellRadiusEntry after recent dbc structure cleanups. 2011-04-16 02:08:50 +04:00
TOM_RUS
ea1076899b Some lost changes. 2011-04-14 08:30:54 +04:00
TOM_RUS
0f8c46878b Updated some structs and enums. 2011-04-14 08:14:03 +04:00
TOM_RUS
9996150a8e Edited src/game/DBCStructure.h via GitHub 2011-03-26 06:50:58 -07:00
TOM_RUS
7645b98a49 Edited DBCStructure.h via github. 2011-03-25 14:40:30 -07:00
zergtmn
65b631a8e4 [11209] Some refactoring in Player::BuyItemFromVendorSlot 2011-02-28 01:48:14 +05:00
nos4r2zod
9adb955f2a [11147] Fix a potential exploit with multicast bars - allow place only totem spells in these slots
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-02-12 17:03:31 +02:00
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
VladimirMangos
e9bfc154d9 [11030] Document all CreatureDisplayInfoExtraEntry fields.
Thanks to Darkrulerz for pointing to data source.
2011-01-17 20:49:19 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
zergtmn
e1074c0ac1 [10907] Allow mounts on map 603 2010-12-22 21:31:09 +05:00
Darkrulerz
e34d73f6bd [10895] Description for found gender field in CreatureDisplayInfoExtraEntry.
Sign-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 20:00:26 +03:00
VladimirMangos
abb92f4224 [10891] Access for core/scripts to creature race info in model dbc 2010-12-18 17:18:38 +03:00
kb_z
1b4210e38c [10840] Implement server side part of SPELL_AURA_ADD_MECHANIC_ABILITIES (293) work.
Also fix stealth/invisibility visual affect flags changed at some 3.x switch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 09:12:44 +03:00