[LH 1.7 BETA] MasterArcher (Part II) #FIXED

By on April 30, 2014 1:20:26 PM from Elemental Forums Elemental Forums

Primal_Savage

Join Date 07/2013
+166

+ Added the ability to have these conditional modifiers based on either the attacker or the targets unit stats.  (ie: Master Archer is based on the unit having UnitStat_IsBow value that all bows give, Death Blow is based on the target having less than 20 hit points). (for modders)

 

As has been reported here, I don't think MasterArcher (Conditional modifiers based on the attacker UnitStat) is behaving properly. The +25 critical bonus is applied in all instances (Bow or not).

 

Temporary fix (Using Ability/BattleAutoCast/Spell/UnitStat)

[Link removed]

 

I tried a Reverse MasterArcher (Conditional modifiers based on the target UnitStat) and it's behaving as it should. At this point wondering if the <BoolVal1>1</BoolVal1> is doing what it should be doing and/or if the <GameModifier> is missing a specific <vsABC> applicable to an attacker UnitStat comparison. Otherwise, is the comparison vsLower or vsHigher? (However, simply adding vsLower/vsHigher switches the comparison to Target UnitStat instead of Attacker UnitStat).

 

 

 

_________________________

LH Mods by Primal

XtraDeconstruct

XtraDeconstruct Canons

Locked Post 18 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
June 28, 2014 4:06:18 PM from Elemental Forums Elemental Forums

I just started playing again.  Is this only found on items?  I was expecting it to be a trait or something.

Reason for Karma (Optional)
Successfully updated karma reason!
July 5, 2014 6:04:59 PM from Stardock Forums Stardock Forums

This will be fixed in 1.7.

Reason for Karma (Optional)
Successfully updated karma reason!
July 11, 2014 1:36:13 PM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
July 11, 2014 2:50:46 PM from Elemental Forums Elemental Forums

Yeah really want this fixed.

Maybe change the thread from [1.6] to [1.7 beta]  so Derek will find it?

 

Reason for Karma (Optional)
Successfully updated karma reason!
July 11, 2014 4:00:38 PM from Elemental Forums Elemental Forums

You are right, its broken.

Unfortunately conditional abilities are calculated during the attack (since they consider the targets stats as part of the comparison). Even in this case where the targets stat isnt considered (since it's only if the attacker has a bow or not) it still isn't calculated until the attack happens.  Its because I'm using the conditional modifiers system for something it was never intended to do.

Either way I did fix the Master Archer ability so it will work correctly in the 1.7 public patch. Thanks for the feedback!

Reason for Karma (Optional)
Successfully updated karma reason!
July 13, 2014 4:40:14 AM from Elemental Forums Elemental Forums

Oh man... I was banging my head against the wall trying to get a spell to work using these new conditional modifiers... No matter what I would try, they would just not do anything. Glad to know I'm not crazy!

Reason for Karma (Optional)
Successfully updated karma reason!
July 15, 2014 7:42:19 PM from Elemental Forums Elemental Forums

Nobody ever answered my earlier question--where do I find this trait?  It's obviously not part of a trait tree for a class so is it only on items?

Reason for Karma (Optional)
Successfully updated karma reason!
July 16, 2014 12:52:48 AM from Elemental Forums Elemental Forums

Quoting Fezziwig,

Nobody ever answered my earlier question--where do I find this trait?  It's obviously not part of a trait tree for a class so is it only on items?

There is a single hero who has this trait.  It cannot be learned by anyone else.

Reason for Karma (Optional)
Successfully updated karma reason!
July 16, 2014 2:45:05 AM from Elemental Forums Elemental Forums

Quoting mqpiffle,


Quoting Fezziwig, reply 7
Nobody ever answered my earlier question--where do I find this trait?  It's obviously not part of a trait tree for a class so is it only on items?

There is a single hero who has this trait.  It cannot be learned by anyone else.

Thanks!

Reason for Karma (Optional)
Successfully updated karma reason!
July 16, 2014 7:10:24 AM from Elemental Forums Elemental Forums

If only someone would mod the assassin path to include master archer...

Reason for Karma (Optional)
Successfully updated karma reason!
July 16, 2014 8:30:44 AM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
July 22, 2014 10:06:09 AM from Elemental Forums Elemental Forums

Anyone know if this is working properly? 

 

Reason for Karma (Optional)
Successfully updated karma reason!
July 22, 2014 10:07:03 AM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
July 22, 2014 11:18:29 AM from Elemental Forums Elemental Forums

Cool thanks.

Reason for Karma (Optional)
Successfully updated karma reason!
July 25, 2014 9:19:35 AM from Elemental Forums Elemental Forums

I don't get it, is this supposed to show on the units attributes, like in the Unit Details window?

Because it looks like it does nothing... if you give a champion the Master Archer trait, then equip a bow, it doesn't change their critical chance according to the Unit Details window.  

So does it work, and it just doesn't show the change in stat?  I'm guessing based on what Kael said ("it still isn't calculated until the attack happens") maybe it just kicks in when you go to attack someone.

Does that sound right?

Reason for Karma (Optional)
Successfully updated karma reason!
July 25, 2014 9:23:49 AM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
July 25, 2014 10:02:07 AM from Elemental Forums Elemental Forums

Great thanks for posting the changes to the syntax across the versions.  Shame it doesn't show up under the Unit Details.. I want to use this approach for some stuff, would be nice to know it's working without having to go and actually test everything each time to see the effect.

But that's cool if it works i'll just cope paste and hope I don't stuff it up.

Reason for Karma (Optional)
Successfully updated karma reason!
July 25, 2014 11:58:36 AM from Elemental Forums Elemental Forums

Ha, I just asked Primal the same question as abob101.

Modder life y'all.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108433  walnut3   Server Load Time: 00:00:00.0000312   Page Render Time: