• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Frenzy

Status
Not open for further replies.
Level 10
Joined
Mar 17, 2012
Messages
582
Hi everyone!

I've come to ask if someone knows how to forbid a hero to cast some unique ability before his HP drops to less than 30%?

(kinda Frenzy ability in Lineage 2)

thanks for attention :ogre_kawaii:
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Detect the order

"A unit is issued an order with no target"
Condition 1 - "Issued order is equal to frenzyon" (I'm not sure if that's the correct string order to turn off frenzy".
"
Condition 2- "Life of (Triggering Unit) is less than or equal to 30%

Actions: issue triggering unit "frenzyoff".
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Yes, I am sure. You can make it either way (only activable under 30% hp, or over 30% hp) Just detect the order to use / turn-on and order the unit to turn off.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Oh... I got confused between Frenzy and Unholy Frenzy.

If the ability is activable/deactivable like Mana Shield you can use my method, since the ability has an orderstring to turn on/off.

Autocast abilities can also be disabled the same way, since all of them have a Enable/Disable autocast orderstring.

To avoid a unit casting an ability with some conditions, you have to do as bisnar13 suggested: detect the unit "begins" casting an ability, check for conditions, and order the unit to stop. If ordering "stop" doesn't work, you can Move Unit (instantly) to the same position of the unit, it will stop orders.

@TwoVenomous: IssueImmediateOrder( TheUnit, "frenzyoff" )
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
I don't know why GUI doesn't have frenzy on-off on the list, there's bloodlust, but no frenzy; i'm not sure if they have different orderstrings but same Base ID meaning that ordering bloodlustoff would be equal to frenzyoff
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
I don't know why GUI doesn't have frenzy on-off on the list, there's bloodlust, but no frenzy; i'm not sure if they have different orderstrings but same Base ID meaning that ordering bloodlustoff would be equal to frenzyoff

yeah, i'm just sad that we have condition like this

  • (Issued order) Equal to (Order(frenzyon))
but don't have action like this

  • Unit - Order unit to (Order(frenzyoff))
 
Level 10
Joined
Mar 17, 2012
Messages
582
Guys!!~~~

1. Frenzy in "Lineage 2" is not equal to Frenzy in Warcraft! Frenzy uses parent-spell "Roar"
2. Frenzy must not be used when hero has full HP! It MUST be able to use when HP drops to 30% or lower!
3. Frenzy have to add attack damage :)
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
Guys!!~~~

1. Frenzy in "Lineage 2" is not equal to Frenzy in Warcraft! Frenzy uses parent-spell "Roar"
2. Frenzy must not be used when hero has full HP! It MUST be able to use when HP drops to 30% or lower!
3. Frenzy have to add attack damage :)

yeah, add this for your abilities

  • Whatever Frenzy
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Whatever Frenzy
      • (Percentage life of (Triggering unit)) Less than or equal to 30.00
    • Actions
      • Unit - Order (Casting unit) to Stop
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Zigor since this is a Wc3 forum you can't ask for someone to do a skill from a different game without explaining what it does. Explain how Frenzy works. Is it AoE? is it TargetAble? does it have Autocast? Increases attack speed also? Movespeed? something?...

There a tons of ways to do this: aura, triggered, abilities, buffs, dummies, etc. You need to explain exactly what you want.
 
Level 10
Joined
Mar 17, 2012
Messages
582
Zigor since this is a Wc3 forum you can't ask for someone to do a skill from a different game without explaining what it does. Explain how Frenzy works. Is it AoE? is it TargetAble? does it have Autocast? Increases attack speed also? Movespeed? something?...

There a tons of ways to do this: aura, triggered, abilities, buffs, dummies, etc. You need to explain exactly what you want.

Okay, I'm sorry for my tactlessness :goblin_cry:
 
Status
Not open for further replies.
Top