• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Increasing damage of weapon

Viking698

Active member
I want to add a special ability that weapons can chose. Basically it will increase the weapons damage die by 1 step. So a dagger would go from a d4 to a d6.

I'm trying to add this under the item power tab, so it can be chosen as a special ability of the weapon. Not sure if there is a way to do this or not.

I would like to expand on the ability so later on may I can have a weapon move up by 3 damage die, but there is a slight click in the plan. I want the first damage increase to be just cost gold while the other 2 increase would be +1 and +2 for magic determination.

Thanks

Viking
 
Are you talking about increasing by die size d4->d6->d8->d10->d12 or are you talking about doing the damage progression per size increases?
 
Yeah talking about d4 -> d6 -> d8 -> d10 -> d12. Just not sure if you can make a magical item have the first chose be a gp value and then choices be a +1 to +4 equivalent.

Viking
 
You'd have to create an if statement that checks the die type and assigns the appropriate tag and then make multiple abilities and just have the lower ones be prereqs of the previous ones I believe.
 
You'd have to create an if statement that checks the die type and assigns the appropriate tag
I would simply add one to the wDamage field to increase the die size. That's what the spell adjustments Gravity Bow are doing. This way you don't care what the die size is we just increase to use the next die size up.

Then each Item Power Thing can just add one to parent.container.
 
Ok thanks for the help. Not sure how to actually do it but I'm still poking around the editor trying things. Trying to set aside time to read up more on how the editor work.
 
Aaron, while that was my initial thought it doesn't work because I dont think it follows the dice progression he wants. I think it goes 1d8-1d10-2d6 and not 1d12. I could be wrong but that's how I was reading it.
 
While I would like to follow up to the D12 die, if I have to do the normal progress that is fine by me. Still wonder why the progression isn't d4 to d12 then switch to doing d6's of damage, never made any sense to me.
 
Well in all honesty, 2d6 is better than 1d12 when you look at what you can roll on the dice (ie you roll a 2-12 instead with an average of 7 as opposed to a 1-12 average of 6.5)
 
Well in all honesty, 2d6 is better than 1d12 when you look at what you can roll on the dice (ie you roll a 2-12 instead with an average of 7 as opposed to a 1-12 average of 6.5)
Yep. Its why increasing the die size of a bastard sword is so nice. You go from 1d10 to 2d8!
 
Yeah seen that before, still funny.

Ok I know I have to go into the editor then equipment tab and finally item power tab.

I can get just the basics into the system. I have no clue where to go from there. I'm guess something needs to be put some where, but yeah I'm lost.

Point me in the right direction.
 
On the item power tab, create DamageBump1 as your first power. Give it a GP cost equal to whatever you feel is appropriate. In the eval scripts give it something like this:

First 10000
Code:
~ Bump the damage of our containing weapon 1 step
perform parent.assign[Helper.DamageUp]

Then duplicate that power, and rename it to DamageBump2, give it a different unique ID. Change the cost from gold to a +1 bonus, and add a pre-req that requires DamageBump1 present on the same weapon.

Last, duplicate again, call it DamageBump3, change the cost to +2 bonus, and change the prereq to require the 2nd power in the line.

Obviously, use whatever is appropriate in place of DamageBump
 
Ok between work a RL I will not be able to test this out for a couple weeks. I will let you know once I have tested it.

I know it should be easy enough to do but the last time I had to program anything, I was using basic.
 
Ok manage to get back to working on this, so far it works yeah, thanks everyone.

The next question is how to I increase the damage die for a weapon selected without having a pre-req? I have been looking around the editor but totally lost.

Basically I want a item power that can be picked that will allow you to increase the damage die of a weapon by up to 5 steps. Sorry for not making myself clear.

Thanks

Viking698
 
Last edited:
I don't think that's easily possible, unfortunately. I don't recall there being any incrementers allowed in that limited space where they are shown. I guess you could use the custom text field and do a string compare, but that is very inefficient (string compares are generally avoided) and prone to failure if the user types something you aren't expecting.
 
Ok, well at least it works for the 1st step. I will just have to write it down on paper. Oh well I will live. Thanks for the help.

Viking698
 
Back
Top