Hello all,
 I'm not trying to bring up any of the old threads but as I was
looking through the rom codebase that I had been working on the past
couple of years, I was looking over stock rom trying to remember why I
had done certain things.. However, I also remembered how I had gotten
around different things too..

 This thread was about gsn's mainly.. I think that the original author
of the post went on to mention that he got away from gsn's all
together in a sense and used skill lookups instead. I could be off but
I think that is the jist of it..

 Anyway, There are other ways to get around it. The majority if skill
lookups in rom appear to come from the addition of the skill/spell
groups. But since I removed all of the skill/spell groups instead of
just hiding them during creation, it meant that I had to find another
way to deal with allot of things.. And during this time, I did away
with skill lookups, gsn's and slot numbers all togeather.

I'm not going to post all of the code as it's not that hard to figure
out but if you look at fight.c in Rom, Any of your checks for second
attack prolly look like this:

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.. 

Guess everyone would have thier ideas on this but this is how I do it
and I've never had problems whatsoever.

Chris

Reply via email to