Commit Graph

78 Commits

Author SHA1 Message Date
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
megamage
1f7ff81049 [svn] Make mobs scatter around in melee attack. Patch provided by smellbee.
Fix Join Instance Can Enter while Encounter is in Progress. Patch provided by mknjc.

--HG--
branch : trunk
2008-10-27 08:00:33 -05:00
megamage
e2c221b0da [svn] Fix Eredar twins, Al'ar and Zul'jin's AttackStart() function.
Update Shade of Akama script, Lady Vashj script and Shadowmoon Valley script. Patches provided by Blaymoira.
Remove some hacks since core has provided spell target support.

--HG--
branch : trunk
2008-10-27 07:34:38 -05:00
megamage
9125ef9337 [svn] Fix the bug that Maiev crash the server in Illidan combat.
--HG--
branch : trunk
2008-10-26 23:05:20 -05:00
megamage
ad7400f254 [svn] SD2 Merge, rev 700 - addition of script_texts to various c++ scripts. Patch provided by SLG.
--HG--
branch : trunk
2008-10-26 20:59:39 -05:00
Seline
5faa23accc [svn] * Revert change to DoZoneInCombat made in [114] as it can cause problems. DoZoneInCombat is NOT meant to be used by creatures that cannot have threatlists or have empty threatlists.
--HG--
branch : trunk
2008-10-26 13:58:39 -05:00
megamage
6fc23ef45e [svn] Update trinityscript to SD2 rev 700. Source: scriptdev2. Patch provided by SLG.
--HG--
branch : trunk
2008-10-25 11:40:10 -05:00
megamage
43436c8f30 [svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken).
Add some spell_script_target.
Delete some workaround in scripts (since core provides spell support now).

--HG--
branch : trunk
2008-10-25 10:37:28 -05:00
megamage
0a3057972c [svn] Fix a crash caused by gruul script.
Change in EffectSummonWild and DoZoneInCombat.

--HG--
branch : trunk
2008-10-24 17:37:40 -05:00
megamage
277334fc41 [svn] Fix cloak of shadow, can remove fairy fire now.
Add yells to High King Maulgar. Patch provided by riddick.
Script for Prince Malchezaar Doors. Patch provided by BroodWyrm.
Bug fix for Selin Fireheart. Patch provided by BroodWyrm.
Arcane Charges only while on flightpath. Patch provided by SLG.

--HG--
branch : trunk
2008-10-23 22:04:14 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
megamage
87681af453 [svn] Fix a bug that elixir buff cannot stack.
Fix quest 9685. Patch provided by ogeraisi.

--HG--
branch : trunk
2008-10-22 20:59:36 -05:00
megamage
2a742e78b9 [svn] Fix a bug that shaman's shield can stack.
Fix: MovementInform without behavior change for waypoint movement. Patch provided by DragonHunter.
Update gruul lair script. Patch provided by Blaymoira.

--HG--
branch : trunk
2008-10-22 09:41:31 -05:00
w12x
9688da09b0 [svn] Fixed win32 compile
Null pointer checks in the barrens ai.

--HG--
branch : trunk
2008-10-21 14:31:24 -05:00
KingPin
99c5eccab8 [svn] * Fix professions NPC script typo
--HG--
branch : trunk
2008-10-21 13:56:15 -05:00
KingPin
b8e87bfc51 [svn] * Prevent Cheating at logout/login by players. Thank you Visagalis
* Set scripts to eol style native

--HG--
branch : trunk
2008-10-21 13:19:26 -05:00
megamage
35f7512be9 [svn] Black Temple doors script. Patch provided by Blaymoira.
--HG--
branch : trunk
2008-10-21 12:51:53 -05:00
w12x
63f37b8bd2 [svn] Change MSVC project files to use multithreaded (debug) dll runtime libraries. Hopefully this will solve the problems with ACE. Original patch by Derex.
--HG--
branch : trunk
2008-10-21 06:23:46 -05:00
megamage
23ff96ded9 [svn] Fix 71ScriptDev2.vcproj. Thanks to NeoLithicX.
--HG--
branch : trunk
2008-10-20 23:36:36 -05:00
megamage
717cfa01f0 [svn] Add Alar script.
Update Magtheridon script.
Update Vorpil script. Patch provided by BroodWyrm.
Add sunwell boss scripts into scriptmgr.cpp (forgot to do so in previous revs).

--HG--
branch : trunk
2008-10-20 14:02:13 -05:00
megamage
a1d00528a3 [svn] Script for quest 1719. Patch provided by ckegg.
--HG--
branch : trunk
2008-10-19 23:56:06 -05:00
megamage
672d304a44 [svn] Add Unit::IsWithinCombatDist function to check melee range and spell range (now range is related to the attacker's bounding_radius and target's combat_reach, not sure if both should be combat_reach).
--HG--
branch : trunk
2008-10-19 14:42:12 -05:00
KingPin
e7519059c9 [svn] * fix Compile ( typo in boss_felmyst.cpp )
--HG--
branch : trunk
2008-10-19 14:25:52 -05:00
megamage
636d810772 [svn] Change aura stack check.
Add some boss yells. Patched provided by BroodWyrm and Blaymoira.

--HG--
branch : trunk
2008-10-19 13:56:11 -05:00
KingPin
f064bc4ba4 [svn] * Fixed Compile error from previous rev
--HG--
branch : trunk
2008-10-19 13:28:58 -05:00