mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 14:36:22 +00:00
debuff trigger and action, allow multiple spell
This commit is contained in:
@@ -27,7 +27,7 @@ BUFF_ACTION(CastCommandingShoutAction, "commanding shout");
|
||||
// arms
|
||||
MELEE_ACTION(CastHeroicStrikeAction, "heroic strike");
|
||||
REACH_ACTION(CastChargeAction, "charge", 8.0f);
|
||||
DEBUFF_ACTION(CastRendAction, "rend");
|
||||
DEBUFF_CHECKISOWNER_ACTION(CastRendAction, "rend");
|
||||
DEBUFF_ENEMY_ACTION(CastRendOnAttackerAction, "rend");
|
||||
DEBUFF_ACTION_R(CastThunderClapAction, "thunder clap", 8.0f);
|
||||
SNARE_ACTION(CastThunderClapSnareAction, "thunder clap");
|
||||
|
||||
@@ -13,8 +13,6 @@ BUFF_TRIGGER(DefensiveStanceTrigger, "defensive stance");
|
||||
BUFF_TRIGGER(BerserkerStanceTrigger, "berserker stance");
|
||||
BUFF_TRIGGER(ShieldBlockTrigger, "shield block");
|
||||
BUFF_TRIGGER(CommandingShoutTrigger, "commanding shout");
|
||||
|
||||
DEBUFF_TRIGGER(RendDebuffTrigger, "rend");
|
||||
DEBUFF_TRIGGER(DisarmDebuffTrigger, "disarm");
|
||||
DEBUFF_TRIGGER(SunderArmorDebuffTrigger, "sunder armor");
|
||||
DEBUFF_TRIGGER(MortalStrikeDebuffTrigger, "mortal strike");
|
||||
@@ -49,4 +47,9 @@ HAS_AURA_TRIGGER(SuddenDeathTrigger, "sudden death");
|
||||
HAS_AURA_TRIGGER(SlamInstantTrigger, "slam!");
|
||||
HAS_AURA_TRIGGER(TasteForBloodTrigger, "taste for blood");
|
||||
|
||||
class RendDebuffTrigger : public DebuffTrigger
|
||||
{
|
||||
public:
|
||||
RendDebuffTrigger(PlayerbotAI* botAI) : DebuffTrigger(botAI, "rend", 1, true) { }
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user