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