Commit Graph

95 Commits

Author SHA1 Message Date
megamage
a2f10c496f [8030] Fixed spell 64901 work and related target selection code refactoring. Author: VladimirMangos
* Replace 64904 by 64901 in spellbook and action bars.
    * Implement proper max mana percent buff
    * Implement proper target selection.
    * Move group/raid targets seelction code to functions for reuse code.

--HG--
branch : trunk
2009-06-17 18:35:40 -05:00
megamage
e489988bf4 [8021] Implement triggering part of shaman talent 51483 and ranks. Author: Beaste. sql by QAston
--HG--
branch : trunk
2009-06-15 23:17:48 -05:00
megamage
00f4a31b73 [8016] Work at npc click table data use. Author: VladimirMangos
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
      or to another quest, or from reward quest.
    * Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
    * Apply some speedups for creature checks affected by spel click state

*Also add target position of 51852. By Roland

--HG--
branch : trunk
2009-06-15 23:07:43 -05:00
megamage
5f9cc4138b [7994] Include in mangos.sql/characters.sql changes from sql/updates/7988_*.sql Author: VladimirMangos
Also fix old typos in item_template data in mangos.sql

--HG--
branch : trunk
2009-06-11 19:48:53 -05:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage
30cc6348f3 *Some merge of Mangos before update to 3.1.3. TC2 will update to 3.1.3 after about 10 hours.
--HG--
branch : trunk
2009-06-10 14:43:20 -05:00
megamage
4e130dcdfd [7980] Implement item use target requirements store and check (new table item_required_target). Author: NoFantasy
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

    * Also implement this table reload
    * Static Spell::SendCastResult function for call not from spell code.
      Can be also used in scripts where need send explicitly spell cast error to client.

