Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 3:26 am
All times are UTC + 0
Attribute Modifier question
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Sun Jun 22, 2014 6:06 pm    Post subject:  Attribute Modifier question
Subject description: Solved!
Reply with quote  Mark this post and the followings unread

Can someone please explain what the "IgnoreIfAnticategoryActive" attribute does? (appears in attribute modifiers)

Also the "ReplaceInCategoryIfLongest" attribute.

Thanks for any help!

_________________

Last edited by Madin on Thu Jun 26, 2014 11:54 am; edited 1 time in total

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Sun Jun 22, 2014 8:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

IgnoreIfAnticategoryActive was used in BFME, say you did cast a spell which had a DEBUFF attribute modifier which reduces the armor by 50%.
Then there is a hero unit with an aura which gives a BUFF attribute modifier which grants armor and other stuff and has IgnoreIfAnticategoryActive set.
The hero aura would not trigger in this case as the DEBUFF is active and the anticategory of BUFF. (I think you can set the anticategories, not sure right now)

ReplaceInCategoryIfLongest is similar, it uses the category and checks if the new modifier has a longer duration than the active modifier, and if true replaces it, else discards it. This was useful for pillage modifiers for example so it wouldn't stack and the player wouldn't gain more than he or she should have.

_________________

Back to top
View user's profile Send private message Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Sun Jun 22, 2014 8:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Excellent information once again, thank you!

_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1518s ][ Queries: 11 (0.0070s) ][ Debug on ]