TobyFox2002
Well-known member
I found a slight problem, I have a player in my game who wants to use the Eternal Blade from Tome of Battle, so I thought I'd create the prestige so he could use it. Well come to find out that the Initiator levels are calculated in such a way that it is hard coded, which makes it rather difficult to create prestige classes that function in tandem with this mechanic. I have included the code that I think is causing the problem below.
Above it is using the Variable init and making that the level count of the three classes. I was wondering would there be a way to make it check for say... a User tag and if the class has the user tag then it has an initiator level from there it would count the total number of class levels from that.
That way people could create classes based on this mechanic instead of having to update the xInitiator special every time a new PrC is added (and allow people to create homebrew classes based on this concept without need for preclude, hide or replace.
Edit: Hrm, come to find out that some PrCs use half class levels as the initiator level as do some feats, I can see where that might get a little tricky.
Code:
var init as number
var half as number
var total as number
init = #levelcount[Crusader] + #levelcount[Swordsage] + #levelcount[Warblade]
half = herofield[tLevel].value - init
half = half/2
half = round(half,0,-1)
total = init + half
total = maximum(total,1)
field[Value].value = total
Above it is using the Variable init and making that the level count of the three classes. I was wondering would there be a way to make it check for say... a User tag and if the class has the user tag then it has an initiator level from there it would count the total number of class levels from that.
That way people could create classes based on this mechanic instead of having to update the xInitiator special every time a new PrC is added (and allow people to create homebrew classes based on this concept without need for preclude, hide or replace.
Edit: Hrm, come to find out that some PrCs use half class levels as the initiator level as do some feats, I can see where that might get a little tricky.