Commit graph

174 commits

Author SHA1 Message Date
VladimirMangos
50b6bfd7f1 [7267] Drop auctionhouse.location. 2009-02-12 04:54:15 +03:00
GriffonHeart
75121a5823 [7255] Allows saving characters in Battle Grounds.
* Now player can join to BG after logout during 5 minutes, if BG in progress.
* All players after server crash or restart should appear at the battlemaster

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-09 16:15:29 +03:00
VladimirMangos
100429f29c [7252] Move all world global broadcast string (all arena/bg related) to mangos_string.
PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes.

Really allow with .debug bg start bg with 1 player.
Added helps for some existed .debug commands.
2009-02-08 13:06:25 +03:00
VladimirMangos
3c38b4d3e6 [7251] Replace wrong spell 52375 by 47541 in spell chain data.
Also remove new and old spell from character's spellbook.
It will added anyway at login as dependent (initial known spell)
2009-02-08 11:18:13 +03:00
jorooo
e355084376 [7249] Remove outdated data from spell_proc_event.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-08 04:54:38 +03:00
VladimirMangos
30c1b87669 [7246] Add data from 7242_01_mangos_spell_bonus_data.sql to mangos.sql as expected.
Also fix outdated comment
2009-02-07 21:23:23 +03:00
Reve
19de5300eb [7242] Fixed spell 30482 and ranks spell bonus for triggered spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:00:06 +01:00
VladimirMangos
74ec17a273 [7235] New command: .reset achievements 2009-02-07 00:00:23 +03:00
VladimirMangos
8376abb9d2 [7231] Some info to sql updates commiters in slq/update/README 2009-02-05 23:01:00 +03:00
Dietrich
873c3baf2e [7230] Add spell_chain data for 18220 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add spell_bonus_data
2009-02-05 05:27:59 +03:00
vladonix
a4b87550a8 [7223] Remove duplicate line (old case) in mangos.sql command table.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-03 00:09:09 +03:00
VladimirMangos
4602ff9c21 [7214] Phase system continue development - Commands and fixes.
* Fixed creature/gameobject save from game (used in commands code only)
* Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands
  for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change.
  In creature/gameobject case change saved in DB.
* Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link
  (work for objects loaded in game in command time).
2009-02-01 08:13:16 +03:00
DiSlord
8197ccbc73 [7209] Fix damage for paladin 53595
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-31 22:04:12 +03:00
VladimirMangos
aa24bd836e [7207] Phase system development continue for DB/in_game objects
* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB

TODO: in game commands.
2009-01-31 06:11:50 +03:00
evilstar
af888cda40 [7205] Update table spell_chain to 3.0.8
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 02:18:08 +03:00
DiSlord
fdfd9c647a [7199] Fix some spell bonus coefficients
Add some proc triger data

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:51:21 +03:00
Alex
edfeb6597d [7198] SQL update will fix problems with charges old pre-3.0.3 summon spells for pets/companions/etc.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-29 00:19:26 +03:00
DiSlord
c02898bad4 Fix typos in mangos.sql 2009-01-28 02:44:51 +03:00
DiSlord
977df35349 [7196] Restore priest pet hit mana regen
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:28:34 +03:00
DiSlord
4ecfbcc2f5 Use spell_bonus_data table for store custom damage/healing bonus coefficients
Big thanks ApoC for help create table.
Fixed bonuses for stacked periodic
Warning need test all coefficients for correct bonus amount.
TODO:
 use this table for absorb bonus calculation
 use this table for melee spells AP bonuses
 use chain multipler in final damage/heal amount

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:23:16 +03:00
ApoC
ff1e2bb9fd [7193] Renamed output Field Flags to Unit Flags in npc info command.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-27 14:47:58 +01:00
pasdVn
be736100cb [7175] Fix some hunter abilites
56342 and ranks - proc on trap activation
 34497 and ranks - mana restor amount
 56333 and ranks
 add some cast as trap activation

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 17:46:37 +03:00
VladimirMangos
4dc06d6d9e [7168] Spell shift-link and command improvements.
* Support Htrade shift link (it created by client at click by crafting profession spell icon in spellbook)
  in spell comands.
