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
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
QAston
b2c3413806
*Fix a typo causing all auras to be on cooldown
...
--HG--
branch : trunk
2009-04-12 18:31:22 +02:00
megamage
6a59c3e6a4
*Fix a bug that JustSummoned is not called and all related script bugs.
...
--HG--
branch : trunk
2009-04-12 11:25:55 -05:00
QAston
cb5b56785f
Try to fix some aura update related crashes.
...
--HG--
branch : trunk
2009-04-12 17:53:05 +02:00
QAston
fcbdb10122
*Fix cooldown set for Reincarnation
...
*Change some aura interrupt flags description to handle stealth breaking correctly.
--HG--
branch : trunk
2009-04-12 16:18:55 +02:00
QAston
7409df2dc9
*Take combo points for delayed spells
...
*Fix a typo in spellsteal handling and a typo causing freeze while removing spellmods.
--HG--
branch : trunk
2009-04-12 13:12:08 +02:00
raczman
250bae10d8
Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.
...
--HG--
branch : trunk
2009-04-12 13:11:07 +02:00
raczman
d0f964ea9f
Merge.
...
--HG--
branch : trunk
2009-04-12 13:02:44 +02:00
raczman
1e77ccd935
Change container type for guilds to Map.
...
Use const_iterator in case nothing is modified in loop.
author: bladex.
--HG--
branch : trunk
2009-04-12 12:57:06 +02:00
Rat
c82cd936c5
*finished allliance cleaning wave in hyjal
...
--HG--
branch : trunk
2009-04-12 12:46:21 +02:00
raczman
8d3b562102
Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.
...
--HG--
branch : trunk
2009-04-12 12:45:17 +02:00
raczman
2ba0af3d8f
Correct spell_affect mask for spell 12472 - by _krz/Asael
...
--HG--
branch : trunk
2009-04-12 11:05:19 +02:00
raczman
49ee13d556
Removed unneeded function from Chat.h.
...
--HG--
branch : trunk
2009-04-12 10:53:44 +02:00
QAston
b1b53addcc
*Fix shadowflame
...
--HG--
branch : trunk
2009-04-12 10:35:28 +02:00
megamage
ea3e950758
*Fix build.
...
--HG--
branch : trunk
2009-04-11 23:42:50 -05:00
megamage
b30f389941
[7654] Apply SPELLMOD_DAMAGE for %healing spells (48985 and ranks for example) Author: DiSlord
...
--HG--
branch : trunk
2009-04-11 23:13:41 -05:00
megamage
6703cabbfb
[7653] Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUESTS_IN_ZONE Author: Trazom
...
Correct complete if ACHIEVEMENT_FLAG_SUMM set
--HG--
branch : trunk
2009-04-11 23:13:00 -05:00
megamage
3d1f17dd51
Fix ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM progress calc Author: DiSlord
...
--HG--
branch : trunk
2009-04-11 23:12:16 -05:00
megamage
f1b2e437a4
[7652] Fixed unexpected GM death at deep swim. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-11 23:11:37 -05:00
megamage
88b4ecdb03
[7651] Fixed some cases with unexpected fatigue bar show for player at transport. Author: DiSlord
...
--HG--
branch : trunk
2009-04-11 23:11:06 -05:00
megamage
f869e68296
[7649] Fix resilience damage reduction coefficients changed after client switch Author: DiSlord
...
--HG--
branch : trunk
2009-04-11 23:07:49 -05:00
megamage
0010f7ffe3
[7648] Resolve problems with expected fall damage at near teleport. Author: VladimirMangos
...
Move near teleport landing code to WorldSession::HandleMoveTeleportAck.
This make Player::TeleportTo code working in same way for both far/near teleports.
Move mSemaphoreTeleport from WorldObject to Player and merge with DoNotMove (using 2 fields for far/near teleport flag).
Skip movement packets until landing confirmation for near teleport from client.
--HG--
branch : trunk
2009-04-11 23:07:07 -05:00
megamage
dda2fdff33
*Implement spell Disengage and Death Grip.
...
--HG--
branch : trunk
2009-04-11 22:41:15 -05:00
QAston
1d640d0272
Do not trigger arcane power with presence of mind
...
--HG--
branch : trunk
2009-04-12 01:35:06 +02:00
QAston
3e87799453
*Fix totemic call mana gain
...
*Fix chimera shot effect with viper sting
*Fix charges display
*Fix stealth applying while using vanish
--HG--
branch : trunk
2009-04-12 01:29:56 +02:00
Anubisss
66f60f4c6e
*Fix a typo in Gruul's door handling. Thanks Kudlaty.
...
--HG--
branch : trunk
2009-04-12 01:09:25 +02:00
Anubisss
a055e8cd07
*Add the missing part of a commit.
...
--HG--
branch : trunk
2009-04-12 01:01:28 +02:00
Anubisss
074f8b9907
*Rename Azjol-Nerub to azjol_nerub.
...
--HG--
branch : trunk
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_amanitar.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/boss_amanitar.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_elder_nadox.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/boss_elder_nadox.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_herald_volazj.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/boss_herald_volazj.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_jedoga_shadowseeker.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/boss_jedoga_shadowseeker.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_prince_taldaram.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/boss_prince_taldaram.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/def_ahnkahet.h => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/def_ahnkahet.h
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/instance_ahnkahet.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/ahnkahet/instance_ahnkahet.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_anubarak.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/azjol_nerub/boss_anubarak.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_hadronox.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/azjol_nerub/boss_hadronox.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_krikthir_the_gatewatcher.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/azjol_nerub/boss_krikthir_the_gatewatcher.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/def_azjol_nerub.h => src/bindings/scripts/scripts/zone/azjol_nerub/azjol_nerub/def_azjol_nerub.h
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/instance_azjol_nerub.cpp => src/bindings/scripts/scripts/zone/azjol_nerub/azjol_nerub/instance_azjol_nerub.cpp
2009-04-12 00:40:59 +02:00
Anubisss
e5e291529b
*Rename Azjol-Nerub/Azjol-Nerub to Azjol-Nerub/azjol_nerub.
...
--HG--
branch : trunk
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/Azjol-Nerub/boss_anubarak.cpp => src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_anubarak.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/Azjol-Nerub/boss_hadronox.cpp => src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_hadronox.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/Azjol-Nerub/boss_krikthir_the_gatewatcher.cpp => src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/boss_krikthir_the_gatewatcher.cpp
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/Azjol-Nerub/def_azjol_nerub.h => src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/def_azjol_nerub.h
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/Azjol-Nerub/instance_azjol_nerub.cpp => src/bindings/scripts/scripts/zone/Azjol-Nerub/azjol_nerub/instance_azjol_nerub.cpp
2009-04-12 00:35:16 +02:00
Anubisss
af0364ceeb
*Delete unused scripts in instance Azjol-Nerub.
...
--HG--
branch : trunk
2009-04-12 00:26:43 +02:00
Anubisss
740da85fd6
*Rename boss_aminitar to boss_amanitar in instance Ahn'kahet.
...
--HG--
branch : trunk
rename : src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_aminitar.cpp => src/bindings/scripts/scripts/zone/Azjol-Nerub/ahnkahet/boss_amanitar.cpp
2009-04-12 00:15:01 +02:00
Anubisss
52de70ec54
*Delete unused scripts in instance Ahn'kahet.
...
--HG--
branch : trunk
2009-04-12 00:05:56 +02:00
megamage
78d6659270
*Fix the bug that noncombat pet does not follow owner.
...
--HG--
branch : trunk
2009-04-11 16:06:48 -05:00
megamage
06a8f2a7d1
*Try to fix the bug that pets do not have correct AI.
...
--HG--
branch : trunk
2009-04-11 15:59:27 -05:00
megamage
b2fa2fb797
*Merge.
...
--HG--
branch : trunk
2009-04-11 15:36:39 -05:00
megamage
8451619c2f
[7647] Fixed typo in option StartHonorPoints default value set at error. Author: zhanhang03
...
--HG--
branch : trunk
2009-04-11 15:35:50 -05:00
megamage
22529d80a4
*Fix build.
...
--HG--
branch : trunk
2009-04-11 15:34:31 -05:00
Anubisss
bc6552ce7e
*Delete some script from UtgardeKeep because these already scripted.
...
--HG--
branch : trunk
2009-04-11 22:14:59 +02:00
megamage
d697fbd158
*Merge.
...
--HG--
branch : trunk
2009-04-11 15:03:34 -05:00
megamage
ccd9f4eeb2
*Merge.
...
--HG--
branch : trunk
2009-04-11 14:53:16 -05:00
megamage
3120221deb
*Note: this patch may do not have any use for TC.
...
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos
* Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
prevent save as current pet summoned while temporay unsummon (arena)
* Prevent overwrite temporary summoned pet data
* At player loading set temporary unsummoned pet data instead pet loading
if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
* Restore proper pet at arena leave and unsummon in arena summoned.
--HG--
branch : trunk
2009-04-11 14:47:38 -05:00
megamage
9378a9cf21
*Add function GetPlayer and GetCreature for scripts. Please try to not use GetUnit in the future.
...
--HG--
branch : trunk
2009-04-11 13:42:34 -05:00
Drahy
37548b02fd
* Fixed compile error
...
--HG--
branch : trunk
2009-04-11 20:12:47 +02:00
QAston
ca8a67ab91
*Fix Faerie Fire (Feral) damage
...
--HG--
branch : trunk
2009-04-11 19:45:14 +02:00