I have been searching the forums hoping to locate an answer but I am unable to. I am writing a custom ability that is essentially a copy of the Assassin's death attack for a custom class. There are some additional restrictions etc, but I have one issue. I can't get hero.tagcount[Classes.<myclassname>] to work in the eval script. The whole script is as follows:
Original:
field[abDC].value += 10 + field[xTotalLev].value + hero.child[aINT].field[aModBonus].value + hero.tagcount[Classes.Assassin]
The above works.
However I need to change the "hero.tagcount[Classes.Assassin]" to
count my custom class levels (Adrestia). I cannot find a group to replace "Classes" with that contains the definition for my custom class. I get a syntax error that tells me Adrestia is not defined in the group Classes. I have tried to find a group that works and even looked in the user file's xml to try to get it work.
Is there some group that hero labs puts custom classes in, or some way to count the levels of Adrestia to get this simple little script to compile?
I have attached the .user file for reference. The class is Adrestia
Any help would be appreciated.
Thanks.
Original:
field[abDC].value += 10 + field[xTotalLev].value + hero.child[aINT].field[aModBonus].value + hero.tagcount[Classes.Assassin]
The above works.
However I need to change the "hero.tagcount[Classes.Assassin]" to
count my custom class levels (Adrestia). I cannot find a group to replace "Classes" with that contains the definition for my custom class. I get a syntax error that tells me Adrestia is not defined in the group Classes. I have tried to find a group that works and even looked in the user file's xml to try to get it work.
Is there some group that hero labs puts custom classes in, or some way to count the levels of Adrestia to get this simple little script to compile?
I have attached the .user file for reference. The class is Adrestia
Any help would be appreciated.
Thanks.