nerdfellow Posted October 12, 2024 Share Posted October 12, 2024 The prefab for the Brightshade Staff uses the prefab brilliance_projectile_fx for the bouncing orb it shoots, and when that orb makes contact it finally spawns a brilliance_projectile_blast_fx prefab which does the actual damage from what I can tell. Thing is, I can't find this brilliance_projectile_blast_fx prefab anywhere in the DST directory in Steam, it's not with the other prefabs I just listed. How do I find and modify this particular script? Link to comment https://forums.kleientertainment.com/forums/topic/160162-modding-brightshade-staff-damage/ Share on other sites More sharing options...
yanecc Posted October 12, 2024 Share Posted October 12, 2024 brilliance_projectile_fx.lua Link to comment https://forums.kleientertainment.com/forums/topic/160162-modding-brightshade-staff-damage/#findComment-1752709 Share on other sites More sharing options...
nerdfellow Posted October 12, 2024 Author Share Posted October 12, 2024 brilliance_projectile_fx.lua is the prefab that spawns brilliance_projectile_blast_fx, from what I can tell, the damage is done in the blast_fx files, not the first fx file. Link to comment https://forums.kleientertainment.com/forums/topic/160162-modding-brightshade-staff-damage/#findComment-1752868 Share on other sites More sharing options...
yanecc Posted October 13, 2024 Share Posted October 13, 2024 The code below defines the planar damage of Brightshade Staff, which is in staff_lunarplant.lua. inst:AddComponent("planardamage") inst.components.planardamage:SetBaseDamage(TUNING.STAFF_LUNARPLANT_PLANAR_DAMAGE) For the simplest way, you could modify the damage just by setting the value of TUNING.STAFF_LUNARPLANT_PLANAR_DAMAGE (default to 10). Link to comment https://forums.kleientertainment.com/forums/topic/160162-modding-brightshade-staff-damage/#findComment-1752898 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now