Commit Graph

102 Commits

Author SHA1 Message Date
megamage
31fe63f644 *Fix typo.
--HG--
branch : trunk
2008-11-25 20:36:36 -06:00
megamage
99cf79bdf7 *Do not let Steady shot pause autoshot timer.
--HG--
branch : trunk
2008-11-25 17:58:06 -06:00
megamage
f7e5b2ba69 *Implement simple charmed AI for players charmed by creatures.
--HG--
branch : trunk
2008-11-24 17:15:41 -06:00
megamage
46dec5a819 *Fix arcane charge.
*SetInCombatWith in dozoneincombat.

--HG--
branch : trunk
2008-11-24 15:15:09 -06:00
gvcoman
915bc1acda Make summoned creatures go back to summoner on evade if summoner is alive. This should take care of most (all?) errors about controlled creatures trying to target home.
--HG--
branch : trunk
2008-11-22 16:55:17 -05:00
megamage
6a0ad5da50 *Add UNIT_FLAG_NOT_ATTACKABLE_2. Not attackable, but can be hit by entry-target spells (I guess).
--HG--
branch : trunk
2008-11-22 00:31:24 -06:00
gvcoman
a2c168155d Fix line endings in npcs_special.cpp to LF.
--HG--
branch : trunk
2008-11-21 19:27:24 -05:00
gvcoman
9ceb36a527 Merge with 273 (aab191f73e46).
--HG--
branch : trunk
2008-11-21 19:16:19 -05:00
gvcoman
1bd37790b5 Added SetAggressive calls to steam tonk and tonk mine scripts.
--HG--
branch : trunk
2008-11-21 19:12:44 -05:00
megamage
b2ba78e57a *script for quest Recharging the Batteries. By Anubisss.
*script for quest The Road to Falcon Watch. By neo0608.

--HG--
branch : trunk
2008-11-21 17:29:05 -06:00
megamage
11c55ba0a1 *Do not convert Map* to InstanceMap* when calling Map::SendToPlayers() to see if it can fix the bug that the function does not work. (If it can, it will be really wierd)
--HG--
branch : trunk
2008-11-21 16:36:29 -06:00
megamage
b063480b3f *EventAI update:
ACTION_T_SET_ACTIVE             = 101,  //Apply
    ACTION_T_SET_AGGRESSIVE         = 102,  //Apply
    ACTION_T_ATTACK_START_PULSE     = 103,  //Distance

--HG--
branch : trunk
2008-11-21 16:17:51 -06:00
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
gvcoman
837ce55de8 Added tonk mine and steam tonk scripts.
--HG--
branch : trunk
2008-11-21 13:57:54 -05:00
megamage
71707df1de *Let creature search nearby target before enter evade mode
*Add function canStartAttack to reduce code in MoveInLineOfSight
*Fix a bug that cancelling bind sight auras may crash the server

--HG--
branch : trunk
2008-11-21 10:07:11 -06:00
megamage
1e997b95cc Re-commit 262 due to EOL issues. (no difference from 262)
--HG--
branch : trunk
2008-11-20 16:16:57 -06:00
megamage
ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00
megamage
7d3997f7d6 [svn] *Update Kalecgos script.
*Correctly select aura triggered spell target.
*Fix some scripts, should be pGOHello = &
*Fix a bug that some channel spells cannot be interrupted.
*Fix a bug that not-selectable creature cannot be hit by target_entry spells.
*If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it.

--HG--
branch : trunk
2008-11-15 15:09:22 -06:00
visagalis
d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
slg
2c3130d415 [svn] * Merged SD2 Rev. 706 & 707
- Added: Pathaleon the Calculator script. Also added a Mechanar Instance script.
 - Added: Fixed and improved version of High King Maulgar. (Timers, Spells, Adds...)
 - Fixed: Nethermancer Sepethrea encounter. Spawning Adds, timers, spells...
 - Fixed: Lot of timers and spells like for: Doomlord Kazzak, Doomwalker, Gruul, and more.

* Fixed 147_world.sql

--HG--
branch : trunk
2008-11-13 17:12:54 -06:00
megamage
55d58ea878 [svn] Fix blink. Bug: can blink through door. Author: GodsdoG.
Fix blessed recovery and martyrdom. Patch provided by Gomez.
setActive for Akama shade to see if this can fix the bug that it cannot find channeler.

