WildStar:API TYPE Unit
Template:Uiapitype The unit GameLib type, and used to hold information about a particular target-able unit in the world. This userdata type is not accessible as table and is immutable.
local unit = GameLib.GetPlayerUnit()
Members
- GetAbsorptionMax()
- GetAbsorptionValue()
- GetAlternateTarget()
- GetAuctionableItems())
- GetBaseLifesteal() + 0.000005) * 10000) / 100))
- GetBasicStats()
- GetBuffs()
- GetCCDurationModifier() -1) + 0.000005) * 10000) / 100))
- GetClassId()
- GetCooldownReductionModifier() + 0.000005 - 1) * 10000) / 100))
- GetCritChance() + 0.000005) * 10000) / 100))
- GetCritSeverity() + 0.000005) * 10000) / 100))
- GetDeflectChance() + 0.000005) * 10000) / 100))
- GetDeflectCritChance() + 0.000005) * 10000) / 100))
- GetEquippedItems()
- GetFaction() - returns unit nFactionID
- GetGuildName()
- GetHealth()
- GetId()
- GetIgnoreArmorBase() + 0.000005) * 10000) / 100))
- GetIgnoreShieldBase() + 0.000005) * 10000) / 100))
- GetInterruptArmorMax()
- GetInventoryItems()
- GetLevel()
- GetLevelDifferential(unitTarget)
- GetMagicMitigation() + 0.000005) * 10000) / 100))
- GetMana()
- GetManaCostModifier() -1) + 0.000005) * 10000) / 100))
- GetManaRegenInCombat() * 2)
- GetMaxHealth()
- GetMaxMana()
- GetMaxResource(4)
- GetName()
- GetPhysicalMitigation() + 0.000005) * 10000) / 100))
- GetPlayerPathType()
- GetPosition()
- GetPrereqInfo(tFlags.nPrereqVendorId)
- GetPvPDefensePercent() + 0.000005) * 10000) / 100))
- GetPvPOffensePercent() + 0.000005) * 10000) / 100))
- GetRaceId()
- GetResource(4)
- GetShieldCapacity()
- GetShieldCapacityMax()
- GetShieldRebootTime() / 1000)
- GetShieldRegenPct() + 0.000005) * 10000) / 100))
- GetStrikethroughChance() + 0.000005) * 10000) / 100))
- GetSupplySatchelItems(1)
- GetTarget()
- GetTechMitigation() + 0.000005) * 10000) / 100))
- GetTitle()
- GetTitleOrName()
- GetUnitMount()
- GetUnitProperty(Unit.CodeEnumProperties.ManaPerFiveSeconds).fValue))
- IsACharacter()
- IsDead()
- IsInCombat()
- IsInVehicle()
- IsInYourGroup()
- IsMentoring()
- IsMounted()
- IsPvpFlagged()
- IsRallied()
- IsThePlayer()
- IsValid()
- SetAlternateTarget(unitTarget)
- ShouldShowCastBar
- ShouldShowBreathBar()