Commit Graph
100 Commits
Author SHA1 Message Date
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
QAston 7d2e5c31a8 *Fix Haunting Spirits.
--HG--
branch : trunk
2009-04-14 20:04:01 +02:00
QAston 6c44316d8e *Correct positivity of some spells
--HG--
branch : trunk
2009-04-14 19:09:08 +02:00
Machiavelli ecbaf6483d * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:48:58 +02:00
Machiavelli 348339770e * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:29:54 +02:00
QAston e7ac066211 *Correct procflags for T.N.T
--HG--
branch : trunk
rename : sql/updates/2662_world.sql => sql/updates/2685_world.sql
2009-04-14 17:27:05 +02:00
QAston 829b7a4536 *Fix power update after spellcast - by w12x
*Some cleanups in Player::UpdateManaRegen.

--HG--
branch : trunk
2009-04-14 17:22:35 +02:00
raczman cebdaeb68e Merge
--HG--
branch : trunk
2009-04-14 15:42:26 +02:00
raczman f428765065 Fix build on windows.
--HG--
branch : trunk
2009-04-14 15:41:59 +02:00
Rat ca37a73661 *small visual fix for Reliquary of Souls
--HG--
branch : trunk
2009-04-14 15:06:53 +02:00
raczman 408bb461b3 Add sql update for creature respawn linking.
--HG--
branch : trunk
2009-04-14 14:45:05 +02:00
raczman def6071b8f Small update to creature respawn - by Iskander
--HG--
branch : trunk
2009-04-14 14:43:28 +02:00
raczman a712170758 Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
Machiavelli 2b52663e42 Ticket system changes by Disassembler: (TC1 rev 1358)
- Change uint16 closed guid to uint64
- Add createtime field

--HG--
branch : trunk
2009-04-14 12:38:12 +02:00
Machiavelli 37f8ee0680 * Fix build 1358, my apologies
--HG--
branch : trunk
2009-04-14 03:55:28 +02:00
megamage 2104356342 *Merge shadowfang keep scripts from SD2 at the request of ACID dev. Author: nofantasy.
--HG--
branch : trunk
2009-04-13 20:46:10 -05:00
megamage 33337a29d2 *Fix build.
--HG--
branch : trunk
2009-04-13 20:33:32 -05:00
Machiavelli e2a4b4d178 Ticket system changes by Disassembler:
- Change uint16 closed guid to uint64
- Add createtime field

--HG--
branch : trunk
2009-04-14 01:27:43 +02:00
megamage 7b6548f2d1 *Make AuraEffect::Update virtual.
--HG--
branch : trunk
2009-04-13 18:21:48 -05:00
megamage 57b33b244f *Add Aura::m_tickNumber to handle some script spells.
--HG--
branch : trunk
2009-04-13 18:15:26 -05:00
megamage c5c6b4ff1b *Use function RandomResizeList to resize spell target list.
--HG--
branch : trunk
2009-04-13 18:03:58 -05:00
megamage 25f71813c5 *Update moveinLOS assistance code.
--HG--
branch : trunk
2009-04-13 18:03:28 -05:00
megamage 6b11f9a511 *Call new function InitializeAI() instead of Reset() to do one-time work.
--HG--
branch : trunk
2009-04-13 17:53:09 -05:00
megamage df35e1ad2b [7663] Cleanup spell interrupt code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-13 17:36:37 -05:00
megamage 3a2e58f81a [7662] Spell power coefficients for talent 48505 and ranks. Author: nos4r2zod
--HG--
branch : trunk
2009-04-13 17:28:44 -05:00
megamage cf37e7ca4c [7661] Fixed problem with not remove health regeneration from polymorph. Author: False.Genesis
Also fixed problem with remembering transform spell in case possible stacked negative and positive transforms.

--HG--
branch : trunk
2009-04-13 17:27:23 -05:00
megamage 2143074280 [7659] Added several security checks to prevent cheating using facked packets Author: arrai
--HG--
branch : trunk
2009-04-13 17:21:59 -05:00
megamage 53d37935a9 [7658] Drop dead code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-13 17:21:17 -05:00
megamage a5834f2008 *Merge.
--HG--
branch : trunk
2009-04-13 17:18:33 -05:00
megamage ce9f023a96 *Only let creatures in combat enterevademode when stopping grid.
--HG--
branch : trunk
2009-04-13 17:11:23 -05:00
Rat 30efb6ff7f *fix Shade of Akama event reset bugs
*code cleanup/update

--HG--
branch : trunk
2009-04-13 22:21:53 +02:00
QAston 0583b4bd04 *Prevent item trade exploit - by Iskander.
*Do not set cooldown for triggered spells.
*Do not allow to kill unit twice.

