Commit Graph
2701 Commits
Author SHA1 Message Date
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
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
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
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
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
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
megamage 7b6548f2d1 *Make AuraEffect::Update virtual.
--HG--
branch : trunk
2009-04-13 18:21:48 -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