View Single Post
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old December 12th, 2007, 01:25 PM
DannyBoy2k wrote:
>
>
> Would it be possible to have a level marker for custom abilities?
> 'Available at level X' sort of thing? Or, failing that, how would I go
> about doing this on my own? (It's been 6 months since I used the HL
> editor last...)
>
> And now, Colen is hiding. 'My god, he's BACK!' Wink


aaaaahhhhhhhh! I read your email and immediately left for a weekend in
Houston, I was so terrified.


I'm not sure what you mean by a 'level marker' for custom abilities -
you mean restricting them so they can only be used at a certain level?
Just define a "Pre-req" for the ability, such as:

~ Only valid if we have at least 5 Cleric levels
@valid = 0
if (hero.tagcount[Classes.Cleric] >= 5) then
@valid = 1
endif


Unfortunately there's currently a bug that means the ability won't be
disabled properly in the list. Once we fix that in a future edition,
you'll be good to go.


Hope this helps,

--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
Colen is offline   #2 Reply With Quote