AIEND Posted April 1, 2022 Share Posted April 1, 2022 I want to add a "thump" damage to maceman, similar to "fire" or "poison", what file do I need to create for this? Link to comment Share on other sites More sharing options...
Stan` Posted April 1, 2022 Share Posted April 1, 2022 @Freagarach Link to comment Share on other sites More sharing options...
Yekaterina Posted April 1, 2022 Share Posted April 1, 2022 The directory is simulation/data/damage_types There will be sample files in public, but the general form of the files is this: I am not entirely sure what order means. 1 Link to comment Share on other sites More sharing options...
AIEND Posted April 1, 2022 Author Share Posted April 1, 2022 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: I am not entirely sure what order means. This order is for armors for different damage types, for example I set "thump" to 3. Link to comment Share on other sites More sharing options...
AIEND Posted April 1, 2022 Author Share Posted April 1, 2022 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> Link to comment Share on other sites More sharing options...
Freagarach Posted April 1, 2022 Share Posted April 1, 2022 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.) 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now