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
2a2eff190c
*Fix some bugs about pet spells: such as cannot cast/cannot autocast.
...
--HG--
branch : trunk
2009-05-19 01:23:52 -05:00
megamage
f09f5c61d4
[7840] Fixed unexpected rounding in pet size scale calculation. Author: Naicisum
...
--HG--
branch : trunk
2009-05-17 10:58:31 -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
d0a50c9d55
*Fix the sql error when saving pet auras.
...
--HG--
branch : trunk
2009-05-17 09:43:57 -05:00
megamage
9b4d3bf0af
[7835] Store structures (with size = uint32) insteed pointer to structure in PetSpellMap. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-15 16:46:02 -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
d72855e25f
[7794] Add DK pet type support for proper show it in client Pet tab. Author: Astellar
...
--HG--
branch : trunk
2009-05-08 18:43:06 -05:00
megamage
80bec6788c
*Try to fix some bugs about pet spells and talents.
...
--HG--
branch : trunk
2009-05-08 17:15:19 -05:00
megamage
5e2bec88dc
[7785] Allow regenerate energy for pets if this current power type. Author: Astellar
...
--HG--
branch : trunk
2009-05-06 16:47:06 -05:00
megamage
fa1dcd16cf
*Update summon system.
...
--HG--
branch : trunk
2009-05-06 13:34:11 -05:00
megamage
4182821bab
*Remove an useless error log.
...
--HG--
branch : trunk
2009-05-04 12:13:10 -05:00
megamage
7181ec3b9a
[7752] Correctly restore autocast state for spells at spell loading. Author: Az@zel
...
--HG--
branch : trunk
2009-05-03 22:29:32 -05:00
megamage
bb37911480
[7751] Use more safe code to prevent DB errors at pet spells save and avoid unneded data save. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-03 22:27:39 -05:00
megamage
272697ede1
*Fix the db error when saving pet auras.
...
--HG--
branch : trunk
2009-05-02 21:49:21 -05:00
megamage
122d944945
*Update summon system.
...
*Fix the bug that shaman cannot summon fire elemental.
*Fix the bug that totem meters cannot be displayed.
--HG--
branch : trunk
2009-05-02 19:24:22 -05:00
megamage
de11b9e901
[7730] Some optimizantion and code style. Author: zhenya
...
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
09af28301e
[7716] Fixed some typos and possible crashes. Author: AlexDereka
...
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
Anubisss
ef87d10a81
*Fix a typo in Pet::LoadPetFromDB() by teacher4. Thank you.
...
--HG--
branch : trunk
2009-04-27 19:40:35 +02:00
QAston
2d1521dea9
*Fix CAST_INTURRUPT_PREVIOUS flag for eventai action cast
...
*Rewrite .reload all pet_spells command to make it reset actionbars correctly.
--HG--
branch : trunk
2009-04-26 02:48:20 +02:00
QAston
dcc7b99982
*Update petLevelupSpellLearn code
...
*Remove triggered aura of shadow embrace when main aura expires.
--HG--
branch : trunk
rename : sql/updates/2773_world_spell_linked_spell.sql => sql/updates/2814_world_spell_linked_spell.sql
2009-04-19 20:45:55 +02:00
QAston
b608823041
*Load auras for pet correctly.
...
--HG--
branch : trunk
2009-04-19 18:42:09 +02:00
megamage
28f86fdcb0
*Allow non-warlock/hunter guardians to use pet level info table. This should fix the bug that water elemental does not have correct hp/mp.
...
--HG--
branch : trunk
2009-04-15 19:13:33 -05:00
QAston
b972327979
*Fix healing amount for Haunt
...
--HG--
branch : trunk
2009-04-13 19:51:37 +02:00
megamage
52571d6d48
*Fix a 100% crash that pet is killed by DOT.
...
--HG--
branch : trunk
2009-04-13 12:11:36 -05:00
QAston
beab3e0125
*Fix some problems with ProcFlag
...
--HG--
branch : trunk
2009-04-13 15:52:59 +02:00
megamage
3120221deb
*Note: this patch may do not have any use for TC.
...
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos
* Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
prevent save as current pet summoned while temporay unsummon (arena)
* Prevent overwrite temporary summoned pet data
* At player loading set temporary unsummoned pet data instead pet loading
if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
* Restore proper pet at arena leave and unsummon in arena summoned.
--HG--
branch : trunk
2009-04-11 14:47:38 -05:00
QAston
2e0ffba0bc
*Fix beacon of light.
...
*Fix a crash in Spell::CanAutoCast.
--HG--
branch : trunk
2009-04-11 18:58:34 +02:00
megamage
4d277430c5
[7644] Fixed pet slot values using in pet save. Author: VladimirMangos
...
Problem exist from client version switch when stable slot amount changed.
In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
or "not save state" for summoned pets.
Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
Fixed data preparing for MSG_LIST_STABLED_PETS.
--HG--
branch : trunk
2009-04-10 18:18:44 -05:00
QAston
fc7d2a5393
*Save only auras which need to be saved-this also removes error spam for duplicate entries.
...
--HG--
branch : trunk
2009-04-08 18:32:48 +02:00
XTZGZoReX
cc2a089a9d
* Trailing whitespace removed.
...
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
QAston
276084e294
*Fixes in pet levelup spell system-pets no longer learn triggered spells and can cow learn 2 spells for 1 level.
...
--HG--
branch : trunk
2009-04-06 14:54:56 +02:00
QAston
20c02ef760
*Update of aura system.
...
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage
0376c70fd9
*FIx a bug that pet cause crash.
...
--HG--
branch : trunk
2009-04-04 14:08:17 -06:00
megamage
b858dd535a
*Fix the bug that pet cannot be put in stable.
...
--HG--
branch : trunk
2009-04-03 18:22:46 -06:00
megamage
837e15405d
*Fix a bug about pet talents.
...
--HG--
branch : trunk
2009-04-03 17:29:27 -06:00
megamage
2bc033a328
*Fix bugs related to hunter and warlock pets.
...
--HG--
branch : trunk
2009-04-02 22:03:25 -06:00
megamage
fbf36c9afe
*Fix build. Sorry.
...
--HG--
branch : trunk
2009-04-02 19:09:52 -06:00
megamage
8e0a0877e1
*Try to fix the bug that pet cause client crash.
...
--HG--
branch : trunk
2009-04-02 19:05:17 -06:00
megamage
b51cea6ce4
*Remove some code which may cause crash.
...
--HG--
branch : trunk
2009-03-31 14:08:38 -06:00
megamage
031df598ab
*Try to fix crash.
...
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage
09342fe2be
*Fix a crash when toggle autocast for pet.
...
--HG--
branch : trunk
2009-03-29 09:45:47 -06:00
megamage
3a485c658d
*Fix a bug that pet does not toggle autocast when loaded.
...
--HG--
branch : trunk
2009-03-28 22:05:12 -06:00
megamage
b7001f6135
*Fix build.
...
--HG--
branch : trunk
2009-03-28 17:40:07 -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
eb894f39e8
*First remove object from world then unregister it. This may fix some crashes.
...
--HG--
branch : trunk
2009-03-28 16:04:37 -06:00
megamage
3c624f7c63
*Set pet level up xp from 1/4 of owner xp to 1/10.
...
--HG--
branch : trunk
2009-03-28 12:39:14 -06:00
megamage
ff83e4a9b1
*Fix some bugs of pet.
...
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
74d88025cb
*Fix some client issues about pet.
...
--HG--
branch : trunk
2009-03-27 10:13:12 -06:00
megamage
a6193d4893
*Fix a crash.
...
--HG--
branch : trunk
2009-03-26 09:22:20 -06:00