Commit Graph

21 Commits

Author SHA1 Message Date
ratkosrb 9998f2de90 Add separate handler for SPELL_EFFECT_SUMMON_POSSESSED.
This fixes the eye of killrog + mind control crash without hacks.
2019-01-02 18:27:18 +02:00
ratkosrb 395d47d15f Organize code in Player.h 2018-12-02 19:19:04 +02:00
ratkosrb 6735de0174 Improvements to PvP flagging.
Based on https://github.com/cmangos/mangos-classic/commit/d63bebd45742b75bc6f0b02206263a8f16182fec
2018-11-27 12:36:52 +02:00
ratkosrb 48e1d4ea22 Taming the Beast improvements.
Closes https://github.com/vmangos/core/pull/30
2018-10-29 18:04:21 +02:00
ratkosrb ea0c1a031b Prevent creature pets from chasing forever. 2018-10-26 05:14:51 +03:00
ratkosrb 14eba4a2ca Implement GuardEventAI and add scripts for guards. (#196)
* Add command to apply aura.

* Add condition for no path to victim.

* Add Is Player condition.

* Database scripts and fixes.

* Improve GuardAI.

* Implement GuardEventAI.

* Mark faction as At War in client on aggro.

* Fix instance reset message.

* Reimplement invisability for Shade of Jindo.

* Cleanup ancient methods.

* Sync At War flag.

* Fix aura for Drunken Bruiser.

* Add LoS check.
2018-08-05 13:58:32 +03:00
GuybrushGit 2709cfd5c8 Allow player pets attacking feigned players (#174) 2018-08-05 13:48:35 +03:00
GuybrushGit b4d12a0c3b Followup to pet autocast (#63)
* Followup to pet autocast

* Followup to pet autocast
2018-05-02 18:57:01 +10:00
ratkosrb ea66fc38fe Implement EventAI for Pets (#66)
* Added an AI class for Pets that inherits EventAI.

* Added conditions to check target's HP and Mana percents.

* Fixed mistake in Unit::IsImmuneToDamage.

* Made DoSelectLowestHpFriendly work with Players.

* Added a script command to set a creature's react state.

* Moved Timbermaw Ancestor's script to EventAI.
2018-04-28 23:54:45 +03:00
brotalnia 8a108ece26 Merge branch 'screechFix' into 'development'
Fix to pet autocast

See merge request lights-hope/server!28
2018-03-02 13:37:01 +00:00
GuybrushGit a1a4c65b0c Fix to pet autocast 2018-02-27 01:13:29 +00:00
GuybrushGit 1739316d52 More fixes to Vanquished Tentacle 2018-02-27 00:07:12 +00:00
GuybrushGit 164a2a92b3 Fix to pet in combat health regen 2018-02-02 00:52:14 +00:00
Prithu Parker 5d2e1eec92 Revert "Revert "Fixes to the PvP flag mechanics (#588)""
This reverts commit 7c6e444ef3.
2017-08-23 23:39:52 +10:00
sipertruk b298629ff5 fix eyes of the beast (#1497) 2017-07-16 01:51:11 +01:00
WobLight 8284266bb2 Added missing swirl effect for PvP locks (#848)
* Added swirl effect for PvP locks
fixes #119

* refactored `Spell::prepare`

* more refactoring for `Spell::prepare`

* Battleground: fix banner respwn timing

* BattleGround::SpawnBGObject: don't delay warsong flags respawn
2017-05-25 12:01:10 +01:00
Staden 7c6e444ef3 Revert "Fixes to the PvP flag mechanics (#588)"
This reverts commit 22a9511d0f.
2017-05-24 16:03:28 +01:00
GuybrushGit 22a9511d0f Fixes to the PvP flag mechanics (#588)
* Fix to AoE Spells / PvP Flag interaction

* Toggle PvP flag when attacking PvP flagged creatures
No PvP flagging when flying through hostile zones

* Set PvP flag for PvP quests

* Fix pet attacks not flagging the owner for pvp
Set no threat spells to not flag the caster for pvp
2017-05-03 01:50:52 +01:00
GuybrushGit ad44d1e135 Fix to NPC pets pull request (#410)
* Revert fix to pets attacking when right clicked

* PetAI fix to attacking when right clicked
2017-04-16 23:17:44 +01:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00