VladimirMangos
f73868a703
[11117] Allow for non-instancable maps have InstanceData and instance scripts.
...
* New table added for non-instanced maps (except BG/arena):
- `mangos`.`world_template` (script mapping to non instanced data)
- `characters`.`world` (saved script data string storage)
* InstancedData created for any map types including BGs/arenas, that allow have scripts
state for any maps, but BG/arena instance data not saved.
Note: Possible structures will renamed later for clarify apply to any type maps,
but avoid for now for simplify changes and hard affect to script library sources.
2011-02-08 04:15:13 +03:00
blueboy
332c4174d2
[11116] Fixed sql update guards data.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
silverice, please use git_id -s instead manual editing for sql updates ;)
2011-02-07 14:34:11 +03:00
SilverIce
50e681146e
[11115] Implement .gm setview command
2011-02-07 04:14:09 +02:00
SilverIce
b2d81eae1b
[11114] Reset camera view at removing from world
...
this helps us to clean reference between viewpoint and camera in some cases
2011-02-07 03:50:04 +02:00
VladimirMangos
8069cf09d2
[11113] Fixed spell effects with target pair (18, need_dest_target_set)
...
Like spells expected always caster object (unit/gameobject coordinates set as dest point).
2011-02-07 03:47:40 +03:00
VladimirMangos
abbd2f09be
[11112] Implement use cooldown check for trap/goober gameobjects.
2011-02-07 03:45:01 +03:00
VladimirMangos
b120464db7
[11111] Missing end lines in 2 files.
2011-02-07 00:57:11 +03:00
VladimirMangos
9f733f80eb
[11110] Drop unused local vars
2011-02-07 00:32:44 +03:00
VladimirMangos
caf9f0cae2
[11109] Move DoMeleeAttackIfReady to CreatureAI and reuse more wide.
2011-02-05 21:20:21 +03:00
NoFantasy
d1007e49ca
[11108] Add (parts of?) dummy aura for spell 56422
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-05 11:31:05 +01:00
VladimirMangos
8c5ce115c9
[11107] Fixed possible crash in CreatureEventAI melee attack proccessing.
...
Added target check to CreatureEventAI::DoMeleeAttackIfReady,
but crash possible as result proccesing in caller function before melee attack
different EventAI events that possible can remove combat state or target.
2011-02-05 03:24:21 +03:00
mns
2f1410f1ff
[11106] Fixed BG buffs event id in code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-03 02:54:35 +03:00
Schmoozerd
8e68d1bcaf
[11105] Melee attacks distance
...
Inspired by patch provided by Feanordev.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-03 01:25:32 +03:00
Schmoozerd
aa4c1be8cf
[11104] Update model data dependent from unit scale in .modify scale
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-02 21:36:12 +03:00
VladimirMangos
f09a4e2a1a
[11103] Fixed item 40775 mount work
...
* Move code to dummy aura (main spell mount aura not applied yet in time scripting effect processing)
* Use special mount spell selection helper instead raw code.
2011-02-02 20:28:11 +03:00
VladimirMangos
44cb8b6dd4
[11102] Provide for mount helper function parent spell data.
...
This let skip for triggered spell redundent (like cast time) info.
2011-02-02 20:04:40 +03:00
VladimirMangos
cd3d815df6
[11101] Skip casting time for casts triggered by parent aura/spell.
...
Possible not need another (old) checks except this.
2011-02-02 19:58:19 +03:00
VladimirMangos
06cebecd50
[11100] Avoid send SMSG_DISMOUNT for non aura source mount state.
...
This fix problem with lost mount show at multi-node taxi path.
Thanks to blueboy for research problem.
2011-02-02 17:33:19 +03:00
NoFantasy
6f74fa1be8
[11099] Add script effect of spell 24720
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 12:32:50 +01:00
NoFantasy
abb7c64fb1
[11098] Add script effect of spell 24717 and 24737
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:53:14 +01:00
NoFantasy
a23f1a2e08
[11097] Add script effect of spell 24718
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:40:24 +01:00
Morphau
65ad0231e7
[11096] Add script effect of spell 24719
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:31:02 +01:00
Schmoozerd
c05f910484
[11095] Add dummy effect of spell 68839
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 10:13:26 +01:00
zergtmn
ad64af1fdb
[11094] Fix some C6246 warnings
2011-02-01 23:15:04 +05:00
Schmoozerd
343edf3c6c
[11093] Limit maxtargets for spell 68950
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-01 14:34:57 +01:00
virusav
beeec1c0cd
[11092] Add script effect of spell 24194 and 24195
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-01 14:07:26 +01:00
VladimirMangos
b106ec92f6
[11091] In similar way with prev commit rename extarctor sources magic string.
2011-02-01 05:38:38 +03:00
VladimirMangos
b315362b22
[11090] Clarify use diff vmap magic strings.
2011-02-01 05:27:47 +03:00
VladimirMangos
deb31679bf
[11089] Move vmap files version magic string to single place in vmap_extractor_v3
...
No functional chnages in extractor.
2011-02-01 04:45:28 +03:00
NoFantasy
d4304d471d
[11088] Add missing equipment for spell 41101
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-31 10:14:02 +01:00
NoFantasy
38758b31a1
[11087] Add missing equipment for spell 53790
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-31 10:02:06 +01:00
VladimirMangos
8ee7139de6
[11086] Store vmap file version magic string in single place.
2011-01-31 06:26:13 +03:00
Lynx3d
dcec49055d
[11085] Also disable related cast check when vmap.enableIndoorCheck disabled.
...
Note: spells are also blocked at client side, so they can only be used with .cast command
2011-01-31 01:35:14 +01:00
NoFantasy
f98a9e4eee
[11084] Add dummy auras for spells 53790,53791,53792 and 41099,41100,41101
...
Note: two of them are still missing data for equipment.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-30 16:48:47 +01:00
NoFantasy
e3e6811740
[11083] Add dummy aura effect of spell 52098
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-30 00:16:35 +01:00
zergtmn
26dc35f356
[11082] Correct meaning of two threat/aggro related spell attributes
...
- SPELL_ATTR_EX_NO_INITIAL_AGGRO renamed to SPELL_ATTR_EX_NO_THREAT
- SPELL_ATTR_EX3_UNK17 renamed to SPELL_ATTR_EX3_NO_INITIAL_AGGRO
- Remove custom spell modifier from talent 30675 and ranks handler
2011-01-29 21:57:40 +05:00
NoFantasy
3251f39684
[11081] Beautify some SQL log queries and remove not needed enclose character
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-29 10:40:36 +01:00
VladimirMangos
117991076d
[11080] Restore optional use delta arg in .modify reputation
2011-01-29 08:40:55 +03:00
VladimirMangos
3570dcf74e
[11079] Cleanup for range use in monster say
2011-01-29 06:40:09 +03:00
Lynx3d
3f913454e4
[11078] Implement a better approximation for vmap liquid levels with diverging "up" directions.
...
Okay, so game designers CAN fool gravity...I bet they can tilt their cup without spilling the coffee IRL too :p
Only way to do it precisely would be to generate a polygon mesh from the height map and resort to (much slower) raytracing.
2011-01-29 03:40:35 +01:00
VladimirMangos
2fd536fe43
[11077] Game event fixes and condition improvments.
...
* At game events table loading checked not only allowed event ids range but also event existance.
* Renamed CONDITION_ACTIVE_EVENT -> CONDITION_ACTIVE_GAME_EVENT
* Implemented new conditions:
- CONDITION_NOT_ACTIVE_GAME_EVENT
- CONDITION_ACTIVE_HOLIDAY
- CONDITION_NOT_ACTIVE_HOLIDAY
Recomended use holiday version where possible as more portable.
2011-01-28 23:48:52 +03:00
NoFantasy
84dd2e4393
[11076] Override radius for TARGET_DYNAMIC_OBJECT_* (47-50)
...
When effect radius index is 0, spell max range is useless and we need to handle these as 0.0 radius.
This will fix summoning spells where object is summoned too far away from the expected.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-28 19:00:10 +01:00
NoFantasy
9bf384cefa
[11075] Add models for spell 71450
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-28 11:51:01 +01:00
zergtmn
d30a757e86
[11074] Fix structure of MSG_MOVE_TELEPORT_ACK
2011-01-27 00:31:46 +05:00
Lynx3d
6fbf464786
[11073] Prevent applying SPELLMOD_DURATION for summons with unlimited duration.
...
Fixes summon duration of spell 70908 in combination with talent 44557 and ranks.
2011-01-26 03:00:48 +01:00
NoFantasy
47ef4eca32
[11072] Remove SetCreatorGuid for wild summoned creatures.
...
If any exceptions exist where this field must be set, please inform in forums :)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-25 20:59:25 +01:00
NoFantasy
c54ae28ac2
[11071] Some improvements to summon location of wild summoned
...
Not using a hard coded radius, instead summon at location where radius is 0 (or the actual radius).
Does only affect spells without TARGET_FLAG_DEST_LOCATION set (and the majority of those spells with implicit target 18)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-25 20:14:58 +01:00
zergtmn
c9fc5727fc
[11070] Correct meaning of one field in MSG_MOVE_TELEPORT_ACK packet
2011-01-25 22:45:36 +05:00
Schmoozerd
5951d77a0d
[11069] Set aggro for player controlled units only at zone aggro.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 14:13:08 +03:00
mns
d699d0973b
[11068] Prevent infinity creature fall at fail get heght.
...
Also fix wrong use INVALID_HEIGHT as height value.
It must be used only for _check_ height, and DON'T must use as real height value.
Must fix some wrong height check results.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 01:17:53 +03:00