AmyeLuxx
New member
Hi
I'm working on a class system and one of the perks i have for one of my classes is a purity field
its a point dump perk allowing upto 999 points to be added to it (our level cap is 9999)
the idea is one level 1 the feild is unlocked with a 1 block radius and does 1 entity damage witch is working well
however for the other 998 point i want it to increase the range by 0.1 and the damage by 0.1
meaning if someone spent all the points the would have 100 block range and 100 entity damage but i cant get this bit working
<buff name="buffPurityFeild" name_key="buffPurityFeildName" description_key="buffPurityFeildDesc" icon="ui_game_symbol_fire" icon_color="200,200,0" remove_on_death="false">
<stack_type value="replace"/>
<duration value="0"/>
<update_rate value=".7"/>
<display_value_key value="buffPurityFeildEffectNameShort"/>
<display_value value="xxx"/>
<effect_group>
<passive_effect name="BuffBlink" operation="base_set" value="2" duration="0,10" tags="buffPurityFeild"/>
<triggered_effect trigger="onSelfBuffUpdate" action="AddBuff" target="selfAOE" range="1" buff="buffPurityFeildEffect">
<requirement name="!EntityTagCompare" target="other" tags="npc,vehicle,player,turret,drone"/>
</triggered_effect>
<triggered_effect trigger="onSelfBuffStart" action="PlaySound" sound="FireMediumLoop" play_in_head="true"/>
<triggered_effect trigger="onSelfBuffStart" action="FadeOutSound" sound="FireMediumLoop" play_in_head="true"/>
<triggered_effect trigger="onSelfBuffRemove" action="PlaySound" sound="forge_fire_die" play_in_head="true"/>
</effect_group>
</buff>
<buff name="buffPurityFeildEffect" name_key="buffPurityFeildName" description_key="buffPurityFeildEffectDesc" tooltip_key="buffPurityFeildEffectDesc"
icon="ui_game_symbol_fire" icon_color="255,0,0" icon_blink="true">
<damage_type value="heat"/>
<stack_type value="replace"/>
<duration value="10"/>
<update_rate value="1.2"/>
<effect_group>
<passive_effect name="HealthChangeOT" operation="base_subtract" duration="0,10" value="0,50"/>
<triggered_effect trigger="onSelfBuffStart" action="AttachParticleEffectToEntity" particle="p_onFire"/>
<triggered_effect trigger="onSelfBuffRemove" action="RemoveParticleEffectFromEntity" particle="p_onFire"/>
<triggered_effect trigger="onSelfDied" action="RemoveParticleEffectFromEntity" particle="p_onFire"/>
</effect_group>
</buff>
this is the buffs i have for the field
and this is the perks
<perk name="UnlockUndead-Slayer" max_level="1" base_skill_point_cost="100" parent="Class-Undead-Slayer" name_key="Class unlock" desc_key="unlock the power of holy retubution and become an undead slayer" icon="mp_sprint">
<level_requirements level="1">
<requirement name="PlayerLevel" operation="GTE" value="150" desc_key="reqGenericPoints01"></requirement>
<requirement name="ProgressionLevel" progression_name="attPerception" operation="GTE" value="10" desc_key="reqPerceptionLevel10"/>
<requirement name="ProgressionLevel" progression_name="attStrength" operation="GTE" value="10" desc_key="reqStrengthLevel10"/>
</level_requirements>
<effect_group>
<passive_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffPurityFeild"/>
<effect_description level="1" desc_base="class unlock" long_desc_key="unlock the power of holy retubution and become an undead slayer"/>
</effect_group>
</perk>
<!-- point dump to increase range and damage-->
<perk name="Undead-Slayer-Purity-Feild" max_level="999" base_skill_point_cost="1" parent="Class-Undead-Slayer" name_key="Purity Feild" desc_key="Uncrease the potency of the undead slayer" icon="mp_sprint">
<level_requirements level="1">
<requirement name="ProgressionLevel" progression_name="UnlockUndead-Slayer" operation="GTE" value="1" desc_key="reqPerceptionLevel10"/>
</level_requirements>
<effect_group>
<passive_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffPurityFeild"/>
<effect_description level="1,999" desc_base="increase power" long_desc_key="Increase range and damage of the purity feild"/>
</effect_group>
</perk>
could anyone point me in the right direction i think i need t utilize 'ModifyCVar' for it but i haven done much with it so looking for a pointer or to
I'm working on a class system and one of the perks i have for one of my classes is a purity field
its a point dump perk allowing upto 999 points to be added to it (our level cap is 9999)
the idea is one level 1 the feild is unlocked with a 1 block radius and does 1 entity damage witch is working well
however for the other 998 point i want it to increase the range by 0.1 and the damage by 0.1
meaning if someone spent all the points the would have 100 block range and 100 entity damage but i cant get this bit working
<buff name="buffPurityFeild" name_key="buffPurityFeildName" description_key="buffPurityFeildDesc" icon="ui_game_symbol_fire" icon_color="200,200,0" remove_on_death="false">
<stack_type value="replace"/>
<duration value="0"/>
<update_rate value=".7"/>
<display_value_key value="buffPurityFeildEffectNameShort"/>
<display_value value="xxx"/>
<effect_group>
<passive_effect name="BuffBlink" operation="base_set" value="2" duration="0,10" tags="buffPurityFeild"/>
<triggered_effect trigger="onSelfBuffUpdate" action="AddBuff" target="selfAOE" range="1" buff="buffPurityFeildEffect">
<requirement name="!EntityTagCompare" target="other" tags="npc,vehicle,player,turret,drone"/>
</triggered_effect>
<triggered_effect trigger="onSelfBuffStart" action="PlaySound" sound="FireMediumLoop" play_in_head="true"/>
<triggered_effect trigger="onSelfBuffStart" action="FadeOutSound" sound="FireMediumLoop" play_in_head="true"/>
<triggered_effect trigger="onSelfBuffRemove" action="PlaySound" sound="forge_fire_die" play_in_head="true"/>
</effect_group>
</buff>
<buff name="buffPurityFeildEffect" name_key="buffPurityFeildName" description_key="buffPurityFeildEffectDesc" tooltip_key="buffPurityFeildEffectDesc"
icon="ui_game_symbol_fire" icon_color="255,0,0" icon_blink="true">
<damage_type value="heat"/>
<stack_type value="replace"/>
<duration value="10"/>
<update_rate value="1.2"/>
<effect_group>
<passive_effect name="HealthChangeOT" operation="base_subtract" duration="0,10" value="0,50"/>
<triggered_effect trigger="onSelfBuffStart" action="AttachParticleEffectToEntity" particle="p_onFire"/>
<triggered_effect trigger="onSelfBuffRemove" action="RemoveParticleEffectFromEntity" particle="p_onFire"/>
<triggered_effect trigger="onSelfDied" action="RemoveParticleEffectFromEntity" particle="p_onFire"/>
</effect_group>
</buff>
this is the buffs i have for the field
and this is the perks
<perk name="UnlockUndead-Slayer" max_level="1" base_skill_point_cost="100" parent="Class-Undead-Slayer" name_key="Class unlock" desc_key="unlock the power of holy retubution and become an undead slayer" icon="mp_sprint">
<level_requirements level="1">
<requirement name="PlayerLevel" operation="GTE" value="150" desc_key="reqGenericPoints01"></requirement>
<requirement name="ProgressionLevel" progression_name="attPerception" operation="GTE" value="10" desc_key="reqPerceptionLevel10"/>
<requirement name="ProgressionLevel" progression_name="attStrength" operation="GTE" value="10" desc_key="reqStrengthLevel10"/>
</level_requirements>
<effect_group>
<passive_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffPurityFeild"/>
<effect_description level="1" desc_base="class unlock" long_desc_key="unlock the power of holy retubution and become an undead slayer"/>
</effect_group>
</perk>
<!-- point dump to increase range and damage-->
<perk name="Undead-Slayer-Purity-Feild" max_level="999" base_skill_point_cost="1" parent="Class-Undead-Slayer" name_key="Purity Feild" desc_key="Uncrease the potency of the undead slayer" icon="mp_sprint">
<level_requirements level="1">
<requirement name="ProgressionLevel" progression_name="UnlockUndead-Slayer" operation="GTE" value="1" desc_key="reqPerceptionLevel10"/>
</level_requirements>
<effect_group>
<passive_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffPurityFeild"/>
<effect_description level="1,999" desc_base="increase power" long_desc_key="Increase range and damage of the purity feild"/>
</effect_group>
</perk>
could anyone point me in the right direction i think i need t utilize 'ModifyCVar' for it but i haven done much with it so looking for a pointer or to