Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
302 stars 97 forks source link

Block damage system #1390

Open Coronia opened 2 months ago

Coronia commented 2 months ago

==================================================================================

==================================================================================

In rulesmd.ini:

[SOMETECHNO]                                         ; TechnoType
CanBlock=true                                        ; boolean
Block.Chances=                                       ; list of floating-point values (percentage or absolute) (0.0-1.0)
Block.DamageMultipliers=                             ; list of floating-point values (percentage or absolute)
Block.AffectBelowPercents=                           ; list of floating-point values (percentage or absolute) (0.0-1.0)
Block.AffectsHouses=all                              ; list of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
Block.CanActive.NoFirer=true                         ; boolean
Block.CanActive.Powered=false                        ; boolean
Block.CanActive.ShieldActive=true                    ; boolean
Block.CanActive.ShieldInactive=true                  ; boolean
Block.CanActive.ZeroDamage=false                     ; boolean
Block.CanActive.NegativeDamage=false                 ; boolean
Block.CanActive.Move=true                            ; boolean
Block.CanActive.Stationary=true                      ; boolean
Block.Flash=false                                    ; boolean
Block.Flash.FixedSize=                               ; integer
Block.Flash.Red=true                                 ; boolean
Block.Flash.Green=true                               ; boolean
Block.Flash.Blue=true                                ; boolean
Block.Flash.Black=false                              ; boolean
Block.Anims=                                         ; list of animations
Block.Weapon=                                        ; WeaponType
Block.ReflectDamage=false                            ; boolean
Block.ReflectDamage.Chance=1.0                       ; floating point value
Block.ReflectDamage.Warhead=                         ; WarheadType
Block.ReflectDamage.Warhead.Detonate=false           ; WarheadType
Block.ReflectDamage.Multiplier=1.0                   ; floating point value, percents or absolute
Block.ReflectDamage.AffectsHouses=                   ; list of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
Block.ReflectDamage.Override=                        ; integer

[SOMEWARHEAD]                                        ; WarheadType
Block.Chances=                                       ; list of floating-point values (percentage or absolute) (0.0-1.0)
Block.DamageMultipliers=                             ; list of floating-point values (percentage or absolute)
Block.AffectBelowPercents=                           ; list of floating-point values (percentage or absolute) (0.0-1.0)
Block.AffectsHouses=all                              ; list of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
Block.CanActive.NoFirer=true                         ; boolean
Block.CanActive.Powered=false                        ; boolean
Block.CanActive.ShieldActive=true                    ; boolean
Block.CanActive.ShieldInactive=true                  ; boolean
Block.CanActive.ZeroDamage=false                     ; boolean
Block.CanActive.NegativeDamage=false                 ; boolean
Block.CanActive.Move=true                            ; boolean
Block.CanActive.Stationary=true                      ; boolean
Block.Flash=false                                    ; boolean
Block.Flash.FixedSize=                               ; integer
Block.Flash.Red=true                                 ; boolean
Block.Flash.Green=true                               ; boolean
Block.Flash.Blue=true                                ; boolean
Block.Flash.Black=false                              ; boolean
Block.Anims=                                         ; list of animations
Block.Weapon=                                        ; WeaponType
Block.ReflectDamage=false                            ; boolean
Block.ReflectDamage.Chance=1.0                       ; floating point value
Block.ReflectDamage.Warhead=                         ; WarheadType
Block.ReflectDamage.Warhead.Detonate=false           ; WarheadType
Block.ReflectDamage.Multiplier=1.0                   ; floating point value, percents or absolute
Block.ReflectDamage.AffectsHouses=                   ; list of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
Block.ReflectDamage.Override=                        ; integer
Block.BasedOnWarhead=false                           ; boolean
Block.AllowOverride=true                             ; boolean
Block.IgnoreAttachEffect=true                        ; boolean
Block.ChanceMultiplier=1.0                           ; floating point value
Block.ExtraChance=0.0                                ; floating point value
Block.DamageMult.Multiplier=1.0                      ; floating point value
Block.DamageMult.Bonus=0.0                           ; floating point value
ImmuneToBlock=false                                  ; boolean

[SOMEATTACHEFFECT]                             ; AttachEffectType
Block.ChanceMultiplier=1.0                     ; floating point value
Block.ExtraChance=0.0                          ; floating point value
Block.DamageMult.Multiplier=1.0                ; floating point value
Block.DamageMult.Bonus=0.0                     ; floating point value

[SOMESHIELDTYPE]                            ; ShieldType name
CanBlock=true                               ; boolean
github-actions[bot] commented 2 months ago

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.