Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Skills!



> Having a multitude of weapon skills becomes fairly difficult to program.
>Either you need to have space for all the potential weapons in the player
>structure (which would be a lot), or some other method needs to be found
>to keep track of the skill levels.

> Keeping track of the specific weapon skills in the player also has the
>disadvantage of new weapons being added.  If there is a set amount of
>space, and someone adds a new weapon, things really get more complicated.

Can't this be done pretty dynamically? For example (playerfile excerpt) :

-snip-
skillist begin 3
skill broadsword
level 3
endskill
skill pick_pocket
level 2
endskill
skill path_fire
level 6
endskill
endskillist
-snip-

Or something similar.

- Bjorn