View Single Post
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old December 6th, 2017, 06:16 AM
the sudo code for apply a bonus to damage equal to the character's Intelligence bonus with all firearms is something like:

find intelligence modifier and store in variable.

find all fire arms, and iterate over those (a for each loop)
apply damage modifier to said weapon.
end the for each loop

and you would need to set the timing of that command correctly, Somewhere after post attributes probably.
Minous is offline   #3 Reply With Quote