AIEND Posted April 1, 2022 Report 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? Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 1, 2022 Report Share Posted April 1, 2022 @Freagarach Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted April 1, 2022 Report 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 Quote Link to comment Share on other sites More sharing options...
AIEND Posted April 1, 2022 Author Report 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. Quote Link to comment Share on other sites More sharing options...
AIEND Posted April 1, 2022 Author Report 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> Quote Link to comment Share on other sites More sharing options...
Freagarach Posted April 1, 2022 Report 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.