* Support "all" second arg for .learn for learning not provided spell id but it's all ranks.
* Drop support range for .unlearn command but support instead "all" second arg for unlearn not specific spell id but it's all ranks.
* In .list auras output print spell names as shift links for better readable view.
* Add to beggining Chat.cpp lists all supported by commands shift-links (client generated and server-side)
2009-01-25 07:53:18 +03:00
DiSlord
3f4821acfb [7156] More generic periodic aura work
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
Neo2003
34fc995ef9 [7150] Fixed: spell 58284 must be in original spells for all warlocks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 02:14:33 +03:00
DiSlord
3c45d5f548 [7149] Implement paladin dummy proc - 53380 and ranks, 53501 and ranks
Complete fix dummy and trigger from Hunter 53228 amd ranks
Allow trigger from some Hunter, Paladin spells

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 01:45:16 +03:00
VladimirMangos
100801b713 [7147] Check creature template type/family at server startup. 2009-01-23 01:28:05 +03:00
freghar
11ed0e99a8 [7146] Trailing whitespace code cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
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
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
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
VladimirMangos
9fba64aeae [7113] Not update/store achievement progress for counter == 0 2009-01-19 13:30:18 +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
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
a9476381bc [7097] Fix some triggers changed on client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:04:22 +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
NoFantasy
f876d66d74 [7084] Fix 2.4.3->3.0.3 item conversion for gem sockets problems.
This is avoid problem only for not converted items at conversion.
Fix can't be applied to already converted DB. Near to impossible sort items
in already converted DB to converted (and required fix) and newly created (and corrupted by fix).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-14 13:04:01 +03:00
DiSlord
08864a7288 [7078] Restore work rogue 14185 after client switch
Add data to proc table
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 22:04:55 +03:00
VladimirMangos
5b50e2f9e8 [7077] Implement support castable trainer spells for profession ranks. 2009-01-13 21:09:43 +03:00
VladimirMangos
aff0fa1489 [7075] Remove outdated original spells from character_spell. Update spell_learn_spell for one from original spells. 2009-01-13 01:02:22 +03:00
Seize
f1b8c677fc [7074] Update playercreateinfo_spell for old classes.
Signed-off-by: Neo2003 <Neo2003@getmangos.com>
2009-01-13 00:52:37 +03:00
VladimirMangos
f956a3bf10 [7067] Move inactive form/stance passive spells from playercreateinfo_spell to spell_learn_spell with active field.
This let have in `playercreateinfo_spell` only expected at character creating spells for simplify updating.
2009-01-11 02:09:03 +03:00
DiSlord
48bebc4056 [7063] Absorb auras fixes (add custom handle for some auras)
Fix Shaman 51474 and ranks
Fix Rogue 31130 and ranks
Fix Druid 33851 and ranks
Fix DK 49145 and ranks, 49157 (TODO: need use only on transform), 50462, 53766, 51052,
Fix 41475 - boss cast
Fix 39228, 60218 (item 27770/37220 spells)
Hidden cooldown for 53601.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 19:14:09 +03:00
DiSlord
e266f04eda [7061] Use correct flag for trigger from 47540 and ranks (use healing part) in all related triggers
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 01:21:29 +03:00
DiSlord
87a0960cdb [7060] Implement priest dummy proc 47555 and ranks
Disable proc from SPELL_AURA_PERIODIC_DAMAGE (need prevent drop charge in some cases)
Add data for shaman 51556 and ranks (but need dummy for work)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 01:02:48 +03:00
VladimirMangos
e1a4ad241d [7059] Drop spell slot fields as unused for characters and pets.
Also temporary fix spell slot setting in 7047_01_characters_character_spell.sql
2009-01-09 22:31:06 +03:00
DiSlord
71b33ca2f1 [7056] Proc system add
Add use autorepeat flag and set more corect triggers flag for ranged autorepeat spells
Restore work paladin 20210 and ranks after client switch
Add 6-7 scripted paladin shock spell (also add it in dummy and fix flag)
Hidden cooldown and hacky (need more fixes in triggers) fix for 33953
Remove not used code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 00:59:28 +03:00
DiSlord
d2ab274638 [7053] Fix last commit 2009-01-08 04:37:12 +03:00
DiSlord
54a9efe827 Fix some proc
Add hidden cooldown to 60493
Fix some paladin/warlock triggers (see sql update for names)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 04:34:12 +03:00