kaelima
6ca1487c48
Core/SmartAI: Fix target type SMART_TARGET_CLOSEST_PLAYER
2011-10-25 21:43:24 +01:00
kaelima
199bcf1a88
Core/SmartAI: Allow SMART_ACTION_FOLLOW to take 0 values for dist and angle - will set them to their "default" following values.
2011-10-25 19:08:21 +01:00
kaelima
f2000f3fb5
Core/Misc: Some minor cleanups
...
Fixed SQL added in prev commit.
2011-10-24 23:33:17 +01:00
kaelima
3a3af64f68
Core/SmartAI:
...
- Fixed some issues with SMART_ACTION_SET_FLY (#1073 )
- Fixed allowing 0 as input for SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST (#2680 )
- Some cleanup
2011-10-24 23:21:34 +01:00
megamage
0ac431f52d
Fix a crash caused by spell 49065. Close #3646 .
2011-10-24 16:54:52 -04:00
Shocker
10bca6c268
Merge pull request #3596 from ille/master
...
use effectMask to calculate mechanicMask in ModSpellDuration
Closes #1599
2011-10-24 10:43:47 -07:00
Fredi
a8d20d5da8
Script/Commands: Codestyle and cleanups
2011-10-24 08:35:33 -02:00
Shocker
ce034bd544
Core/SmartAI: Delay spell cast events (SMART_ACTION_CAST) when another spell is already being casted.
...
Idea by ET
2011-10-23 21:34:50 +03:00
Nay
fec3db6e5d
Core/SAI: Fix event phases when phase > 2
...
Again, phase ids != phase masks
2011-10-23 17:50:31 +01:00
Nay
5f58965fad
Tiny typo on previous commit.
2011-10-23 13:01:04 +01:00
Geekotron
c2125ece3b
Core/SAI: Add SMART_ACTION_SEND_GOSSIP_MENU.
...
It allows the scripter to change the gossip (and gossip menu option) of a creature with SAI
Param1 = `gossip_menu`.`entry`
Param2 = `gossip_menu_option`.`id`
2011-10-23 12:59:08 +01:00
Machiavelli
70c2f9e796
Merge pull request #3575 from bytewarrior/master
...
Core/Mechanic: Fixed wrong target level at resist chance calculation.
2011-10-23 04:22:18 -07:00
Machiavelli
3a713eef7e
Merge pull request #3587 from Fredi/check
...
Core/Commands: Added security check in .damage
2011-10-23 04:16:53 -07:00
Elron103
84a6417a4e
Core/Quests: Fix pooling system causing wrong questrelations
...
Closes #3101 (probably few others)
2011-10-23 12:11:38 +01:00
Discover-
5a12fb9964
DB/SAI: Convert quest The Dwarven Spy from scripts to SAI
...
Closes #2923
Closes #3109
2011-10-23 12:04:33 +01:00
Discover-
fe3f19148a
DB/SAI: Convert quests Survey the Land & Illidan's Pupil from core scripts to SAI (and fix them properly)
...
Closes #3060
2011-10-23 11:10:58 +01:00
Nay
8e2440133e
DB/SAI: Convert quests 10987, 10107, 10108, 9918, 9849 from core scripts to SAI
...
Closes #1544
Closes #3055
Closes #3056
Closes #3058
Closes #3059
2011-10-23 11:00:56 +01:00
Lopin
9592bc6082
Merge pull request #3632 from Poli93/master
...
Scripts/ToC: Fixed number of targets of Penetrating Cold in Anub'arak's encounter
2011-10-23 01:27:24 -07:00
kaelima
120d4f45dd
DB/SAI: Fix some Hallow's End quests
...
- Flexing for Nougat (8359,8356)
- Incoming Gundrop (8358,8358)
- Dancing for Marzipan (8360,8360)
- Chicken Clucking for a Mint (8354,8353)
Ty Kaopeira
2011-10-23 04:29:44 +01:00
jon
aaf585aa42
Fix Anub'arak casting Penetrating Cold on 5 players in 10 man raid
2011-10-23 00:14:18 +02:00
Discover-
fc174912f4
DB/Conditions: Fix quest Returning the Favor
...
Closes #3035
Also fix build (not enough Ctrl+S)
2011-10-22 17:48:09 +01:00
Nay
26b3e62b26
Scripts/Nagrand: Add a quest incomplete check in go_warmaul_prison (previous commit).
...
Thanks @Retriman
2011-10-22 17:38:26 +01:00
Discover-
8cc6750388
Scripts/Nagrand: Fix quest Finding The Survivors
...
Closes #442
Closes #3033
2011-10-22 17:33:12 +01:00
Discover-
6e1107f5fc
Scripts/Nagrand: Fix quest Totem of Kar'dash
...
Closes #3032
2011-10-22 17:30:53 +01:00
megamage
91f56c181c
More cleanup of grid system.
2011-10-22 10:01:29 -04:00
megamage
80a18b9e56
Some cleanup of grid system.
2011-10-22 09:36:05 -04:00
Nay
362b528bbb
Scripts/Quests: Fix quest What Do You Feed a Yeti, Anyway? (14112,14145)
...
Closes #2975
2011-10-22 13:18:17 +01:00
Discover-
31802e138b
DB/SAI: Fix quest A Meeting With The Magister and An Audience With The Arcanist
...
Closes #1092
Closes #2958
2011-10-22 11:57:41 +01:00
megamage
c9c5c2a355
Use read/write thread mx guard instead of general guard for HashMapHolder.
2011-10-21 17:29:09 -04:00
kaelima
5fdde0da73
Core/Spells: Move Shadowfiend's passive aura to creature addon.
...
Partly reverts ddec56b3e0
2011-10-21 14:05:40 +01:00
Nay
361b447f62
Core/Quests: Update Quest::IsAutoComplete
...
(Fixes an issue with "Candy Bucket" quests)
Closes #3554
Closes #3569
2011-10-20 17:53:46 +01:00
ille
5514523a7c
use effectMask to calculate mechanicMask in ModSpellDuration
2011-10-20 18:28:37 +02:00
Liberate
ddec56b3e0
Core/Spells: Fix shadowfiend.
...
Fixes #3285
2011-10-19 23:30:25 +02:00
Liberate
a658d0b592
Core/Spells: Define and implement SPELL_ATTR4_PROC_ONLY_ON_DUMMY.
...
Fixes #2685
Fixes #2573
2011-10-19 22:08:54 +02:00
Fredi
a34a90ad87
Core/Commands: Added security check in .damage
2011-10-19 15:44:26 -02:00
Liberate
1431a5d15c
Core/Spells: Revert d7e0190726 and solve it differently.
...
All totems have TARGET_UNIT_CASTER as implicit target except from Wrath of Air and Flametongue.
To make Glyph of Totem of Wrath work again modified these 2 totems to be the same as the other totems.
This still makes the 2 totems not stackable.
Fixes #3293
2011-10-19 18:35:21 +02:00
kaelima
be0b2fcf97
Core/Grid:
...
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
Liberate
d7e0190726
Core/Spells: Check to see if a totem has a passive aura. If so: Add the aura directly, if not: Cast the spell.
...
Fixes #3264
Fixes #3294
2011-10-19 14:00:59 +02:00
Liberate
b268b51d0e
Core/Spells: Add Block Value cap to Shield Slam and Shield of Righteousness.
...
Fixes #599
Fixes #2119
2011-10-19 13:00:22 +02:00
Liberate
8f8949fcf0
Core/Spells: Spells with the self-cast range should not have a range check. This range used for many triggered spells.
...
Fixes #3358
2011-10-19 00:24:43 +02:00
Liberate
6d12deb5b5
And a forgotten change. Sorry for this, I guess it's a welcome back present for me... Thanks tobmaps for pointing this out.
2011-10-18 23:49:46 +02:00
Liberate
8cc13ff838
And I forgot to turn on tabs to spaces. Also fixed...
2011-10-18 23:38:55 +02:00
Liberate
89bae3b51c
Core/Spells: Add a new stack rule for spellgroups: SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT
...
This stack rule makes the effects of the spells in the spellgroup non-stackable, but the spells/auras itself are stackable.
a spell should be in only 1 group with this stack rule.
Fixes #2243
2011-10-18 23:27:39 +02:00
Liberate
fd45c111b0
Core/Grid: Fix a typo in e0d933fed8. Grids should work correctly again. Thanks Kaelima.
2011-10-18 23:16:33 +02:00
megamage
7231ab959f
Clean up grid system. Get rid of GridLoader. This patch should not change any logic, except the incorrect calculation of the number of loaded corpse (which only affects log).
2011-10-18 14:31:34 -04:00
Spp
bb64e64463
Compile Fix
2011-10-18 17:55:21 +02:00
megamage
ffdfd9252b
More clean up of grid system.
2011-10-18 11:51:30 -04:00
megamage
e27ef59548
Clean up grid system: allow directly creating Cell from x, y.
2011-10-18 11:18:49 -04:00
megamage
e0d933fed8
Use method IsCoordValid() to replace explicit checks.
2011-10-18 11:05:32 -04:00
megamage
c29ff41001
Rename some classes in grid system.
...
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00