zergtmn
0b7e78d2a7
[10938] Some adjustments to script calls OnQuestChooseReward replaced with OnQuestRewarded. Also fix compile in VC 8.0 and VC 9.0.
2010-12-30 01:27:13 +05:00
NoFantasy
14c8db9c9a
[10937] Add models for spell aura 50517 and 51926
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-29 21:18:39 +01:00
Unid
7d41f3fadf
[10936] Correctly show online status of 1.12.1 realms
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-29 20:50:20 +03:00
zergtmn
ec6089bbd8
[10935] Move script calls to ScriptMgr
...
- Script library presence is now optional.
- Some script hooks have new names. Scripting libraries need to be adjusted accordingly.
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-29 21:48:06 +05:00
VladimirMangos
918e646ca2
[10934] Implement dummy effect of spell 7671.
...
Thanks to X-Savior for reserch.
2010-12-29 05:05:59 +03:00
VladimirMangos
26370b8df7
[10933] Fixed crash at modified data from client at trainer spell learn.
2010-12-29 02:49:03 +03:00
VladimirMangos
d38df50a7e
[10932] Imporvments gameevent creature morphing.
...
* Table `game_event_model_equip` renamed to `game_event_creature_data`
* Table allow now store same creatures for different events, BUT
expected that related events no active in same time.
* Added possibility switch entry at gameevent time.
This let have diff factions/loot and etc for creatures.
* Added possibility cast spells at gameevent start/end.
Exist some spells that expected casted to creature at gameevent start
for model replace, and for animation in other cases.
Note: `game_event_creature_data`.`modelid` field posisble will removed soon in fowor related spell use.
Ofc, when spells will implemented in core.
2010-12-29 01:38:49 +03:00
Ambal
e52ebaf7a9
[10931] Fix mangos build with old ACE libraries after [10924].
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-28 23:38:58 +02:00
NoFantasy
dfa30a495d
[10930] Add models for spell 65528 and 65529
...
Add spells in commented form that will need custom handling in similar way for the same aura effect.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-28 21:03:34 +01:00
VladimirMangos
3ff5ff2e6f
[10929] Move game event creature morphing code to Creature::UpdateEntry
...
* This is allow have more clean logic in feature work.
* Prevent modify static creature data.
2010-12-28 22:52:40 +03:00
NoFantasy
f8921dbca8
[10928] Uncomment all races in enum Races
...
Race can also be creature race and needed for future implementation of spells.
RACE_UNDEAD_PLAYER renamed to more proper RACE_UNDEAD
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-28 19:53:01 +01:00
zergtmn
d400f00224
[10927] Prevent null-pointer dereference in AI calls
2010-12-28 22:09:25 +05:00
NoFantasy
1031f3b5d2
[10926] Remove player-only limit for HandleAuraTransform where miscvalue is 0
...
Add error output for unhandled spells plus minor code cleanup
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-28 11:57:50 +01:00
zergtmn
6a8f83379f
[10925] Few more vehicle flags
...
All vehicles with these flags have corresponding movement flags.
2010-12-28 02:31:09 +05:00
Ambal
b11820593c
[10924] Send time diff between Update() calls for object - should help with mob respawn on inactive grids etc. Based on patches by VladimirMangos and cipherCOM. All issues from previous patches should be finally fixed now.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-27 22:27:20 +02:00
zergtmn
72b1d30a1c
[10923] Cleanup some magic numbers
2010-12-27 19:04:59 +05:00
VladimirMangos
3c58f25ad9
[10922] Revert "[8722] Fixed possible creash."
...
This reverts commit 8dd3e4b31a31bb6dfc4d9fb51b1b7e67bad4ca16.
This is impossible crash case. Creature object can't be created without creatureInfo != NULL
So crash source can be only result wrong calling ClearInCombat() for deleted or NULL creature.
2010-12-27 05:07:31 +03:00
VladimirMangos
246126d7b4
[10921] Allow from mute player chat messages CHAT_MSG_AFK and CHAT_MSG_DND.
2010-12-26 03:14:33 +03:00
VladimirMangos
1b4477164c
[10920] Prevent server freeze at strnage radisu used by item 34124 spell cast
2010-12-24 21:21:19 +03:00
zergtmn
14c1329ea5
[10919] Actually use spell penetration gained by items in calculations
2010-12-24 21:18:23 +05:00
Astellar
a13f8714f2
[10918] Add support for ITEM_MOD_SPELL_PENETRATION
...
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-24 19:48:27 +05:00
insider42
5f4dcbbe93
[10917] Allow SPELL_AURA_MOD_PACIFY auras to affect creatures
...
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-24 19:45:07 +05:00
zergtmn
f7d58220a5
[10916] Implement dummy aura for spell 75973
2010-12-24 18:48:34 +05:00
VladimirMangos
d1b0e5b40f
[10915] Use HasFlag function for check flags instead raw access.
2010-12-24 05:38:48 +03:00
Ambal
f56e13966f
[10914] Remove ObjectLevelLockable inheritance in Map class + cleanup locks in Map code. Restore build after recent commits.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-24 01:23:02 +02:00
zergtmn
8f37314950
[10913] Fix db_script_string loading
2010-12-24 00:46:07 +05:00
zergtmn
0d6f990e4e
[10912] Move scripting related functions from ObjectMgr to ScriptMgr
2010-12-24 00:23:37 +05:00
zergtmn
f61166c2bf
[10911] Fix GCC warning
2010-12-23 23:31:31 +05:00
KiriX
b6c50838a3
[10910] Use provided target instead of caster for SPELL_EFFECT_QUEST_COMPLETE
...
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-23 21:03:14 +05:00
zergtmn
a1e0111638
[10909] Code style cleanups in scripting related functions
2010-12-23 19:01:30 +05:00
VladimirMangos
a84d67a389
[10908] Imporve detection need use reagents by triggered spell.
...
Now regagent used if main spell (if infor about provided to triggered cast)
not have regent data.
This fix reagetn use for spell 43723. But maybe need another fixes for proper animation.
2010-12-23 00:58:21 +03:00
zergtmn
e1074c0ac1
[10907] Allow mounts on map 603
2010-12-22 21:31:09 +05:00
Lynx3d
edfddc06fa
[10906] Fix Glyph 45806 to trigger from 49184 and ranks instead of unrelated spells.
...
Also fix attack power coefficient for 49184 and ranks.
2010-12-22 01:06:19 +01:00
VladimirMangos
4a7638c80e
[10905] Fixed vendor templates work.
...
* Avoid unexpected errors at template loading for shared templates for many npc.
* Really use vendor template in work.
2010-12-21 19:39:43 +03:00
zergtmn
72255d1bb1
[10904] Cleanup character_battleground_data when deleting characters from database
2010-12-21 18:37:36 +05:00
zergtmn
3693821cee
[10903] Drop unused code in Unit::MeleeDamageBonusDone()
2010-12-21 15:46:11 +05:00
zergtmn
d9579dd44a
[10902] Simplify code for triggering linked trap
2010-12-21 15:34:06 +05:00
zergtmn
2f4e7a9377
[10901] Allow vehicles to have gossip menu
...
In addition rename IsGameobject -> IsGameObject.
2010-12-21 15:14:52 +05:00
zergtmn
d736fe9d9a
[10900] Remove SPELL_AURA_MOD_POSSESS_PET auras in Unit::Uncharm()
2010-12-21 15:06:20 +05:00
lp-vamp
fa12f35981
[10899] Remove default value for removed config option SocketSelectTime.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-21 00:52:14 +03:00
VladimirMangos
ca095e27a8
[10898] Fix for pool system problems after map rewrite.
2010-12-20 23:33:09 +03:00
VladimirMangos
1d84a8de1d
[10897] Small typos in error message.
2010-12-20 23:03:13 +03:00
VladimirMangos
add4ceb999
[10896] Detect self-referenced model info in creature_model_info.
2010-12-20 20:33:31 +03:00
Darkrulerz
e34d73f6bd
[10895] Description for found gender field in CreatureDisplayInfoExtraEntry.
...
Sign-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 20:00:26 +03:00
cipherCOM
f59dae1d9c
[10894] Fixed problems with new ACE lib on Darwin systems
...
(based on cipherCOM's repo commit ce2638f)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 10:53:39 +03:00
Warlord123
3e1c04fc6e
[10893] Speedup check code at gossip_menu_option loading.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-19 21:54:00 +03:00
NoFantasy
d923302669
[10892] Fix load creature *addon data from database
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-19 12:38:23 +01:00
VladimirMangos
abb92f4224
[10891] Access for core/scripts to creature race info in model dbc
2010-12-18 17:18:38 +03:00
VladimirMangos
4302d925d6
[10890] Merge apply/remove cases for recently added dummy auras.
2010-12-18 16:15:24 +03:00
NoFantasy
781841baf1
[10889] Add dummy aura effect of spell 42517
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-18 10:00:03 +01:00