--HG--
branch : trunk
2009-04-13 21:59:44 +02:00
QAston ae7bfa3ae2 *Rolback changes to player.cpp pushed by mistake.
--HG--
branch : trunk
2009-04-13 20:53:31 +02:00
QAston f46d1b3b81 *Add some debug info to procflag
*Fix Sudden Death.

--HG--
branch : trunk
2009-04-13 20:50:52 +02:00
QAston b972327979 *Fix healing amount for Haunt
--HG--
branch : trunk
2009-04-13 19:51:37 +02:00
megamage 52571d6d48 *Fix a 100% crash that pet is killed by DOT.
--HG--
branch : trunk
2009-04-13 12:11:36 -05:00
QAston 064866bdfe *Missing file from latest commit"
--HG--
branch : trunk
2009-04-13 19:04:19 +02:00
QAston a13e6537e9 *Fix T.N.T proc chance
--HG--
branch : trunk
2009-04-13 18:56:29 +02:00
Anubisss e15ae448c3 Better way for allow GMs(in gm mode on) to see invisible or stealthed players by Machiavelli. Thank you.
--HG--
branch : trunk
2009-04-13 18:07:26 +02:00
Rat dd93679f5f *fixed essence of suffering (reliquary of souls)
--HG--
branch : trunk
2009-04-13 17:08:24 +02:00
XTZGZoReX 83bc37cd37 * Fixed extractor compile.
--HG--
branch : trunk
2009-04-13 16:24:19 +02:00
QAston 99e944f195 *Do not check aurastates for triggered spells
--HG--
branch : trunk
2009-04-13 16:18:19 +02:00
Rat 6b7d0c7cfe *hyjal update
-reset boss damage at boss reset
-minimal player dmg for bosses changed to min 25% (until someone confirms a better value)
-count pet dmg as player dmg into boss min dmg

--HG--
branch : trunk
2009-04-13 16:13:22 +02:00
QAston beab3e0125 *Fix some problems with ProcFlag
--HG--
branch : trunk
2009-04-13 15:52:59 +02:00
QAston cbc6269b47 *Some cleanup in aura range checks.
--HG--
branch : trunk
2009-04-13 14:15:48 +02:00
QAston 249405abea *Remove unneeded code for hanner of wrath and execute.
--HG--
branch : trunk
2009-04-13 13:39:17 +02:00
megamage 392317aba3 Add name for WorldMapArea.dbc field Author: DiSlord
--HG--
branch : trunk
2009-04-12 17:42:16 -05:00
megamage c1c5a707ff [7657] Implement function for access to gameobject owned by unit and created by some spell. Author: VladimirMangos
--HG--
branch : trunk
2009-04-12 17:41:46 -05:00
megamage ce8b6ca354 [7656] Implement hack way detection for more cave and not cave areas at new continent. Author: VladimirMangos
--HG--
branch : trunk
2009-04-12 17:41:09 -05:00
megamage 772e0eb722 *Try to fix the crash caused by aura update (only add two return after m_target->RemoveAura(this))
--HG--
branch : trunk
2009-04-12 17:25:12 -05:00
megamage 785dc69318 *Merge.
*One rev skipped:  Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.

--HG--
branch : trunk
2009-04-12 16:51:46 -05:00
megamage 3f97137ce9 *Remove an outdated file from TC1.
--HG--
branch : trunk
2009-04-12 16:49:43 -05:00
megamage 476b7ee949 *Two revs are skipped.
--HG--
branch : trunk
2009-04-12 16:48:31 -05:00
megamage f971caf4bf *Merge.
--HG--
branch : trunk
2009-04-12 16:46:59 -05:00
megamage 5032bd159c *Add better debug log for grid state.
--HG--
branch : trunk
2009-04-12 16:44:44 -05:00
megamage 74977d73f3 *Do not allow chase/follow self.
--HG--
branch : trunk
2009-04-12 16:32:03 -05:00
XTZGZoReX 9787e5f578 * Merge.
--HG--
branch : trunk
2009-04-12 23:08:25 +02:00
XTZGZoReX bfafd879a1 * eventai_texts -> creature_ai_texts -- as requested by X-Savior.
--HG--
branch : trunk
2009-04-12 23:07:27 +02:00
Rat a8a0a03b1b *hyjal update
-lowered raid damage to 700k
-added horde base cleaning wave (watch out for infernal rain)

--HG--
branch : trunk
2009-04-12 19:49:23 +02:00
megamage 164467d251 *Fix the bug that minipet does not follow owner.
--HG--
branch : trunk
2009-04-12 12:15:25 -05:00
QAston 9c29a7aafe Correctly chose target for shadowflame
--HG--
branch : trunk
rename : sql/updates/2626_world.sql => sql/updates/2629_world.sql
2009-04-12 18:50:36 +02:00