Jump to content

Does someone can help me to repair Perplexing Sap?


Recommended Posts

I'm really confuse with this ability, according to the description the effect on the target should be a "spirit-frenzy-like" confusing effect, then targetting an ennemy or an other party member should make him as a Berserker-like which confuse on attack. I looked in the statuseffects.gamedatabundle, for beeing more disapointed than before :

 

{"$type":"Game.GameData.StatusEffectGameData, Assembly-CSharp","DebugName":"Perplexing_Sap_SE_ApplyOnEvent","ID":"899f944c-bbf6-4d12-aad8-1cc374b7cc58","Components":[{"$type":"Game.GameData.StatusEffectComponent, Assembly-CSharp","StatusEffectType":"ApplyStatusEffectToEnemyOnEvent","OverrideDescriptionString":-1,"OverrideDescriptionStringTactical":-1,"UseStatusEffectValueAs":"None","BaseValue":0,"DynamicValue":{"Stat":"None","SkillDataID":"00000000-0000-0000-0000-000000000000","ClassID":"00000000-0000-0000-0000-000000000000","MultiplyBy":1,"Operator":"Add"},"KeywordsIDs":[],"DurationType":"UseDurationTime","Duration":30,"MaxStackQuantity":0,"ApplicationBehavior":"UseLongerDurationIfAlreadyApplied","ApplicationType":"ApplyOnStart","IntervalRateID":"00000000-0000-0000-0000-000000000000","StackedChildrenApplyEffects":"false","InclusionConditions":{"Operator":0,"Components":[]},"ApplicationPrerequisites":{"Conditional":{"Operator":0,"Components":[]}},"TriggerAdjustment":{"TriggerOnEvent":"None","TriggerOffEvent":"None","ValidateWithAttackFilter":"false","ParamValue":0,"ValueAdjustment":0,"DurationAdjustment":0,"ResetTriggerOnEffectTimeout":"false","MaxTriggerCount":0,"IgnoreMaxTriggerCount":"false","RemoveEffectAtMax":"false","ChanceToTrigger":1},"PowerLevelScaling":{"UseCharacterLevel":"false","BaseLevel":0,"LevelIncrement":1,"MaxLevel":0,"ValueAdjustment":0,"DurationAdjustment":0},"IsHostile":"true","ClearOnCombatEnd":"false","ClearOnRest":"false","ClearOnFoodRest":"false","ClearWhenAttacks":"false","ClearOnDeath":"false","HideFromCombatTooltip":"false","HideFromCombatLog":"false","HideFromUI":"false","HideIfNoValue":"false","VisualEffects":[],"MaterialReplacementID":"00000000-0000-0000-0000-000000000000","AttackFilter":{"KeywordsIDs":[],"KeywordLogic":"Or","Race":"None","IsKith":"false","HealthPercentage":0,"HealthOperator":"EqualTo","Range":"None","ClassTypeID":"00000000-0000-0000-0000-000000000000","Source":"None","DefendedBy":"None","Empowered":"false","Disengagement":"false","Stealthed":"false","UseStealthLinger":"false","PowerLevel":0,"PowerLevelOperator":"EqualTo","ChanceToApply":1,"AttackHostility":"Default","TargetType":"None"},"AttackTargetFilter":{"KeywordsIDs":[],"KeywordLogic":"Or","Race":"None","IsKith":"false","HealthPercentage":0,"HealthOperator":"EqualTo","Distance":0,"DistanceOperator":"EqualTo","HasDOT":"false","IsMarked":"false","TargetHostility":"Default"},"ExtraValue":0,"OverridePenetration":0,"DamageTypeValue":"All","KeywordValueID":"00000000-0000-0000-0000-000000000000","RaceValue":"None","StatusEffectTypeValue":"None","ItemValueID":"00000000-0000-0000-0000-000000000000","AfflictionTypeValueID":"00000000-0000-0000-0000-000000000000","StatusEffectsValueIDs":["41e68710-7a5b-41d9-96aa-14ebd0c86aa6"],"AttackValueID":"00000000-0000-0000-0000-000000000000","AttackOverrideValue":"None","EventValue":"OnScoringGrazeHitOrCriticalHit","ClassValueID":"00000000-0000-0000-0000-000000000000","WeaponTypeValue":"None","AttackHitType":"None","SkillValueID":"00000000-0000-0000-0000-000000000000","AudioEventListID":"00000000-0000-0000-0000-000000000000","BedRestDaysMinimum":0,"BedRestDaysMaximum":0}]},

 

In regular white color, I can see that is exactely the same text than for the Community Patch Extra spirit frenzy "Spirit_Tornado_SE_AttacksCauseStagger", and in blue, the part of the text edited in the Balance Polishing Mod : there is here a difference, the  "TargetHostility": "Hostile".

I tried with this change to apply on one other of my characters, that didnt work as expected : the applyonevent never happened, except when his Unstable Coil trigger on death. Then everyone in the AoE turned to confuse. 

I try after that to change the Perplexing_Sap_SE_EnemyConfused Event value with OnScoringGrazeHitOrCriticalHit insteed of OnApply. The only in game change was the Unstable Coil proc that didnt apply anymore confuse.

Then, does someone can help me to fix it?

 

Edit : This is finally close to fine, I change the DamageTypeValue to None in addition to the EventValue to OnScoringGrazeHitOrCriticalHit in the Perplexing_Sap_SE_EnemyConfused chapter. After some reflexions, it appears the "Perplexing_Sap_SE_ApplyOnEvent" is the Rogue status attack wich turn the target on Perplexing_Sap_SE_EnemyConfused, the frenzy-like status effect that apply a regular confused status to their targets. The problem I meet is the Perplexing_Sap_SE_EnemyConfused character is supposed to confuse on attack for the whole duration of the effect, but that work just for some hits (in my test, the perplexing sapped character (from my party) is able to confuse everyone else Out of Combat. But one enemy in combat. After that, he keep the hostile effect but that's all).

It is the first time I try to deal with the game code, this is why I ask some help.

Edit : It is finally done, see in comment

Edited by Constentin Lévine
Link to comment
Share on other sites

I think you need to change ApplyStatusEffectToEnemyOnEvent to ApplyStatusEffectToTargetOnEvent if you want it to affect allies.

Edit: Wait, no, that's not the issue here, that's only relevant for AttackEnemyOnEvent vs AttackTargetOnEvent. My bad.

Edited by Testlum
  • Like 1
Link to comment
Share on other sites

It is finally done : cl.rogue.Perplexing_Sap.gamedatabundle

I changed the " Boolean is friendly" to nothing in the Perplexing_Sap_SE_EnemyConfused chapter, like for the Frenzy Applyonevent. That mean you get a StaggeredOnEvent-like effect with attack, only on attack (no on AoE buffing friendly spells). Work as intended for every Perplexing Sap target : an ennemy Sapped is going to confuse your team on attack. Like for Frenzy, a not ennemies-only spell (great maelstrom for exemple) cause now Confused to everyone.

On yourself, if you remove the regular Confusion effect from Perplexing sap by Intellect resistance, you will not confuse your party anymore with Foe-only spells. Really like Berserker Frenzy.

 

The "Boolean is friendly" is weird because even confused, an ennemy doesnt become Friendly.

Edited by Constentin Lévine
  • Thanks 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...