Howdy, all. I apologize in advance for my lack of expertise with the Editor.
I've built a number of custom firearms in the Editor, the damage of which I want to modify based on the type of ammunition they're using. I'm trying to go about this by creating an Item Power for each special type of ammunition that's enabled whenever the character loads a new type of ammo. As you may expect, I've had a couple of problems.
My first problem is this: the weapon in question has damage of 2d6. The Item Power is meant to drop the weapon's damage to 2d4. However, every time I try to do so, I end up stepping down on the Tiny weapon damage cascade (1d10, 1d8, etc.) rather than the Medium (on which a single step down would be 2d4).
I'd love to know how to assign a particular damage cascade, but what I really need is the most elegant way to simply step down the weapon's damage die size (via this Item Power).
At the moment, eval script is:
My second problematic Item Power is meant to increase the damage die size of the weapon by one step (from 2d6 to 2d8, for example), as well as to increase the critical multiplier by 1.
As is already clear, I'm totally in the dark about all this, but I've been poring over the Editor tutorial and forum posts all night. Any help would be appreciated. Thanks everyone!
I've built a number of custom firearms in the Editor, the damage of which I want to modify based on the type of ammunition they're using. I'm trying to go about this by creating an Item Power for each special type of ammunition that's enabled whenever the character loads a new type of ammo. As you may expect, I've had a couple of problems.
My first problem is this: the weapon in question has damage of 2d6. The Item Power is meant to drop the weapon's damage to 2d4. However, every time I try to do so, I end up stepping down on the Tiny weapon damage cascade (1d10, 1d8, etc.) rather than the Medium (on which a single step down would be 2d4).
I'd love to know how to assign a particular damage cascade, but what I really need is the most elegant way to simply step down the weapon's damage die size (via this Item Power).
At the moment, eval script is:
Code:
~ Drops the shotgun damage
if (container.ishero = 0) then
container.parent.field[wDamage].value -= 1
endif
My second problematic Item Power is meant to increase the damage die size of the weapon by one step (from 2d6 to 2d8, for example), as well as to increase the critical multiplier by 1.
As is already clear, I'm totally in the dark about all this, but I've been poring over the Editor tutorial and forum posts all night. Any help would be appreciated. Thanks everyone!
Last edited: