Jump to content

How do I add new damage types?


AIEND
 Share

Recommended Posts

1 hour ago, Sevda said:

 The directory is simulation/data/damage_types

There will be sample files in public, but the general form of the files is this:

image.thumb.png.21fafc39c9d163af06ff8f32c4a89391.png

I am not entirely sure what order means.

This order is for armors for different damage types, for example I set "thump" to 3.

4563465657.png.0d83a25044d8932ba386000ee7d57669.png

 

Link to comment
Share on other sites

I added the damage type and created two files, but when I added this code to maceman's template the bug still appeared.

  <Attack>
    <Melee>
      <ApplyStatus>
        <Pound>
          <Interval>5000</Interval>
          <Damage>
            <Thump>10</Thump>
          </Damage>
        </Pound>
      </ApplyStatus>
    </Melee>
  </Attack>

67787799.thumb.png.006f4be3865f9c37d5ca0e90186faf07.png

Link to comment
Share on other sites

You have to define the stackability.

Choices are: “Ignore”, which means a new one is ignored, “Extend”, which means the duration of a new one is added to the already active status effect, “Replace”, which means the currently active status effect is removed and the new one is put in place and “Stack”, which means that the status effect can be added multiple times.

(From the Attack.js helper.)

  • Like 1
  • Thanks 1
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
 Share

×
×
  • Create New...