Commit Graph

2752 Commits

Author SHA1 Message Date
megamage
b7ec00d5a3 [7681] Check guid type before lookup request for seldom GO-caster case. Author: VladimirMangos
--HG--
branch : trunk
2009-04-17 15:21:53 -05:00
megamage
3d628d5298 [7679] More checks for creature EventAI loading at server startup. Author: NoFantasy
--HG--
branch : trunk
2009-04-17 15:18:03 -05:00
megamage
9af93fa834 [7674] Fixed check of DB script string ids from db_script_string at loading. Author: VladimirMangos
--HG--
branch : trunk
2009-04-17 15:16:19 -05:00
megamage
e5088b8522 *Use EventAI as default AIName for creatures without an AIName but with eventai scripts.
--HG--
branch : trunk
2009-04-17 15:10:43 -05:00
megamage
c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
Drahy
af935468df * Using trinity sql coding style
--HG--
branch : trunk
2009-04-16 23:01:21 +02:00
QAston
1a99740938 *Fix Nitro Boots-by throneinc
--HG--
branch : trunk
2009-04-16 22:55:59 +02:00
QAston
dca6d6bb01 *Use safer method to check if any auras were removed while aura update
--HG--
branch : trunk
2009-04-16 22:53:52 +02:00
megamage
fac5ed6e3b *Fix Pet Focus and Health Regen. By rvnth.
--HG--
branch : trunk
2009-04-16 15:51:20 -05:00
QAston
00e64ac82b *Remove auras with interrupt flags by expire-this allows them to proc(and fixes master of subtlety/overkill)
--HG--
branch : trunk
2009-04-16 22:11:35 +02:00
megamage
807cc460f8 *A temp fix for broken taunt spell.
*Note: sequence of applying effects is important for some spells.

--HG--
branch : trunk
2009-04-16 14:04:11 -05:00
Machiavelli
c920e5665d * Add loading of missing map field in ticket system, typo pointed out by Disassembler.
--HG--
branch : trunk
2009-04-16 17:44:46 +02:00
megamage
9bf4aaef2e *Fix a bug that npc's pet has too high level.
--HG--
branch : trunk
2009-04-15 20:19:47 -05:00
megamage
28f86fdcb0 *Allow non-warlock/hunter guardians to use pet level info table. This should fix the bug that water elemental does not have correct hp/mp.
--HG--
branch : trunk
2009-04-15 19:13:33 -05:00
megamage
f35a6b1363 *Fix more receive emote and disable the remaining ones, until someone is kind enough to do the work.
--HG--
branch : trunk
2009-04-15 19:12:22 -05:00
megamage
20344396b3 *Fix some receive emote. More to be fixed.
--HG--
branch : trunk
2009-04-15 19:01:51 -05:00
megamage
e9272c9e84 *Fix a typo of the last commit.
--HG--
branch : trunk
2009-04-15 19:01:32 -05:00
megamage
479b312e60 *Fix a typo.
--HG--
branch : trunk
2009-04-15 18:26:59 -05:00
megamage
74fc50e5d4 [7673] Fixed pet spell cooldown values send in Player::PetSpellInitialize to client. Author: VladimirMangos
--HG--
branch : trunk
2009-04-15 17:30:11 -05:00
megamage
c5310844db [7672] Move ReceiveEmote from script API to AI API. Author: VladimirMangos
This is also fix triggering ReceiveEmote for EventAI broken at it move to core.

--HG--
branch : trunk
2009-04-15 17:29:33 -05:00
megamage
bf7b203e86 [7670] Revert "Not apply/remove passive auras on aura state change (not need)" Author: Lightguard
This reverts commit d5f6eefd1bb3c64797e54d19cc58ccc8c4cf8a4f.

    Some 3.0.x talents not work without this like 44441

--HG--
branch : trunk
2009-04-15 17:24:01 -05:00
megamage
02003cc338 *Merge.
--HG--
branch : trunk
2009-04-15 17:20:54 -05:00
megamage
b76e8cfa5c *Rename a sql file.
--HG--
branch : trunk
2009-04-15 17:17:40 -05:00
megamage
5b124bf73f *Merge.
--HG--
branch : trunk
2009-04-15 17:14:17 -05:00
megamage
1f55614e70 *Remove duplicated TC1 sql.
--HG--
branch : trunk
2009-04-15 17:10:43 -05:00
megamage
905833f84e *Merge.
--HG--
branch : trunk
2009-04-15 17:06:38 -05:00
Drahy
e3bd7fed4e * Added gossip option related to quest 12791, 12794 and 12796 - Thx SD2 team
--HG--
branch : trunk
2009-04-15 21:40:09 +02:00
QAston
49b5e021ca *Correct formula for mana regen from items during 5SR.
--HG--
branch : trunk
2009-04-15 21:06:22 +02:00
QAston
7472580235 *Merge
--HG--
branch : trunk
2009-04-15 20:59:07 +02:00
QAston
8ca97f7bcb Backed out changeset 77ac33a3948b - it caused problems with some channeled spells (interruption)
--HG--
branch : trunk
2009-04-15 20:58:39 +02:00
QAston
441d042d5c *Set correct healing bonus for spells using coefficient.
*Always reapply aura mods as 'real' when adding aura to stack.
*Make blood frenzy expire when duration ends.
*Correct procflag for T.N.T once again.

