Commit graph

342 commits

Author SHA1 Message Date
Energy
f26d6151c8 [7141] Implement heroic raid instance mode support.
* Heroic mode player amount for instances in DB. Can be used for any instances but added for heroic raid instance.
* Output transfer error at max playrs limit.
* FIXME notes ;) for raid required implementing store 2 reset time and do global reset for 2 modes. But currently raid have inmmap entry data
same reset time for both cases.
* Update instances list where mounts allowed.
* Simplify and fix code for SMSG_RAID_INSTANCE_INFO.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 03:27:59 +03:00
DiSlord
2a891a8c92 [7140] Implement 76 TARGET_DYNAMIC_OBJECT_COORDINATES
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 02:03:26 +03:00
DiSlord
d22f915c2c [7139] Implement 227 aura SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:55:18 +03:00
Butch3r
3adbf3e00f [7138] Prevent spam aura add in logs. Output only in detail mode.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 00:14:32 +03:00
evilstar
c54383360a [7137] Implement SPELL_EFFECT_ALLOW_RENAME_PET, and then item 43850 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 00:00:32 +03:00
VladimirMangos
6bc449d053 [7136] Check mount existance at loading not completed taxi path at login. 2009-01-21 19:41:26 +03:00
GriffonHeart
d9d30fd40e [7135] Implement support for single taxi master with different path for teams.
Side effect: quest taxi flights (without mount id provided) will impossible start from normal taxi master.
But for its expected starting from scripts.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-21 17:50:21 +03:00
VladimirMangos
7766d016ca [7134] Make reqirement for DB data for non-player explicit discovery spell optional. 2009-01-21 15:51:37 +03:00
VladimirMangos
2b91a790bc [7133] Re-implement explicit spell discovery code.
* Replace reqClass by reqSkillVlaue field in `skill_discovery_template`
  and check expected skill points amount for specific reipe discovery.
* Add new `spell_loot_template` loot table for store item selection data for spells.
  At this moment for expclicit recipes discovery spells.
