scardoc;Modifiers

scardoc;Modifiers
Functions

 Modifier_IsEnabledOnEGroup( EGroupID egroup, String modifier, String modtype, Boolean all, Boolean bEnabledByDefault )
 

检查修改器是否在实体组中的所有或任意实体上启用【功能:检查修改器状态】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (216) 

 Modifier_Remove( modids modifier )
 

移除一个已应用的修改器【功能:移除修改器】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (108) 

 Modifier_RemoveAllFromEGroup( EGroupID egroup )
 

移除指定实体组上所有SCAR应用的修改器【功能:移除实体组所有修改器】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (199) 

 Modifier_RemoveAllFromSGroup( SGroupID sgroup )
 

移除指定小队组上所有SCAR应用的修改器【功能:移除小队组所有修改器】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (179) 

 Modify_AbilityCastTime( PlayerID player, AbilityID ability, Real scalefactor, Integer OPT_mathtype )
 

修改技能的施法时间【功能:修改技能施法时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1604) 

 Modify_AbilityChannelingTime( PlayerID player, AbilityID ability, Real scalefactor, Integer OPT_mathtype )
 

修改技能的引导时间【功能:修改技能引导时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1618) 

 Modify_AbilityDelayTime( PlayerID player, AbilityID ability, Real scalefactor )
 

修改技能的初始延迟时间【功能:修改技能延迟时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1641) 

 Modify_AbilityDurationTime( PlayerID player, AbilityID ability, Real scalefactor )
 

修改技能的持续时间【功能:修改技能持续时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1676) 

 Modify_AbilityMaxCastRange( PlayerID player, AbilityID ability, Real scalefactor )
 

修改技能的最大施法距离。注意:假设技能执行的动作也能处理修改后的距离【功能:修改技能最大施法距离】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1665) 

 Modify_AbilityMinCastRange( PlayerID player, AbilityID ability, Real scalefactor )
 

修改技能的最小施法距离。注意:假设技能执行的动作也能处理修改后的距离【功能:修改技能最小施法距离】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1653) 

 Modify_AbilityRechargeTime( PlayerID/EntityID/SquadID player/entity/squad, AbilityID ability, Real scalefactor, Integer OPT_mathtype )
 

修改技能的充能时间【功能:修改技能充能时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1584) 

 Modify_Armor( EGroupID group, Real scalefactor, Boolean OPT_exclusive )
 

修改小队或实体的护甲【功能:修改护甲值】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (994) 

 Modify_CaptureTime( EGroupID egroup, Real scalefactor )
 

修改实体组中所有战略点的占领时间【功能:修改战略点占领时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1486) 

 Modify_CoverCaptureTime( EGroupID egroup, Real scalefactor )
 

修改实体组中所有掩体对象的占领时间。数值越高=占领时间越短【功能:修改掩体占领时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1514) 

 Modify_DisableHold( EGroupID group, Boolean disable )
 

启用或禁用实体组或小队组的驻守功能【功能:控制驻守功能】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1817) 

 Modify_EnableCamoflage( EGroupID group, Boolean disable )
 

启用或禁用实体组或小队组的伪装能力【功能:控制伪装能力】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1855) 

 Modify_EntityBuildTime( PlayerID playerId, String ebp, Real scalefactor )
 

