Commit graph

150 commits

Author SHA1 Message Date
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
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
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
64073f65c0 [7107] Output skill points (current, max, perm/temp bonus) for known skill in .lookup skill. 2009-01-18 22:18:13 +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
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
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
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
DiSlord
6a4ee36f21 [7052] Fix proc priest 47549 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 04:03:53 +03:00
DiSlord
e573bd9ea8 [7051] Implement some mage dummy triggers (fix typo)
44546 and ranks
44449 and ranks
54747 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 03:53:21 +03:00
DiSlord
40d7fecb36 [7050] Add crit req for some paladin spell proc
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 01:30:34 +03:00
DiSlord
5f894bf422 Fix prev commit 2009-01-07 21:48:32 +03:00
DiSlord
ebf7c767da [7047] Fix Draenei race spell add at client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 20:15:12 +03:00
DiSlord
177ab58d51 [7044] Fix some priest spell (48110, 48111, 48112, 48113) crash
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 16:41:29 +03:00
VladimirMangos
dc19fc4ca3 [7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail.
Support localization string fields for new table.
Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr.
2009-01-06 16:21:22 +03:00
DiSlord
b6efea176d [7034] Add support 96 bit spell family mask to triggers
Some fix/add data in table (about 100 records)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 00:26:58 +03:00
DiSlord
675a90b267 [7033] Add some dummy triggers
DK - 49015 and ranks, 51459 and ranks, 48979 and ranks
Druid - 48516 and ranks, 48496 and ranks
Shaman - 55440 glyph
Also fix send AttackStateUpdate on block
Add some spell_proc_event data
Fix sql update for 7031

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 16:55:30 +03:00
DiSlord
8ac2150b88 [7031] Implement some mage, paladin dummy trigers
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 06:01:46 +03:00
DiSlord
63c9f1ba72 [7030] Fix typos in mangos.sql
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:48:24 +03:00
GriffonHeart
5332b4496d [7026] Current arena season id and state send and setting in mangosd.conf.
Also classes and DB data for new batlegrounds/arena.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 02:20:58 +03:00
VladimirMangos
f50083928a [7024] Add gathering skill grow bonus spell chanin data. Sort prof. spell chain data by skill ids as other spells. 2009-01-04 23:31:56 +03:00
VladimirMangos
ee505ec9da [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
Seizer
420331b2ae [7002] Fixed learning of spell 51490 and ranks
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 14:44:44 +01:00
Grz3s
da133b2618 [6970] Fixing player staring coordinates in mangos.sql. 2008-12-29 13:34:07 +03:00
begemot
b9e0787c2a [6961] Remove redundent code that prevent show .reload subcomands list in normal way.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 05:04:01 +03:00
Arthorius
41cbc67dfc [6960] Implement ".modify runnicpower" command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 03:23:03 +03:00