VladimirMangos
0e987bf59e
[7467] Use SpellCastResult and replace CanCast by CheckCast.
...
Note: proper way to check: if(spell->CheckCast(...)==SPELL_CAST_OK)
2009-03-16 13:17:44 +03:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
VladimirMangos
2b9eeb782e
[7362] Use IN_MILISECONDS where appropriate, other cleanups.
2009-03-01 05:22:56 +03:00
VladimirMangos
63b8d1f537
[7259] Prevent memory lost at pet spell reset.
2009-02-10 06:15:05 +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
ApoC
8275ff9a36
[7163] Pet constructor cleanup.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 20:44:10 +01:00
ApoC
302dc70eab
[7162] Converted some uint16 spellid parameteres to uint32. It can provide little speedup.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 18:42:14 +01:00
VladimirMangos
bbf8fd0742
Not store dependent spells in character_spell
...
* Mark spells learned in result character creating, another spell learning, skill grow,
quest reward as dependent and not store its in `character_spell`.
* Prevent re-learning known spell in expected state
* Prevent re-learning low rank spell as active if higher rank known.
* New type of non-stacked ranked spells check: skill dependent spell bonuses.
* Activate (show propetly and cast if need) lesser spell rank
for non-stackable in spellbooks spells at unlearn high rank
2009-01-24 12:03:43 +03:00
seirge
7e76c7dff2
[7148] Fixed possible crash at clone creatures without family.
...
Signed-off-by: zhenya <zhenya@mangos.ru>
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 01:28:24 +03: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
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
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
daf24ce90c
[7029] Some work vs aura charges
...
Move to protected: need use SetAuraCharges, GetAuraCharges, DropAuraCharge
Now m_procCharges == 0 if infinite charges, and > 0 for limit
Remove not need UpdateAuraCharges()
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:16:53 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
False.Genesis
82c94b4101
[6948] Fixed unattackable NPC summoned pets.
...
Not set player's pet only UNIT_FLAG_PVP_ATTACKABLE flag for creature's pets.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-26 15:18:10 +03:00
VladimirMangos
3488c1fee3
Prevent using loading pet from DB code for non-player pets.
2008-12-26 12:47:03 +03:00
tomrus88
857e7ae7ee
Updated opcodes enum.
2008-12-12 18:12:28 +03:00
VladimirMangos
82cbd9152d
Fixed possible crash in Aura::HandleModPossessPet
...
Also small code cleanup.
2008-12-09 11:47:49 +03:00
tomrus88
ed77adf964
Merge branch 'master' into 303
2008-11-27 07:19:12 +03:00
arrai
b83cd2a2a9
[6851] Removed level dependant scaling for warlock pets. Only hunter pets are supposed to behave in that way.
2008-11-27 00:04:46 +01:00
tomrus88
4e76f1ac98
crash fix
2008-11-16 17:07:11 +03:00
tomrus88
efdb8e01dd
Removed direct use of some updatefields
2008-11-15 22:04:00 +03:00
tomrus88
768fa2d2de
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Pet.cpp
src/game/Player.cpp
2008-11-15 15:35:52 +03:00
arrai
5905aec683
[6819] [2008_11_12_01_character_character_aura.sql] Fixed storing stacked auras
2008-11-12 22:23:17 +01:00
tomrus88
78ec66babc
Merge branch 'master' into 303
...
Conflicts:
contrib/extractor/System.cpp
contrib/extractor/ad.exe
src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
tomrus88
ca8180ecd1
Futher pet spell work
2008-11-06 13:22:43 +03:00
tomrus88
d48844a699
More work on pet spells, typo fix
2008-11-05 21:47:56 +03:00
VladimirMangos
88b1974df6
Fixed warnings, unused code and typos.
...
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
tomrus88
3e8ebb024f
Fixed: pet spells, possible sql injection, increased sql query size once again
2008-11-04 18:25:37 +03:00
tomrus88
b2d24ba0f7
Packet fixes, pet spells
2008-11-04 18:25:35 +03:00
VladimirMangos
004bdf1d3c
Fixed some format arg type/value pairs. Other warnings.
2008-11-03 14:21:24 +03:00
VladimirMangos
166007525e
More fixes for wrong format arg/value pairs.
2008-11-03 01:48:16 +03:00
VladimirMangos
8563b88859
Fixed some format arg type/value pairs. Other warnings.
2008-11-01 23:53:35 +03:00
tomrus88
97bf2e7d68
Fixed windows build, account data should be saved server side now
2008-10-27 20:00:56 +03:00
tomrus88
9c8864f134
Updated objects stuff
2008-10-26 10:20:52 +03:00
VladimirMangos
20951d116e
Fixed: crash at expire single target loaded aura.
...
Prevent loading and saving single target auras for pet in same way as already implemented for player.
2008-10-23 06:28:28 +04:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00