sc2-gamedata
|
Modify Unit. More...
#include <Effect.h>
Modify Unit.
uint32 CEffectModifyUnit::CopyOrderCount |
Copy Order Count.
Specifies how many orders of the Launch Unit are copied onto the Impact Unit. The Impact Unit’s orders are cleared (although uninterruptible orders like morphs may remain until completed).
uint32 CEffectModifyUnit::CopyRallyCount |
Copy Rally Count.
Specifies how many rally point locations are copied from the Launch Unit to the Impact Unit.
SEffectModifyUnitCost CEffectModifyUnit::Cost |
Cost.
Specifies an amount of resources, cooldowns, charges, and/or vitals that will be applied to the requested Impact Unit. This can be used in situations where you may not have an ability available to specify and spend these amounts.
CFixed CEffectModifyUnit::Height |
Height.
Height modification
CGameTime CEffectModifyUnit::HeightTime |
Height Time.
Amount of time it takes to blend the height modification
SEffectWhichUnit CEffectModifyUnit::ImpactUnit |
Impact Unit.
The unit that is the target of this effect
SEffectWhichUnit CEffectModifyUnit::KillCreditUnit |
Kill Credit Unit.
If this field points to a valid unit hostile to the Impact Unit, it will increase the kill count on the Impact Unit by one and dispatch a kill credit notification to behaviors.
flag8 CEffectModifyUnit::KillHallucination |
Kill Hallucination.
When enabled, the effect kills hallucinations.
SEffectWhichUnit CEffectModifyUnit::LaunchUnit |
Launch Unit.
Specifies the unit to copy veterancy, kills, and vitals (if requested), mimic (if requested), copy orders from (if requested), copy rally points from (if requested), and the player to modify resources for (if requested).
CFlags CEffectModifyUnit::ModifyFlags |
SEffectWhichPlayer CEffectModifyUnit::ModifyOwnerPlayer |
Modify Owner Player.
Specifies a player to transfer the ownership of the Impact Unit to. If set to Unknown this is ignored.
uint32 CEffectModifyUnit::ResourceRestoreBonus |
Resource Restore Bonus.
Specifies a flat bonus amount to add to a resource regardless of its capacity. This will be added to the Resource Restore Fraction result.
CFixed CEffectModifyUnit::ResourceRestoreFraction |
Resource Restore Fraction.
Specifies a fraction that will be multiplied by the resource’s capacity. This will be added to the Resource Restore Bonus.
int32 CEffectModifyUnit::Resources |
Resources.
Specifies an amount of resources to harvest from the Launch Unit if it has a resource behavior.
uint32 CEffectModifyUnit::ResourcesHarvestedBonus |
Resources Harvested Bonus.
Specifies an amount of bonus resources added to any amount extracted from the resource specified by the Resources behavior and the Resources Harvested Fraction result.
CFixed CEffectModifyUnit::ResourcesHarvestedFraction |
Resources Harvested Fraction.
Specifies an amount that is multiplied by the amount extracted to grant as a bonus amount of resources harvested. This amount is added to the Resources Harvested Bonus.
SCostFactor CEffectModifyUnit::SalvageFactor |
Salvage Factor.
Only applies if the Salvage flag is set on this effect. Specifies the unit cost multiplier to determine how much of a refund is provided.
int32 CEffectModifyUnit::SpawnCount |
Spawn Count.
If the Impact Unit has a Spawn behavior, the number of spawned units will be adjusted by this amount.
SEffectWhichUnit CEffectModifyUnit::TransferUnit |
Transfer Unit.
std::vector<SEffectModifyVital> CEffectModifyUnit::VitalArray |
CFixed CEffectModifyUnit::XP |
Experience.
Experience points modifier