修改建造特定实体蓝图(EBP)所需的时间。仅影响指定玩家【功能:修改实体建造时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (227) 

 Modify_EntityConstructionTime( EGroupID group, Integer Factor, MUT Usage (MUT_Multiplication )
 

修改实体的建造时间【功能:修改实体建造时间】

Should only be used on entities, NOT squads

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (452) 

 Modify_EntityCost( PlayerID player, String blueprint, Integer resourceType, Real scalefactor, Integer mathtype, Boolean OPT_exclusive )
 

修改指定玩家的实体(或小队)蓝图成本【功能:修改实体成本】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1690) 

 Modify_EntityHealthRegen( EGroupID group, Integer Factor, MUT Usage (MUT_Multiplication )
 

修改实体的生命值恢复速率【功能:修改生命恢复】

Should only be used on entities, NOT squads

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (489) 

 Modify_EntityMaxHealth( EGroupID group, Integer Factor, MUT Usage (MUT_Multiplication )
 

修改实体的最大生命值【功能:修改最大生命值】

Should only be used on entities, NOT squads

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (380) 

 Modify_EntitySelectionName( EGroupID group, Integer value, MUT Usage (MUT_Set) )
 

修改实体的选择名称【功能:修改选择名称】

Should only be used on entities, NOT squads

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (423) 

 Modify_EntityTypeSightRadius( PlayerID player, String blueprint, Real scalefactor )
 

修改指定玩家某类实体的视野半径(包括现有和未来单位)【功能:修改实体类型视野】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1200) 

 Modify_PlayerExperienceReceived( PlayerID player, Real factor )
 

修改玩家获得的老练经验值【功能:修改经验获取】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1806) 

 Modify_PlayerProductionRate( PlayerID sgroup, Real scalefactor )
 

修改玩家的生产速率【功能:修改生产速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1569) 

 Modify_PlayerResourceCap( PlayerID playerId, Integer resourceType, Real scalefactor, Integer OPT_mathtype )
 

修改玩家的资源上限。可用数学类型为MUT_Multiplication(乘法)、MUT_Addition(加法)【功能:修改资源上限】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (359) 

 Modify_PlayerResourceRate( PlayerID playerId, Integer resourceType, Real scalefactor, Integer OPT_mathtype )
 

修改玩家的资源获取速率。可用数学类型为MUT_Multiplication(乘法)、MUT_Addition(加法)【功能:修改资源获取速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (338) 

 Modify_PlayerSightRadius( PlayerID player, Real scalefactor )
 

修改玩家的视野半径【功能:修改玩家视野】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1153) 

 Modify_PlayerUpkeep( PlayerID playerId, Integer resourceType, Real scalefactor, Integer OPT_mathtype )
 

修改玩家资源的维护费。可用数学类型为MUT_Multiplication(乘法)、MUT_Addition(加法)【功能:修改维护费】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (275) 

 Modify_ProductionRate( EGroupID sgroup, Real scalefactor )
 

修改实体组中所有工厂的生产速率【功能:修改工厂生产速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1545) 

 Modify_ProductionSpeed( Entity entity, Real scalefactor )
 

修改特定升级的建造时间。仅影响指定玩家【功能:修改升级建造时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (252) 

 Modify_ProjectileDelayTime( PlayerID player, PBG entityBP, Real factor )
 

修改投射物的延迟引爆时间【功能:修改投射物延迟引爆】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1915) 

 Modify_ReceivedAccuracy( EGroupID group, Real scalefactor, Boolean OPT_exclusive )
 

修改小队/实体被命中的几率【功能:修改被命中率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1036) 

 Modify_ReceivedDamage( EGroupID group, Real scalefactor, Boolean OPT_exclusive=false, Real OPT_duration )
 

修改小队/实体受到的伤害【功能:修改受到伤害】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (951) 

 Modify_ReceivedSuppression( SGroupID sgroup, Real scalefactor )
 

修改小队被压制的速率【功能:修改被压制速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1079) 

 Modify_SightRadius( EGroupID group, Real scalefactor )
 

修改实体组或小队组的视野半径【功能:修改视野半径】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1243) 

 Modify_SquadAvailability( PlayerID player, String blueprint, Integer addition )
 

修改指定玩家某类小队的可用数量上限【功能:修改小队可用数量】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1364) 

 Modify_SquadCaptureRate( SGroupID group, Real scalefactor )
 

修改小队占领战略点的速率【功能:修改占领速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1378) 

 Modify_SquadHealthRegen( SGroupID group, Integer Factor, MUT Usage (MUT_Multiplication, Boolean OPT_exclusive )
 

修改小队的生命值恢复速率【功能:修改小队生命恢复】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1405) 

 Modify_SquadInvulnerableToKnockback( SGroupID group, Boolean disable )
 

