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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...