I'm trying to make the DoT from radiation bomb stack, but for some reason it isn't working.
The two files that need changing are these ones:
BuffRadiationBombSpreader.entity
BuffRadiationBombDamage.entity
The first one deals the instant damage and applies a 20 sec "aura" to the target. Every 2.5 sec, that aura applies the second entity (BuffRadiationBombDamage.entity) to nearby targets (including the initial target). That second buff is the DoT and it lasts 5 sec.
What I did:
BuffRadiationBombSpreader.entity
...
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
...
BuffRadiationBombDamage.entity
...
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit 256
allowFirstSpawnerToStack FALSE
...
I set unlimited stacking for the first entity because I want the Radiation Bomb to be stackable on the same target, so that it has multiple "auras". I set the the second entity to a big finite number because I don't want the limit to be a problem, but the game will crash if it's set to infinite while allowFirstSpawnerToStack is set to FALSE.
Setting it to -1 and removing the FirstSpawner attribute will basically allow one spawner to duplicate the dot with itself. (2 times because the duration is 5 and the tick is 2.5).
According to these settings, it should work but for some reasons it doesn't. Any advice?
VzioNARY