#Status effect is being triggered twice for reasons I can't fathom.

51 messages · Page 1 of 1 (latest)

solar crest
#

Here's the relevant files.

#

Status Effect:

  "name" : "knightfall_healinggrenadeheavy",
  "effectConfig" : {
    "healAmount" : 150,
    "emissionRate" : 10
  },
  "defaultDuration" : 1.5,

  "scripts" : [
    "/stats/effects/heal/heal.lua"
  ],

  "animationConfig" : "/stats/effects/heal/heal.animation",

  "label" : "Healing",
  "icon" : "/interface/statuses/knightfall_healing.png"
}
frank magnet
#

Divide the effects by two and make it into a feature:3

solar crest
#

knightfall_healingexplosion
Placeholder projectile used for defining the bounding box for which the healing can be administered in.

  "projectileName" : "knightfall_healingexplosion",
  "physics" : "statuspod",
  "bounces" : -1,
  "speed" : 0,
  "image" : "image.png",
  "animationCycle" : 0.2,
  "timeToLive" : 0.2,
  "frameNumber" : 4,
  "power" : 0,
  "piercing" : true,
  "flippable" : true,
  "damageKind" : "noDamage",
  "damageType" : "ignoresdef",
  "damageTeam" : { "type" : "indiscriminate" },
  "damagePoly" : [ [-60, -60], [-60, 60], [60, 60], [60, -60]  ]
}
frank magnet
#

Idk if it's completely hopeless just try setting every variable individually to twice the value and see how it affects it

solar crest
#

What?

frank magnet
#

Meant like

#

Go through every number variable

#

Multiply it by two

#

Test

#

Return, set the variable back to normal, move to the next one

solar crest
#

What good would that do?

frank magnet
#

If something of it just sudden lly affects the amount of times the effect is triggered

#

Look into it

solar crest
#

Status effect is being triggered twice for reasons I can't fathom.

frank magnet
#

Like you multiply a random variable by two and suddenly the effect applies 4 times instead

#

Idk

tiny quiver
#

I feel like this is just gonna end up being a limitation in the code

frank magnet
#

I don't even know starbound modding but this should be the ultimate solution to anything

#

In coding

#

And not

solar crest
#

I... still don't get how that's supposed to help.

frank magnet
#

It will specify where the problem lies

#

Probably:]

solar crest
#

Wouldn't that just broaden the issue?

frank magnet
#

Why

solar crest
#

Okay, I'm gonna try whatever this you suggested.

frank magnet
#

I wanna understand what you say would being a problem instead

solar crest
#

Can you just drop it because I just wanna get this shit fixed and I don't have time to argue.

#

I've been at this for 1 hr now and I have things I need to get done.

frank magnet
#

I'm not arguing I just think you don't understand what I meant

#

And that would only make it worse

#

By far

solar crest
#

OKAY OKAY CAN WE JUST MOVE ON.

frank magnet
#

Bruh I'm not arguing 😭

solar crest
#

MOVE ON.

#

SHUT THE FUCK UP.

#

Okay, testing stuff now.

frank magnet
#

I just think I understand how you could misread my advise in a way that would make following it ruin everything instead

#

You should also say in main chats that you have this thread in here too, so that more people notice the issue

solar crest
#

Just, ugh.

#

They're too busy arguing and I'd rather not interject.

frank magnet
#

Well

solar crest
#

Can you like just leave this chat please.

frank magnet
#

Ok

solar crest
#

Ugh.

#

Lovely.