--HG--
branch : trunk
rename : sql/updates/2685_world.sql => sql/updates/2702_world_spell_proc_event.sql
2009-04-15 20:34:52 +02:00
megamage
8e910aca6b *Merge.
--HG--
branch : trunk
2009-04-15 12:05:59 -05:00
megamage
8089219695 *Set creature's AIName to "EventAI" if it has event script.
--HG--
branch : trunk
2009-04-15 11:54:27 -05:00
megamage
fc2a30a53d *Fix broken creature ai in 2697.
--HG--
branch : trunk
2009-04-15 11:45:59 -05:00
Drahy
4fd5933e75 * Used trinity sql coding style
* Please Use Delete + Insert instead Ignore it will be better for this kind of data thx

--HG--
branch : trunk
2009-04-15 18:09:55 +02:00
Anubisss
c61ab4c9a0 Add missing sql for Unkor the Ruthless' script by thumsoul. Thank you.
--HG--
branch : trunk
2009-04-15 18:07:40 +02:00
raczman
4fb720c7d1 Update to creature formations.
This is a big merge, it may cause problems. Use with caution, report bugs.

--HG--
branch : trunk
2009-04-15 15:46:02 +02:00
megamage
07f41ee842 [7669] Some lost commented code patch for currencies trading item move to empty slot. Author: VladimirMangos
In fact it not change anything except GM item created trade:
    no currency items currently that not bind at picked up.

--HG--
branch : trunk
2009-04-14 21:09:38 -05:00
megamage
ceae9b8e0f [7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use. Author: VladimirMangos
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
      Like taunt, pet handler attack command.
    * Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
      Like non-dot damage, swing, negative spell landing, or fade fear/etc.
      And provided by default call AttackStart if no current target.

    This fix some problems, like:
    * Civilian will react propertly at attack by another creature (not pet or player).
    * Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.

*Note: AttackBy is still disabled until proved useful to TC.

--HG--
branch : trunk
2009-04-14 21:07:52 -05:00
megamage
3a65800218 [7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases. Author: VladimirMangos
Also send pointer to AI constructors ans mark constructors as explicit.

    This changes allow move now some generic often used AI code to CreatureAI helper functions.

--HG--
branch : trunk
2009-04-14 19:54:49 -05:00
megamage
4f4c6aeaf5 [7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName. Author: VladimirMangos
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.

--HG--
branch : trunk
2009-04-14 18:31:31 -05:00
megamage
9ec70b5e72 [7665] Include achievement data to pdumps. Author: Splash
--HG--
branch : trunk
2009-04-14 18:27:02 -05:00
megamage
07f48aa934 *Change some log info about grid.
--HG--
branch : trunk
2009-04-14 18:24:35 -05:00
megamage
16d44a589d *Rename some sql files. Please write table name in the future for better management.
--HG--
branch : trunk
2009-04-14 18:23:06 -05:00
megamage
2af6eb9882 *Fix a crash caused by memory corruption introduced in 2665.
--HG--
branch : trunk
2009-04-14 15:39:33 -05:00
Rat
c97a4519c5 *hyjal update
- despawn Anetheron's summons if boss is dead / despawned (wiped)
- same for Azgalor

--HG--
branch : trunk
2009-04-14 22:12:17 +02:00
Machiavelli
ad24fa7328 * Battleground update; change some datatypes, correct comment, minor tab -> space cleanup
--HG--
branch : trunk
2009-04-14 22:06:33 +02:00
Machiavelli
90c24efab4 * Fix issue with battleground queuing where core would first invite people who joined queue the latest
--HG--
branch : trunk
2009-04-14 21:49:56 +02:00
QAston
95b9404f6d *Refresh aura after effect handling to get correct amount for Chimera shot-viper
--HG--
branch : trunk
2009-04-14 20:59:10 +02:00
QAston
b966e63f73 *Fix Fan of Knives.
--HG--
branch : trunk
2009-04-14 20:21:16 +02:00