启用或禁用小队被击退的易感性【功能:控制击退免疫】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1884) 

 Modify_SquadMaxHealth( SGroupID group, Integer Factor, MUT Usage (MUT_Multiplication )
 

修改小队的最大生命值【功能:修改小队最大生命值】

Should only be used on squads

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1214) 

 Modify_SquadsOfTypeSightRadius( PlayerID player, String blueprint, Real scalefactor )
 

修改指定玩家某类现有小队的视野半径【功能:修改现有小队视野】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1167) 

 Modify_TargetPriority( EGroupID group, Integer addition )
 

修改攻击者对小队或实体组的目标优先级。该值为加法运算【功能:修改目标优先级】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1444) 

 Modify_TerritoryRadius( EGroupID group, Real scalefactor )
 

修改实体组或小队组的领土半径【功能:修改领土半径】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1282) 

 Modify_UnitSpeed( SGroupID sgroup, Real factor, Real OPT_duration, MUT OPT_usage )
 

修改载具的最大速度。对步兵无效【功能:修改载具速度】

duration defaults to 0 (infinite), usage defaults to MUT_Multiplication

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1107) 

 Modify_UnitVeterancyValue( EGroupID group, Real scalefactor, Integer OPT_mathtype )
 

修改目标小队组、实体组、实体或小队的老练经验值。数学类型默认为乘法【功能:修改老练经验值】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1139) 

 Modify_UpgradeBuildTime( PlayerID playerId, UpgradeID upgrade, Real scalefactor )
 

修改特定升级的建造时间。仅影响指定玩家【功能:修改升级建造时间】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (239) 

 Modify_UpgradeCost( PlayerID playerId, UpgradeID upgrade, Integer resourceType, Real scalefactor, Integer mathtype, Boolean OPT_exclusive )
 

修改指定玩家的升级成本【功能:修改升级成本】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (314) 

 Modify_VehicleRepairRate( PlayerID player, Real factor, String engineer_entity_blueprint )
 

修改玩家所有工程师的载具维修速率【功能:修改载具维修速率】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1714) 

 Modify_VehicleRotationSpeed( EGroupID group, Real factor )
 

修改载具的旋转速度【功能:修改载具旋转速度】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1731) 

 Modify_VehicleTurretRotationSpeed( EGroupID group, String hardpoint, Real scalefactor )
 

修改载具小队的炮塔旋转速度【功能:修改炮塔旋转速度】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1769) 

 Modify_Vulnerability( EGroupID group, Real scalefactor )
 

按比例因子增加小队受到的精准度、穿透力和伤害。例如,比例因子为2意味着小队受到2倍精准度、2倍穿透力和2倍伤害【功能:修改易伤效果】

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (1308) 

 Modify_WeaponAccuracy( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器精准度【功能:修改武器精准度】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (678) 

 Modify_WeaponBurstLength( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器连射持续时间【功能:修改武器连射时间】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (832) 

 Modify_WeaponBurstRateOfFire( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器射速【功能:修改武器射速】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (870) 

 Modify_WeaponCooldown( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器冷却时间【功能:修改武器冷却时间】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (717) 

 Modify_WeaponDamage( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器伤害【功能:修改武器伤害】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (910) 

 Modify_WeaponEnabled( EGroupID group, String hardpoint, Boolean enabled )
 

启用或禁用武器挂点【功能:控制武器启用状态】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (519) 

 Modify_WeaponPenetration( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器穿透力。对火炮(迫击炮、火箭炮等)无效【功能:修改武器穿透力】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (601) 

 Modify_WeaponRange( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器射程。对火炮(迫击炮、火箭炮等)无效【功能:修改武器射程】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (563) 

 Modify_WeaponReload( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器装弹时间【功能:修改武器装弹时间】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (756) 

 Modify_WeaponScatter( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器散布【功能:修改武器散布】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (794) 

 Modify_WeaponSuppression( EGroupID group, String hardpoint, Real scalefactor )
 

修改小队的武器压制力。对火炮(迫击炮、火箭炮等)无效【功能:修改武器压制力】

The hardpoint should be specified as a string - i.e. "hardpoint_01"

  Source: [E:\P4Share\engine\assets\engine\scar\modifiers.scar] (639)