Jump to content


Photo

Armor ini Problem


  • Please log in to reply
2 replies to this topic

#1 Eazy-E 123

Eazy-E 123
  • Members
  • 72 posts

Posted 13 July 2019 - 06:47 PM

Hi people,

 

I was testing some codes for Armor and it doesn't worked.

ModifierList Test 

  Category = SPELL  

  Modifier = ARMOR 50% PIERCE 

  Modifier = ARMOR 30% SPECIALIST   //2*

  Modifier = ARMOR 15% SLASH            //3*

  Duration = 40000

  ReplaceInCategoryIfLongest = No

  IgnoreIfAnticategoryActive = Yes

End

 

This is for Skill, it isn't Passive Stuff.

I want that unit have more Armor Agaisnt Archers then Agaisnt Pikmen and then Agaisnt Fighter.

Problem with this code My Hero gets ARMOR 15% and not ARMOR 50% PIERCE.

 

When I remove 2* et 3*, my Hero gets ARMOR 50% PIERCE and in the end he had more HP.

 

So, how can I fix it ?
I would like that my hero had differnet ARMOR agaisnt different Units.

If you can help me, I will be Glad, Thanks  :)



#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 23 July 2019 - 07:39 AM

That's not how this works, you can only change the total armor by a percentage, not specific types.. (it's rather surprising that your code doesn't throw an error though)
So you would have to trigger a temporary armorset if you want more specific changes like you say up there.

Edited by Ridder Geel, 23 July 2019 - 07:39 AM.

Ridder Geel

#3 Eazy-E 123

Eazy-E 123
  • Members
  • 72 posts

Posted 30 July 2019 - 04:59 PM

That's not how this works, you can only change the total armor by a percentage, not specific types.. (it's rather surprising that your code doesn't throw an error though)
So you would have to trigger a temporary armorset if you want more specific changes like you say up there.

Thaks for info






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users