I'm looking to add in a "temper" command, as in do_temper.
What I want it to do is check what class the character is, then check if they have/are wielding a weapon of a certain vnum (each class can "forge" a lowbie weapon designed for that class).
If they are, I want the player to be able to "temper" stats to the weapon if they are in a certain roomvnum (a forge).
I envision the command working like: "temper sword strength"
and if the above conditions are met, would check the players practices, if they have enough, it would take the amount set from the player and upgrade the statistic of the item by one. To... say a maximum of 3 per stat (str/dex/con/int/wis/cha/lck). And maybe a hr/dr too.
I'll try to come up with something code wise, right now its more of an idea I would like some guidance with. I don't think it is beyond my skill to code. I guess I was just hoping someone might be able to show me an example of something like it, or give me some pointers/reference of code to look at to get me started.
The "forge" command to invoke the class weapon is done, it was pretty easy. I looked at the code for supplication, and yeah.
What I want it to do is check what class the character is, then check if they have/are wielding a weapon of a certain vnum (each class can "forge" a lowbie weapon designed for that class).
If they are, I want the player to be able to "temper" stats to the weapon if they are in a certain roomvnum (a forge).
I envision the command working like: "temper sword strength"
and if the above conditions are met, would check the players practices, if they have enough, it would take the amount set from the player and upgrade the statistic of the item by one. To... say a maximum of 3 per stat (str/dex/con/int/wis/cha/lck). And maybe a hr/dr too.
I'll try to come up with something code wise, right now its more of an idea I would like some guidance with. I don't think it is beyond my skill to code. I guess I was just hoping someone might be able to show me an example of something like it, or give me some pointers/reference of code to look at to get me started.
The "forge" command to invoke the class weapon is done, it was pretty easy. I looked at the code for supplication, and yeah.