* Code cleanups.
2009-01-21 06:39:54 +03:00
VladimirMangos
205957df0a [7132] Disable quest mail loot check: some quest mails not have items. 2009-01-21 06:09:16 +03:00
VladimirMangos
93662a1fb3 [7131] Ignore loot rates for some internal loot tables and batter loot checking at load. 2009-01-21 06:05:42 +03:00
ApoC
1718653e63 [7130] Changet all *::Update(time_t) to *::Update(uint32), there is no need to use time_t (mostly 64b) because time diffs are very small numbers and the base calculation of diff is done as uint32.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:48:32 +01:00
ApoC
a92354afed [7129] Changed uint64 results to const uint64& on some methods.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:10:03 +01:00
ApoC
03b7d1006a [7128] Cleanup in PetHandler.cpp and little PetAI.cpp
Fixed: pet stop attacking when casts spell by command.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 01:31:42 +01:00
DiSlord
9e1b9e56fd [7127] Implement 271 SPELL_AURA_MOD_DAMAGE_FROM_CASTER aura
Allow this aura trigger and drop charges (only if caster hit target)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 01:36:17 +03:00
pasdVn
1d0d9c6fa2 [7126] Fixed typo in spell 53301 and ranks dummy tick.
Fixed typo in spell 53290 and ranks dummy proc.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 22:40:58 +01:00
DiSlord
921914f87e [7125] Work under pet talents
Coorrect update Talent Points on levelup / leveldown
Unlearn other ranks of learned talent
Fix typo in Pet::HasSpell (wrong result for removed spell)
Allow .reset talents reset pet talent
Implement SPELL_AURA_MOD_PET_TALENT_POINTS aura (hunter talent)
Only reset pet talent from trainer unlearn.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:31:19 +03:00
ApoC
220aa56fed [7124] Removed virtual keyworld from Map::CanUnload method. This method needn't to be virtual. Method moved all into header file to be inlined.
Fixed problem when instance never unloaded in case low population servers where update time always fit into WORLD_SLEEP_CONST and unload time is multiple of this constant.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:54:23 +01:00
Balrok
ce384c5278 [7123] Cleanup in using STD's containers erase method.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:07:44 +01:00
VladimirMangos
8171c9c61a [7122] Initilize UnitActionBarEntry fields. 2009-01-20 15:32:34 +03:00
arrai
6ef0e056b0 [7121] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_ACHIEVEMENT 2009-01-20 01:57:15 +01:00
Wyk3d
dffdb47fb9 [7120] Revert "Reduced number of cells (doubled max visibility distance)." 2009-01-20 01:33:59 +02:00
Wyk3d
a97d49bdc5 [7119] Fixed some typos that caused a freeze 2009-01-20 00:50:04 +02:00
VladimirMangos
dab1f96f66 [7118] resolve problems with partly appied [7117] 2009-01-20 00:35:02 +03:00
VladimirMangos
ee6072f232 [7117] Implement explicit recipe discovery abilities.
* Implement SPELL_EFFECT_CREATE_ITEM_2 (157). This alos let work many item creating spells.
* Add `skill_discovery_template`.`reqClass` for allow clas specific racipes storing in table.
* Make primary key for `skill_discovery_template` pair (spellId,reqSpell) that allow have duplicate recipes for different reqSpells.
* Implement SPELL_EFFECT_SCRIPT (77) cases for explicit recipe discovery spells with learn spell selected by `skill_discovery_template` data.
Note: as expected explicit recipe discovery abilities always return some spell while exist any not learned yet for player class.
2009-01-20 00:07:43 +03:00
arrai
9af1caccd8 [7116] added support for spell 50977, still requires entry in spell_target_position for triggered spell 53822 2009-01-19 22:00:52 +01:00
VladimirMangos
e188a0a505 [7115] Sort spells by spellfamily cases for speedup most common (check fail) case. 2009-01-19 15:55:24 +03:00
VladimirMangos
9e590f7ceb [7114] Code cleanups.
Remove redundant `inline` for in-class function definitions.
Fixed float -> int implicit casts.
2009-01-19 15:13:57 +03:00
VladimirMangos
9fba64aeae [7113] Not update/store achievement progress for counter == 0 2009-01-19 13:30:18 +03:00
ApoC
be051a706c [7112] Fixed glyphs apply on character load.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-19 02:10:06 +01:00
DiSlord
17004d59d4 [7111] Fixes in Spell Effect immunes
Correct totem immunes for dot/leech/Fear/Transform auras (immune only to effect)
Correct log if all effects immuned by Effect Immune
Move check for IMMUNITY_STATE to Unit::IsImmunedToSpellEffect

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:57:50 +03:00
ApoC
d469a604eb [7110] Make some methods in BattleGroundMgr static.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:25:18 +01:00
GriffonHeart
a5e948280b [7109] Correct show percentes at DBC loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-18 23:02:53 +03:00
VladimirMangos
148b7fd3ab [7108] Allow use shift-links to creature entries (from .lookup creature) in .npc add command. 2009-01-18 22:18:34 +03:00
VladimirMangos
64073f65c0 [7107] Output skill points (current, max, perm/temp bonus) for known skill in .lookup skill. 2009-01-18 22:18:13 +03:00
ApoC
e3ccd4b4b7 [7106] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 19:54:27 +01:00
ApoC
6428d29cd5 [7105] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 19:37:34 +01:00
ApoC
125416d242 [7104] Fixed creatures are not attacking with taunt aura.
Improved target selection if more taunt auras are on target.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 18:44:08 +01:00
arrai
383239b595 [7103] replaced wrong delete by delete[] 2009-01-18 15:07:34 +01:00
McBen
1d80a7a788 [7102] Fixed .showarea/,hodearea commands.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-18 05:07:39 +03:00
VladimirMangos
c138b5462d [7101] Fixed build at VC80/VC90 x64 with proper call getrevision.exe 2009-01-18 03:36:45 +03:00
Snow
bd30c12169 [7100] More cleanups for character_spell from outdated data.
Signed-off-by: Neo2003 <Neo2003@getmangos.com>
2009-01-18 01:51:45 +03:00
DiSlord
4add3d2128 [7099] Implement some item/enchants mods from 303:
ITEM_MOD_ATTACK_POWER
 ITEM_MOD_RANGED_ATTACK_POWER
 ITEM_MOD_FERAL_ATTACK_POWER
 ITEM_MOD_SPELL_HEALING_DONE
 ITEM_MOD_SPELL_DAMAGE_DONE
 ITEM_MOD_MANA_REGENERATION
 ITEM_MOD_SPELL_POWER

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-18 01:34:50 +03:00
arrai
cfde5746cb [7098] Changed build system of contrib/extractor to CMake 2009-01-17 20:53:51 +01:00
DiSlord
a9476381bc [7097] Fix some triggers changed on client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:04:22 +03:00
VladimirMangos
333395f90a [7096] Fixed unexpected expirience gain in starting zones for expansion 1 races. 2009-01-17 19:39:50 +03:00
KiriX
778d4f9741 [7095] Experience basic gain coefficient for expansion 2 zones.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-17 17:22:31 +03:00
arrai
2cfebd6a57 [7094] Implemented spell interrupt flag 0x10 2009-01-17 02:37:44 +01:00
VladimirMangos
a1e0900d37 [7093] Speedup spell learning code. 2009-01-17 00:23:48 +03:00
DiSlord
014ab283dd [7092] Work vs XP per level data
Add new table "player_xp_for_level" for this
Fill table data 1-79 level
Remove old code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-16 01:00:41 +03:00