--HG--
branch : trunk
2008-11-12 23:06:51 -06:00
KingPin
09280b0091 [svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
--HG--
branch : trunk
rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
2008-11-10 06:53:00 -06:00
megamage
f2250030cd [svn] Fix pet spells: only AOE and enemy target spells are autocastable.
Script for quest: First Trial. Original patch by Bufu (SD2), adapted by Patro.

--HG--
branch : trunk
2008-11-09 23:54:02 -06:00
megamage
a04ad26b9e [svn] Add Druid swift flight form quest scripts. Patch provided by Blaymoria.
Update tempest keep scripts. Patch provided by Blaymoria.

--HG--
branch : trunk
2008-11-09 15:17:38 -06:00
megamage
ee02a2fc84 [svn] Send AttackStart package when update visibility.
Update DoMeleeAttackIfReady to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage
2c83fc42fc [svn] Fix a bug that event_ai mobs do not attack or cast.
--HG--
branch : trunk
2008-11-09 10:00:15 -06:00
megamage
2021552353 [svn] Update serpent shrine scripts. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-07 10:03:34 -06:00
megamage
fd3fcb4612 [svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

--HG--
branch : trunk
2008-11-07 09:36:46 -06:00
megamage
b22c10128d [svn] Update SerpentShrine Cavern script. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-06 16:17:36 -06:00
megamage
0aada07187 [svn] Fix hunter's trap (let original caster summon dynamic object).
Fix black temple boss 1's hurl spine.

--HG--
branch : trunk
2008-11-06 12:24:56 -06:00
megamage
43910434c5 [svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

--HG--
branch : trunk
2008-11-06 10:27:58 -06:00
gvcoman
44bdb135f4 [svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

--HG--
branch : trunk
2008-11-05 20:51:05 -06:00
slg
d266f7622b [svn] * Updated more .cpp scripts to use script_texts
- Hellfire Ramparts
 - Blood Furnace
 - Shattered Halls
 - Magtheridon's Lair
 - Steam Vault
* Added random OOC yells to Magtheridon

--HG--
branch : trunk
2008-11-04 16:26:01 -06:00
megamage
e91816937b [svn] Merge SD2 Rev 735. Patch provided by neo0608.
Fix 171_world.sql.

--HG--
branch : trunk
2008-11-04 15:37:18 -06:00
slg
31cebde085 [svn] * Updated Serpentshrine Cavern scripts to use script_texts
* Added script_texts for (nearly) all scripts
* Added documentation for script_texts
* Fixed tabs in chat.cpp

--HG--
branch : trunk
2008-11-04 15:21:02 -06:00
megamage
a5045b7684 [svn] Update black temple boss 1, 2 script.
--HG--
branch : trunk
2008-11-03 20:44:32 -06:00
megamage
6391d04aac [svn]
--HG--
branch : trunk
2008-11-03 18:45:53 -06:00
megamage
47d205ea71 [svn] Replace many IsWithinDistInMap with IsWithinCombatDist in melee attack function.
--HG--
branch : trunk
2008-11-03 17:39:34 -06:00
megamage
09c72569c0 [svn] Update zul'aman script. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-03 10:42:25 -06:00
megamage
ab1bb3ac76 [svn] Add class SummonList in script to despawn summons. Update Zul'jin script for test.
--HG--
branch : trunk
2008-11-03 10:16:06 -06:00
megamage
b9af250881 [svn] Fix the compile error. Patch provided by Tidus.
Merge part of mangos svn rev 6748: Use SMSG_PET_NAME_INVALID opcode instead of db string. Source: Mangos.

--HG--
branch : trunk
2008-11-03 09:53:31 -06:00
megamage
fbef4e3abf [svn] Fix a compile bug. Patch provided by Paradox.
--HG--
branch : trunk
2008-11-03 08:14:21 -06:00
KingPin
d5beb2bbe9 [svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.

TEST REV so be careful of creepy crawly bugs!

--HG--
branch : trunk
2008-11-02 16:53:46 -06:00
megamage
e2eb694c57 [svn] Improve TargetedMovement (TODO: let mob find "near angle" rather than "random angle").
Delete a repeated check in instance canenter().
Fix some spell targets.
Add some sunwell spell sql.
Fix Magtheridons earthquake. (TODO: need to find out why soul transfer has no effect when casted by mobs)
Let Brutallus dual wield. Enable burn (still no script effect).
Quick fix for shadowmoon valley illidan quest crash (wait for author's fix).

--HG--
branch : trunk
2008-10-31 21:42:00 -05:00
megamage
f2f73ff19f [svn] Update magisters terrace script. Patch provided by streetrat.
--HG--
branch : trunk
2008-10-30 09:25:38 -05:00
megamage
5e809c2a6b [svn] Add new function SelectUnit and SelectUnitList to select target or targets with check "isPlayer" and "isWithinDist". Also add target type SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
SpellEffect Fix for 40802,29364,43723,41931. Patch provided by WarHead.
Update script of Fathom Lord. Patch provided by Blaymoira.

--HG--
branch : trunk
2008-10-28 16:28:42 -05:00
slg
1b820f93eb [svn] More C++ scripts converted to use script_texts.
- Blackwing Lair
- Black Morass
- Old Hillsbrad
source: ScriptDev2

--HG--
branch : trunk
2008-10-27 15:17:06 -05:00
megamage
4cbc6f830a [svn] Fix a compile error about M_PI_2.
Update Felmyst script to test new setActive function.
Fix the bug that priest's fear is unbreakable (dirty hack before find the correct way).
(some unfinished unused content included, just ignore them, will finish them later)

--HG--
branch : trunk
2008-10-27 10:57:53 -05:00
KingPin
1bb1603592 [svn] * Moved scripts sqls updates to main sql updates folder.
* Fixed makefile to use proper foldername.
* rXXX_world_scripts.sql will be the format for script sql updates, execute these into your world DB.

--HG--
branch : trunk
2008-10-27 09:57:53 -05:00
megamage
0e18e4330c [svn] Fix some mistakes of the last two commits.
--HG--
branch : trunk
2008-10-27 08:28:57 -05:00