Commit Graph

26 Commits

Author SHA1 Message Date
megamage
1c3d4c40c3 [svn] Set target in combat even if spell does not hit target.
Call AI function only when spell hits target.
Move combat check from dealdamge to attackerstateupdate to remove redundant check.

--HG--
branch : trunk
2008-10-31 14:00:49 -05:00
megamage
67b86d636b [svn] Spell target selection improvement. Remove most mangos hacks in spell target selection. (work almost done)
Merge mangos svn rev 6744.

--HG--
branch : trunk
2008-10-31 11:04:32 -05:00
megamage
daec9868d9 [svn] Enable linked spells: cast spells/remove auras when spells casted/spells hitting/auras removed. Add new table "spell_linked_spell". Some illustrations provided in sql.
Let trigger creature cast AOE spells when summoned. Illustration provided in sql.
Let active creatures always visible if possible. (seems does not work for now, need to find out why)

--HG--
branch : trunk
2008-10-30 11:32:10 -05:00
megamage
a1131cdb21 [svn] Provide creature dual wield support.
Update glancing damage formula.
Do not daze creatures when other creatures attack from the back (need to find a better way).
Fix the damage calculation of +damage aura.

--HG--
branch : trunk
2008-10-29 20:00:21 -05:00
megamage
febb2d6147 [svn] Fix broken spell target 38 (script target).
Implement linked spells, but will not enable it before testing.

--HG--
branch : trunk
2008-10-29 14:19:31 -05:00
w12x
e72a13c3dd [svn] * Allow WorldObjects to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises.
--HG--
branch : trunk
2008-10-27 08:41:55 -05:00
w12x
6f2e0ee48a [svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead.

--HG--
branch : trunk
2008-10-26 11:50:07 -05:00
megamage
55c25d894e [svn] Add SpellExtraInfoMap. Currently support:
Limited-number-of-players spell; shared damage spell; target-in-line cone spell (e.g. dark glare).
Change angle of cone spells from 120 degree to 60 degree.

--HG--
branch : trunk
2008-10-25 15:46:52 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
megamage
9584faf0c9 [svn] Add SPELL_ATTR_BREAKABLE_BY_DAMAGE. Remove part of the hacked breakable aura check. Patch provided by thenecromancer.
--HG--
branch : trunk
2008-10-22 14:58:50 -05:00
megamage
96d1c9f4d6 [svn] Fix cloak of shadows. Dispel type should be based on SPELL_DAMAGE_CLASS_MAGIC.
Fix: SPELL_DAMAGE_CLASS_NONE type spells should never miss.

--HG--
branch : trunk
2008-10-21 17:10:05 -05:00
w12x
4f06be912b [svn] Implement CREATURE_FLAG_EXTRA_TRIGGER. In GM mode, creatures flagged with this will be displayed with displayid_a, in non-gm mode with displayid_h.
--HG--
branch : trunk
2008-10-20 13:41:05 -05:00
KingPin
fcde03a036 [svn] * Fixed compile from r78
* Fixed: not apply healling bonus to spell 40972 heal amount. - Source Mangos
* Item 30627 hidden cooldown - Source Mangos
* Fixed Trinityrealm autopatching system - Source Arrai
* Add support for autoconf 2.6.2 and newer - Source Derex
Some decent sized changes, please test before deploying - KP

--HG--
branch : trunk
2008-10-19 21:08:34 -05:00
megamage
76adf24586 [svn] Add a hack check for spell 42292.
--HG--
branch : trunk
2008-10-19 15:11:20 -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
megamage
a3dea992f5 [svn] Recalculate attack time in Unit::ApplyAttackTimePercentMod function.
Add Felmyst script.
Add Eredar twins script. Script provided by BroodWyrm.
Update Brutallus script. Patch provided by riddick. (Burn temporarily disabled)
Update void reaver script. Patch provided by Bagsac.
Fix a bug that Najentus causes server crash.

--HG--
branch : trunk
2008-10-19 12:01:49 -05:00
w12x
bc05228d9f [svn] Finally really fixed compile. Also, removed Unit::GetObjectInWorld(), use Map::GetCreatureInMap() and Map::GetGameObjectInMap() instead. This is to prevent creature-creature interaction on different maps, which would make the later multithreading of maps impossible.
--HG--
branch : trunk
2008-10-19 11:07:10 -05:00
Seline
e78b34c63f [svn] * Prevent creatures from moving if they are dead (if they were fleeing for example).
* Critters now flee from attacker when taking damage.

--HG--
branch : trunk
2008-10-19 10:20:53 -05:00
w12x
90a5b215f9 [svn] Fixed compile errors. Hopefully.
--HG--
branch : trunk
2008-10-19 07:24:36 -05:00
megamage
a3e03f62d0 [svn] Remove unused script event functions HealBy and DamageDeal. Add new function SpellHitTarget.
Fix a bug in r57_trinity.sql.

--HG--
branch : trunk
2008-10-18 11:50:02 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
Neo2003
95b91afbab [svn] * svn:eol-style native set on all files that need it
--HG--
branch : trunk
2008-10-11 14:16:25 -05:00
Neo2003
f736567a37 [svn] * Updated to 6743 and 685
Moved language id used by Arena to a higher place to solve conflicts
Added the empty script folders

--HG--
branch : trunk
rename : 6731-680 => 6743-685
2008-10-09 08:42:22 -05:00
w12x
6f0c3469a6 [svn] -enabled instantiated battlegrounds
-enabled arena matches
-rewritten battleground queuing to support joining as group
-removed queue announcements

--HG--
branch : trunk
2008-10-05 08:48:32 -05:00
Neo2003
5651828bf7 [svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript logo
* Version updated to 0.2.6721.676

--HG--
branch : trunk
rename : 6700-670 => 6721-676
2008-10-04 06:17:19 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00