Modding Help Is there a way to make there is a chance of projectile not appearing in actionOnReap?

Discussion in 'Starbound Modding' started by xaliber, Aug 13, 2017.

  1. xaliber

    xaliber Scruffy Nerf-Herder

    Normally, we'd use this to make something appears after a projectile dies out:

    Code:
      "actionOnReap" : [
        {
          "action" : "projectile",
          "type" : "firepart2",
          "fuzzAngle" : 0,
          "inheritDamageFactor" : 0.0,
          "angleAdjust" : 35
        }
      ]
    But, that way, firepart2 is guaranteed to appear after the projectile dies out. I want to make it so that there is a probability that firepart doesn't appear and nothing happens after the projectile dies out. Would it be possible?

    I appreciate the help! :)
     

Share This Page