Making new material
1 Attachment(s)
Hey, I am trying to make a new material for weapons. I thought I had it figured out but now I am getting an error. The material adds +1 to hit and damage but that isn't a magical property or enhancement bonus. It should stack with everything. I took the code from another ablity and copied the phase and priority
Code:
Phase Post-level (users) Priority 1100 Code:
Phase Post-Attributes (Users) Priority 5000 Index 1 |
Maybe avoid the different (users) phases. LWD has advised against using them at this point, and indeed I have run into strange problems in the past because of them
|
I copied the phases from the code I duplicated. I got my red steel script from Gehennan Morghuth-Iron. I used the same phases and timing. My bow I modified is a duplicate of the elven bow same phases for the script. I only mentioned the phases to help with error checking.
|
Alchemical Silver uses the phase First/20000. I would try that and see if that changes anything.
If that doesn't work, we'll need to look at how you are creating the bow and applying the material. Alternatively, you can also just use adjustments to apply the bonuses. |
It doesn't work as I get the same error. The bow is a duplicate of the Bow of Elvenkind with the this bit taken out. Everything else is the same except the description text.
Code:
~ If we're not a elf, get out now |
Quote:
|
Yeah I was putting it directly into the item. That was the question I am asking is how to add it directly. I couldn't find an example to copy from.
Sigh, after looking closely at magical weapon it seems I can add a bonus to hit and to damage in the fields. I can modify my item that way. |
Quote:
Code:
field[wDamBonus].value += 1 |
I couldn't get the script to work but on magic weapons you can add bonuses with a field.
Code:
field[wDamBonus].value += 1 Thanks for any suggestions. |
Quote:
|
All times are GMT -8. The time now is 04:32 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.