Commit Graph

7776 Commits

Author SHA1 Message Date
thenecromancer 1fa2fbc658 Fix wrong condition in previous commit, sorry for that
--HG--
branch : trunk
2010-04-05 13:18:14 +02:00
thenecromancer a1db8825d4 Use unit target by default (script targets will send self flag usualy)
Fixes quite some new issues like #1466

--HG--
branch : trunk
2010-04-05 13:15:21 +02:00
thenecromancer fc3a1a3a21 Merge
--HG--
branch : trunk
2010-04-05 13:09:57 +02:00
thenecromancer 0218e45565 Always add CC unit state to allow restoring CC effects if one expires (stun in case of root/confuse, and fear in case of everything else)
Fixes issue #1468

--HG--
branch : trunk
2010-04-05 13:09:28 +02:00
XTZGZoReX 7c277c87d8 * Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor.

--HG--
branch : trunk
2010-04-05 13:08:47 +02:00
silverice a795a1110c probably fix crash with boss_paletressAI::MovementInform
to our script writers: please, turn on the brain

--HG--
branch : trunk
2010-04-05 13:50:13 +03:00
malcromdev@gmail.com> ce1280627d Add option maxPercentHealth to item_required_target to allow setting health percentage a target must be at before item use on item_required_target is allowed. This will allow better scripting of quest item use on some creatures.
--HG--
branch : trunk
2010-04-05 02:05:26 -02:30
_manuel_ 160666fa00 Fixed faction issue with vehicles in BattleGrounds. Thanks to Gyullo for help and Rat for idea.
--HG--
branch : trunk
2010-04-04 20:00:07 -03:00
_manuel_ a5c09f5d44 Corrected Ferocious Inspiration entry.
--HG--
branch : trunk
2010-04-04 14:54:11 -03:00
malcromdev@gmail.com> 2e6ca81365 Fix typo
--HG--
branch : trunk
2010-04-03 22:48:11 -02:30
malcromdev@gmail.com> 848dafd3ac Add MaxAffectedTargets=1 to shoot spells 25425,25761,42611
--HG--
branch : trunk
2010-04-03 22:40:07 -02:30
silverice 5dfcccdd85 correct movement packet broadcasting
mover should be source of movement packets, not player
   resolves problem that movements of controlled unit not visible for nearby players
   (you can detect it only when controlled unit too far from player-controller)

--HG--
branch : trunk
2010-04-04 03:46:38 +03:00
Trazom62 917193eda5 Fix Fishing skill in low level zones, where the zone_skill is < 0. The formula was not correct for those cases.
Fixes isssue #1387.

Note: junk loot is still not yet implemented.

--HG--
branch : trunk
2010-04-04 00:30:11 +02:00
_manuel_ ffd133388a Merge
--HG--
branch : trunk
2010-04-03 13:40:05 -03:00
_manuel_ b835df6153 Implemented more stack rules for player spells. See --> pastebin.com/8LHknLgr
Thanks to QAston.

--HG--
branch : trunk
2010-04-03 13:34:03 -03:00
malcromdev@gmail.com> 85d3dc8b71 Valiance keep Cannoneer script to activate cannon.
--HG--
branch : trunk
2010-04-03 14:01:00 -02:30
Trazom62 bcfd44f978 Fix Script HoL/Ionar.
Fixes issue #1132.

--HG--
branch : trunk
2010-04-03 16:51:56 +02:00
silverice 1f477b49c3 handle CMSG_REQUEST_VEHICLE_SWITCH_SEAT opcode
thanks to havenard for packet structure, closes issue #1439
also added vehicle guid check

--HG--
branch : trunk
2010-04-03 16:59:52 +03:00
Trazom62 6917c057de Fix compile.
Fixes issue #1443.

--HG--
branch : trunk
2010-04-03 14:17:33 +02:00
Machiavelli 2708b757e8 Fix SMSG_GMTICKET_GETTICKET structure, by havenard. Closes issue #1419
--HG--
branch : trunk
2010-04-03 13:41:28 +02:00
thenecromancer 18b30b5f18 Fix periodic heal log (correctly display critical heal tick)
--HG--
branch : trunk
2010-04-03 12:43:36 +02:00
thenecromancer 71082bd48b Change pull effects speed calculations to work more or less correctly ( no more flying really high )
--HG--
branch : trunk
2010-04-03 12:41:12 +02:00
thenecromancer aa31f350b3 Fix waypoint movement removing flying animation for creatures
Fix flying creatures always moving forward ( maybe use flag only when really moving? )

--HG--
branch : trunk
2010-04-03 12:39:02 +02:00
thenecromancer e50b04f657 Fix issue #1437, don't remove passive auras if they're triggering spell that fails for whatever reason
--HG--
branch : trunk
2010-04-03 12:32:11 +02:00
Trazom62 6b6ee726dd Script Instance Pit of Saron.
First basic script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC).
Still WiP with lots of work. In particular, the faction based npc/mob will have to be fixed when they will be spawned in TDB.
Fixes issue #1308.

--HG--
branch : trunk
2010-04-03 09:04:02 +02:00
Trazom62 c6b8602619 Fix Hymn of Hope. Thanks Proof.
Fixes issue #1322.
Fixes issue #1428.

--HG--
branch : trunk
2010-04-03 08:22:04 +02:00
Machiavelli 6dedf65e3e Fix calculation of partial resistance cases, by Tlexii.
--HG--
branch : trunk
2010-04-03 03:59:41 +02:00
_manuel_ 77a6c20e12 Implemented:
* Script at_aldurthar_gate for quests 13315 and 13351.
* Script at_warsong_farms for quest 11686.
* Script at_stormwright_shelf for quest 12741.

Code from ScriptDev2.

Before execute sql updates, apply TDB fix. New Fix Submissions > Core related DB content

--HG--
branch : trunk
2010-04-02 16:13:05 -03:00
_manuel_ 21a5f99201 Corrected gossip script npc_hira_snowdawn. Thanks to wowgargamel.
--HG--
branch : trunk
2010-04-02 14:46:11 -03:00
Brian c86b228668 * Removed check for SSL version requirement of .98k or higher (works just fine
* with .98e).
* Thanks raczman for testing.

--HG--
branch : trunk
2010-04-02 10:56:30 -06:00
Anubisss 08b4748e62 Use GUIDs instead of "global" pointers in zone scripts.
This commit is like that: 7714 / rce505237e4aa

And use const_iterators where it is possible.

--HG--
branch : trunk
2010-04-02 15:41:37 +02:00
malcromdev@gmail.com> 7c4f2f520f Fix Go type 10 spell handling by QAston
--HG--
branch : trunk
2010-04-01 20:08:22 -02:30
malcromdev@gmail.com> 3b389b8aa2 Spells 42442 & 45863 should be limited to 1 target.
--HG--
branch : trunk
2010-04-01 18:14:04 -02:30
Brian 8ddcc2985c * Merge
--HG--
branch : trunk
2010-04-01 12:56:52 -06:00
Brian 0b38c48ec9 * To make the game easier, we have decided to remove all movement from NPCs
* If we get the positive response we are expecting, we will remove spells
* next.
* Just imagine, finally being able to get that T10 gear you wanted!
* Thanks to Nayre for the idea
* Thanks to Machiavelli and Trazom for help implementing

--HG--
branch : trunk
2010-04-01 12:56:26 -06:00
Anubisss f78b766705 Use ToTempSummon() in a case instead of a C style cast.
Use correct Unit::GetCreature() instead of Unit::GetUnit() with casting the object to Creature pointer.
Remove some usless casts.
Fix a possible crash in pyrewood_ambushAI.

TODO: Remove ugly cast macros(like CAST_PLR(), CAST_CRE()) from scripts and use the correct ToX() functions(like ToPlayer(), ToCreature()).

--HG--
branch : trunk
2010-04-01 19:09:56 +02:00
_manuel_ 9f544d2f93 Implemented script for vendor/trainer Hira Snowdawn.
--HG--
branch : trunk
2010-04-01 12:58:02 -03:00
Anubisss ab4c7cbd98 Fix a typo in friends list and ignore list loading.
This fixes the bugs which appear when you have more than 50 entries on friends or ignore list.
For example: You have 40 friends and 20 ignores, it's 60. But the core loads just 50 entries so some of them not loaded.
Fixes issue #134.

Patch by johnholiver.

--HG--
branch : trunk
2010-04-01 17:28:59 +02:00
Trazom62 e280d4e45b Fix Script Grand Magus Telestra to reappear when the 3 adds are killed.
Fixes issue #1382.

--HG--
branch : trunk
2010-03-31 00:12:49 +02:00
Trazom62 7cc192e973 Fix Skinning where there is no loot on creature.
Fixes issue #1174.

--HG--
branch : trunk
2010-03-30 23:39:18 +02:00
malcromdev@gmail.com> 83500cb1e4 Added SCRIPT_COMMAND_MODEL 32 Allows changing of npc model in db scripts.
--HG--
branch : trunk
2010-03-30 19:01:25 -02:30
Anubisss 82686437fb Fix a typo in Keristrasza's script. Patch by havenard, #1373.
--HG--
branch : trunk
2010-03-30 21:38:03 +02:00
Brian ed40fed971 * Remove remaining obsolete client version checks from AHbot
--HG--
branch : trunk
2010-03-30 12:05:48 -06:00
Brian 00bb3d5cb7 * Allow AHbot to pull items from reference_loot_template for auction.
* Credits to click
* Remove no longer needed check for non-supported client versions for loot
* Generation

--HG--
branch : trunk
2010-03-30 12:01:37 -06:00
Anubisss b66f312888 Break spells on damage in some aura types.
This commit fixes spell Repentance(20066).

Patch by QAston, thanks to him.

--HG--
branch : trunk
2010-03-30 15:49:59 +02:00
malcromdev@gmail.com> 66f5d749c0 Added script command 31 SCRIPT_COMMAND_EQUIP inables an npc to change weapons in TC scripts.
--HG--
branch : trunk
2010-03-29 17:45:08 -02:30
XTZGZoReX d3fdb24f1e * Remove an old dumb hack.
--HG--
branch : trunk
2010-03-29 21:47:07 +02:00
Trazom62 c1678a9ab8 Fix crash in Mal'Ganis script + cleanup.
Fixes issue #1347. Thanks Johnholiver.

--HG--
branch : trunk
2010-03-28 11:06:19 +02:00
Tartalo 756e3e3bec Merge
--HG--
branch : trunk
2010-03-27 23:51:33 +01:00
Tartalo 691a1f3974 Fix typo, thanks ramses@cyberlost.com
Fixes issue #1341.
Fixes issue #1344.

--HG--
branch : trunk
2010-03-27 23:50:44 +01:00