Commit de8f6fc7 authored by Jean Miraak's avatar Jean Miraak 💬 Committed by brabox

(!518) Tame the Beast affect filter

parent 680467ba
- Sharku's Tame the Beast now affect all cavalry units (from only Warg riders and Warg packs)
......@@ -146,6 +146,8 @@
#define KINGSFAVOR_OBJECTFILTER ANY +CAVALRY +INFANTRY -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION -HERO -MOVE_ONLY -DOZER -SUMMONED ALLIES ;;,;; Added -SUMMONED
#define TAMETHEBEAST_OBJECTFILTER ANY +CAVALRY -INFANTRY -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION -HERO -MOVE_ONLY -DOZER -SUMMONED ALLIES ;,;
#define DRAIN_HEALTH_OBJECTFILTER ALL -STRUCTURE -MACHINE -MINE -SHIP -ARMY_OF_DEAD -AngmarKarsh -AngmarMorgramir -AngmarWitchking -MordorBlackRider -KhamulFellBeast -KhamulMounted -MordorMorgromirMounted -MorgomirFellBeast -MordorWitchKing -MordorWitchKingOnFellBeast -AngmarShadeWolf -BarrowWight -BarrowWight_Slaved -BarrowWight_Summoned -LesserWight ;;,;; Added
#define NO_DRAIN_HEALTH_OBJECTFILTER ANY +STRUCTURE +MACHINE +MINE +SHIP +ARMY_OF_DEAD +AngmarKarsh +AngmarMorgramir +AngmarWitchking +MordorBlackRider +KhamulFellBeast +KhamulMounted +MordorMorgromirMounted +MorgomirFellBeast +MordorWitchKing +MordorWitchKingOnFellBeast +AngmarShadeWolf +BarrowWight +BarrowWight_Slaved +BarrowWight_Summoned +LesserWight ;;,;; Added
......
......@@ -786,7 +786,7 @@ Object IsengardSharku
Experience = 110
RadiusEffect = 150
AcceptanceFilter = NONE +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner
AcceptanceFilter = TAMETHEBEAST_OBJECTFILTER ;,; NONE +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner
UnpackTime = 2000
PreparationTime = 0
......@@ -797,7 +797,7 @@ Object IsengardSharku
SpecialAbility = SpecialAbilityTameTheBeast
ForbiddenStatus = INSIDE_GARRISON ;;,;; This seems to prevent the ability from being used inside a tower
MaxScanRange = 200
Query = 8 ;,; 10 ANY +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner
Query = 8 TAMETHEBEAST_OBJECTFILTER ;,; 10 ANY +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner
End
;//----------------------Man Eater-----------------------------------------------
......
......@@ -2342,7 +2342,7 @@ End
SpecialPower SpecialAbilityTameTheBeast
Enum = SPECIAL_KINGS_FAVOR ;,; SPECIAL_AT_VISIBLE_OBJECT ;;,;; SPECIAL_DOMINATE_ENEMY
;,; ObjectFilter = NONE +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner +NeutralWarg +AngmarDireWolf +AngmarDireWolf_Slaved +AngmarDireWolfHorde +AngmarWolfRider +AngmarWolfRiders ;;,;; Added ;,; Added +AngmarDireWolf +AngmarDireWolf_Slaved +AngmarDireWolfHorde +AngmarWolfRider +AngmarWolfRiders
ObjectFilter = NONE +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner -SUMMONED ALLIES ;,;
ObjectFilter = TAMETHEBEAST_OBJECTFILTER ;,; NONE +IsengardWargPack +IsengardWargRider +IsengardWargPackBanner +IsengardWargRiderBanner -SUMMONED ALLIES ;,;
Flags = NEEDS_OBJECT_FILTER ;,;
ReloadTime = 120000 ; This value MUST be greater than the DefectDuration in the Behavior
RadiusCursorRadius = 150.0 ;,; 60.0 ;100.0 ;150.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment