[New Feature] Damage System Enhancement and Custom Immunity #991
Forevershield
started this conversation in
Ideas and feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Currently, you can specify separate injuries to any target through Custom Armor, but if you need to modify the damage that certain types of warheads do to certain targets, it requires a lot of recalculation, which is not very convenient.
So I hope to change this with the following tags.
Rules ini Labels
[VersusGroupTypes]
VersusX=a,b,c,d,e... ; X=0,1,2,3.......
Set an additional set of armor combinations, similar to the original verses combination. When a weapon causes a damage, the damage successively calculates each armor ratio, thus the final damage is calculated. However, if any of these proportions is a special value (0% / 1% / 2%), will be prioritized.
In particular, the “Versus” will be viewed as “Versus0”, participating in subsequent calculations.
If the armor is written here, it is equivalent to being declared in the ArmorTypes List.
[TechnoType]
Armor=plate
ArmorGroup=fire,fly
In the VersusGroupTypes list, an armor in a certain VersusX sublist.
Armour in the same VersusX sublist can only be used once, and armor in different VersusX sublists can be used simultaneously.
In particular, if the armor in a certain VersusX sublist was not used, it was calculated at 100% at Warheads read armor proportions
The maximum number of armor does not exceed the number of VersusX sublist.
[DamageTpyes]
0=fire
1=ice
2=laser
..........
Register here for the damage type, the damage type should be written on the Warheads. When the target holds the corresponding immunity, although the attack can not cause damage, the target can still be actively attacked.
for example:
[VersusGroupTypes]
Versus=fire,ice,rad,laser,HE......
Versus1=inf,land,water,fly,under......
Versus2=aa,bb,cc,dd,ee......
[Warheads]
Verses=0,0,100%,0,0,0,0,0,0,0,0
Versus=50%,0,0,0,0......
Versus1=0,0,0,120%,0......
Versus2=10%,10%,10%,50%,0......
DamageTypes=ice ; The attack caused ice damage
[TechnoType]
Armor=plate
ArmorGroup=fire,fly
ImmunityTo=laser,ice ; Will not be damage by “ice” or “laser”
When the target is attacked by “fly” + “fire”, the final damage should be
Final damage=Weapon damage * 100% (Verses plate) * 50% (Versus0 fire) * 120% (Versus1 fly) * 100% (Versus2 Not used)
When the target is attacked by “ice”, it will not be damage, but will still be actively attacked
Beta Was this translation helpful? Give feedback.
All reactions