Senior Member
Volunteer Data File Contributor
Join Date: Jan 2007
Posts: 591
|
I want to create a weapon accessory that adds +2 to the base damage and improves the critical range by 1.
How do I do that? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
I just realised that the editor isn't really set up to do weapon accessory creation right now, but here's how you can do it:
1) In the editor, go to the Equipment tab. Make a copy of an existing accessory, such as the Suppressor. 2) Change the name, unique id, cost etc appropriately. 3) Now you need to add a script that changes the base damage and critical range. Click the "Eval Scripts" button and add a script with a phase / priority of around "Traits Calculation" / "50000": Code:
parent.field[atkDC].value += 2 parent.field[atkCrit].value -= 1 |
#2 |
|
|