> Hello,
> You really can't base your reply or thoughts on the fact that you
> think I too would be using a stock system..

I didn't make any assumptions about how your game works.  In fact, I
don't think it's pertinent at all.  I was commenting on your code
suggestion, which isn't anywhere near helpful:

> chance = get_skill(ch,gsn_second_attack)/2;
> So if you want to do it differently, do this,
> chance = ch->pcdata->learned[second_attack]/2;
> See... No gsn check and no get_skill check..

Unless you're working some voodoo beyond me, in that line of code,
second_attack has still somehow gotta be set to the right index in the
learned[] array.  As far as I can tell, it will still pose the same
problem of being loaded from a file as a regular gsn, which is what
this thread was about.

--Palrich.

Reply via email to