--HG--
branch : trunk
2009-06-08 17:25:02 -05:00
megamage
8419f9b059 [7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes. Author: NoFantasy
--HG--
branch : trunk
2009-06-03 19:23:49 -05:00
megamage
cc022341ac [7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template. Author: NoFantasy
--HG--
branch : trunk
2009-05-29 21:24:23 -05:00
megamage
451471d438 [7904] Change creature damage calculation formula. Author: Seizerkiller
* Add new creature_template field `dmg_multiplier`
    * Make attackpower include in creature damage not dependent from attack speed.

    NOTE: included in sql update recalculation for creature damage related fields only make
    temporary possible usable values. Real values need revisited by DB devs for correctness.

--HG--
branch : trunk
2009-05-28 18:29:59 -05:00
megamage
c61ef6c73c [7902] Speed up Creature and GO loads. Author: AlexDereka
--HG--
branch : trunk
2009-05-27 23:24:22 -05:00
megamage
5101c7c4c5 [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use. Author: NoFantasy
--HG--
branch : trunk
2009-05-27 16:36:09 -05:00
megamage
8b26c1c728 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". Author: VladimirMangos
--HG--
branch : trunk
2009-05-26 16:19:11 -05:00
megamage
09b386a786 [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

    * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
    * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
    * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

    Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.

[7887] Drop pet spell teaching code, including field in character_pet.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-24 12:16:12 -05:00
megamage
aa67033cc7 [7885] Fixed talent 34914 and ranks proc spell to correct spellid. Author: qsa
--HG--
branch : trunk
2009-05-24 11:32:44 -05:00
megamage
4ebe23324b [7879] Fixed proc for 31571 and ranks. Author: Tanatos
--HG--
branch : trunk
2009-05-24 11:13:45 -05:00
Kudlaty
be6fad0de1 Correct typo in previous commit
--HG--
branch : trunk
2009-05-22 17:47:10 +02:00
Kudlaty
3bd9858417 Add a column to npc_spellclick_spells table to check if quest is completed/rewarded or incompleted
1: completed or rewarded; 3: incompleted; default 3

--HG--
branch : trunk
2009-05-22 17:43:14 +02:00
megamage
ac33cb94f3 [7855] Add description command to pool_* tables for simplify DB development. Author: Seizerkiller
Note: this fields not used and not loaded by mangos.

--HG--
branch : trunk
2009-05-19 15:43:17 -05:00
megamage
ca4c3eb847 [7851] Fixed typo to allow work '.tele name' command.
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
Provide and use universal way for get locale and locale index for chat/console command use.
Author: VladimirMangos

--HG--
branch : trunk
2009-05-19 15:34:07 -05:00
megamage
3569f949d7 [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
    * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
      or if not provided by current seelction with error cases processing.
    * Property apply mute/unmute in case use different character name from loggined currently for account.
    * .reset commands can be used from console now
    * .repairitems comamnd can be used from console now but only to online player.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-17 10:57:55 -05:00
megamage
a442a9b914 [7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 13:44:49 -05:00
megamage
1390440f14 [7823] Fix ScalingStatValue field size in item_template table. Author: DiSlord
--HG--
branch : trunk
2009-05-14 15:37:28 -05:00
megamage
7c373f24d8 [7817] Add missing sql-updates to mangos.sql (7776, 7777, 7782) Author: Brueggus
--HG--
branch : trunk
2009-05-13 18:30:32 -05:00
megamage
e85e4c386b [7796] Implement .lookup taxinode and .go taxinode commands. Author: VladimirMangos
--HG--
branch : trunk
2009-05-08 18:47:27 -05:00
megamage
27d3ebbb92 [7777] Fixed talent 30299 and ranks procing also from holy dmg. Author: Corfen
--HG--
branch : trunk
2009-05-06 16:38:05 -05:00
megamage
e69d2cbed9 [7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
    npc_spellclick_spells, otherwise you won't be able to use them

--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage
d4c75dddea [7720] Fixed crash at .character level use from console. Include GM name in message for command target if report need. Author: VladimirMangos
--HG--
branch : trunk
2009-04-27 18:46:44 -05:00
megamage
f9c4047441 [7714] Implement new command .character level for set level provided level. Author: VladimirMangos
--HG--
branch : trunk
2009-04-27 18:15:30 -05:00
megamage
f4e2dccacb [7705] Rename some account/character related commands.
* .lockaccount -> .account lock
    * .password    -> .account password
    * .chardelete  -> .character delete
    * .customize   -> .character customize
    * .rename      -> .character rename
    [7706] Rename command .plimit -> .server plimit

Author: VladimirMangos

--HG--
branch : trunk
2009-04-24 11:45:25 -05:00
megamage
3a2e58f81a [7662] Spell power coefficients for talent 48505 and ranks. Author: nos4r2zod
--HG--
branch : trunk
2009-04-13 17:28:44 -05:00
megamage
6d0b82676c [7643] Allow set, store and output creture EventAI data version in addition to world DB and script library versions. Author: VladimirMangos
*This patch is disabled in TC2.

--HG--
branch : trunk
2009-04-09 17:57:57 -05:00
megamage
371a584047 [7633] Implement support multiply basic requirements for crireria in achievement_criteria_data. Author: VladimirMangos
Also implement additional basic requirements for proper implementing checks for ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE
    Req. DB support.

--HG--
branch : trunk
2009-04-08 16:34:38 -05:00
megamage
7b2ae4d964 [7627] Replace built-in in code table by new DB table achievement_criteria_data for store additional data for achievement criteria. Author: VladimirMangos
--HG--
branch : trunk
2009-04-08 16:24:34 -05:00
megamage
f59c4debf6 [7622] Added creatureAI with related database tables. Author: AlexDereka
*Note: three tables are renamed.

--HG--
branch : trunk
2009-04-07 19:38:09 -05:00
megamage
24e24d3c02 [7616] Implement .debug play cinematic and .debig play movie. Rename .debug playsound to .debug play sound. Author: VladimirMangos
*Note: some conflicts of string.

--HG--
branch : trunk
2009-04-05 16:58:20 -05:00
megamage
cb3b6e7c77 [7615] Continue sorting chat command function declarations. Move send commands in new .send * subcommand list. Author: VladimirMangos
--HG--
branch : trunk
2009-04-05 16:54:55 -05:00
megamage
3d1200f4ac [7609] Trailing whitespace cleaning Author: freghar
--HG--
branch : trunk
2009-04-03 16:39:21 -06:00
megamage
12bb5538b5 [7568] Spell proc event data from forums Author: DiSlord
--HG--
branch : trunk
2009-03-28 17:36:49 -06:00
megamage
2ab52aa2a1 [7565] Move all hardcoded strings used in .account onlinelist to DB. Author: VladimirMangos
Also update format as originally suggested by Cha0S2.

--HG--
branch : trunk
2009-03-28 17:31:27 -06:00
megamage
6dff0bfd5e [7560] Implement IconName for gameobject Author: NoFantasy
--HG--
branch : trunk
2009-03-28 16:28:36 -06:00
megamage
ce8462ccf9 [7558] Implement command: .learn all_mypettalents Author: VladimirMangos
Also output more correct messages at use .reset talents to pet

--HG--
branch : trunk
2009-03-28 16:25:42 -06:00
megamage
1ac13728a7 [7545] Fixed exploration achievements for certian areas Author: DonTomika
[7546] move uptime table to Realm database, use realmid column. Author: Triply

--HG--
branch : trunk
2009-03-26 14:02:11 -06:00
megamage
f40773a24d [7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:44:47 -06:00
megamage
3fd85fa5cd [7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data. Author: VladimirMangos
* Now `command` table loading set data for any use subcommand levels
    * Errors output for not existed in code commands at related data loading from table.
    * Detail log level report outout about overwrited security level for loaded chat command data.

    Using this functionality found and fixed/update data for `command` in mangos.sql

    NOTE: some command security levels changed.

    Thank you to benemorius for pointing to this security problem.

--HG--
branch : trunk
2009-03-21 14:21:19 -06:00
megamage
64ce6533a9 *Update gameobject visual and command. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:16:02 -06:00
megamage
986334e641 [7472] Fixed messages in Eye of Storm Battleground. Author: Triply
--HG--
branch : trunk
2009-03-16 15:51:45 -06:00
megamage
090829bdf8 [7453] Fixed some example data in mangos.sql Author: VladimirMangos
--HG--
branch : trunk
2009-03-13 18:30:58 -06:00
megamage
dc4a456416 [7439] Fix wrong liquid level in some places. Need reectract maps. Author: DiSlord
Remove some log on extract maps.
    Add liquid status log to .gps command

--HG--
branch : trunk
2009-03-10 15:33:54 -06:00
megamage
f9aaf5bffb [7422] Allow localization base at guildmaster locale default guild rank names at guild creating. Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:48:18 -06:00