Proficiency Bonus on an item
Hi all,
I'm trying to create a ring that gives a general proficiency bonus to a char. But i have tried to find out the coding behind it but i'm not too great in programming, could someone provide me the code to insert so the bonus is Added to all the stats where proficiency comes into play ? Thanks in advance, Imastir |
This is a head scratcher.
It should be as easy as: Code:
hero.child[ProfBonus].field[Bonus].value += 1 You can try a workaround like: Timing - post-attributes/10000 Code:
doneif (field[gIsEquip].value = 0) |
Followup, I figured out you can manipulate the end total directly, just not the way that makes the most sense:
Post-levels/10000 timing: Code:
doneif (field[gIsEquip].value = 0) |
Wow, thanks for the quick response, the last code seems to work :D
Saves, abilities, spell casting,... all seem to change correctly. Thanks for that, wouldn't have figured it out by myself Ty, Imastir |
Awesome! Thanks Dungeonguru!
|
Guru, I'm curious how your code will interact with stuff like Jack of All Trades and Remarkable Athlete. Granted, I'm not sure OP has thought about that either. Just something to mull over.
|
One way to find out is to play with the Proficincy adjustment added by ShadowChemosh. :)
|
@Fenris477: Jack of all Trades & Remarkable Athlete add the tag Helper.ProfHalf to the skills at post-level 10000. The timing of my example is set at the same time, so I suspect it would be better to run the proficiency adjustment earlier than Post-Level 10000. :D
@Mergon: I forget about the adjustments, but I see ShadowChemosh put his in during the First timing phase. ALSO, as a disclaimer, I don't use the community files so I forget to look at them unless I hit something I can't figure out after fooling with it for a while. End of day, should probably run it when ShadowChemosh puts it in timing although in my mind there are some reasons to run it post-levels (maybe at 5000). |
<smile>
|
All times are GMT -8. The time now is 02:24 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.