Class "EntityFamiliar"⚓︎
Class Diagram⚓︎
classDiagram
class Entity:::diagramCurrentPage
class EntityBomb
class EntityEffect
class EntityFamiliar
class EntityKnife
class EntityLaser
class EntityNPC
class EntityPickup
class EntityPlayer
class EntityProjectile
class EntitySlot
class EntityTear
Entity <|-- EntityBomb
Entity <|-- EntityEffect
Entity <|-- EntityFamiliar
Entity <|-- EntityKnife
Entity <|-- EntityLaser
Entity <|-- EntityNPC
Entity <|-- EntityPickup
Entity <|-- EntityPlayer
Entity <|-- EntityProjectile
Entity <|-- EntitySlot
Entity <|-- EntityTear
link Entity "https://wofsauge.github.io/IsaacDocs/rep/Entity.html" "Go to page for 'Entity' class"
link EntityBomb "https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html" "Go to page for 'EntityBomb' class"
link EntityEffect "https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html" "Go to page for 'EntityEffect' class"
link EntityFamiliar "https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html" "Go to page for 'EntityFamiliar' class"
link EntityKnife "https://wofsauge.github.io/IsaacDocs/rep/EntityKnife.html" "Go to page for 'EntityKnife' class"
link EntityLaser "EntityLaser.html" "Go to page for 'EntityLaser' class"
link EntityNPC "EntityNPC.html" "Go to page for 'EntityNPC' class"
link EntityPickup "EntityPickup.html" "Go to page for 'EntityPickup' class"
link EntityPlayer "EntityPlayer.html" "Go to page for 'EntityPlayer' class"
link EntityProjectile "https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html" "Go to page for 'EntityProjectile' class"
link EntitySlot "EntitySlot.html" "Go to page for 'EntitySlot' class"
link EntityTear "https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html" "Go to page for 'EntityTear' class"
Functions⚓︎
CanBeDamagedByEnemies ()⚓︎
boolean CanBeDamagedByEnemies ( )⚓︎
CanBeDamagedByLasers ()⚓︎
boolean CanBeDamagedByLasers ( )⚓︎
CanBeDamagedByProjectiles ()⚓︎
boolean CanBeDamagedByProjectiles ( )⚓︎
CanBlockProjectiles ()⚓︎
boolean CanBlockProjectiles ( )⚓︎
CanCharm ()⚓︎
boolean CanCharm ( )⚓︎
GetDirtColor ()⚓︎
Color GetDirtColor ( )⚓︎
GetFollowerPriority ()⚓︎
FollowerPriority GetFollowerPriority ( )⚓︎
GetItemConfig ()⚓︎
ItemConfigItem GetItemConfig ( )⚓︎
如果跟班不是由道具生成的,则返回 nil。 返回与赋予此跟班的道具相对应的 ItemConfigItem 对象。
GetMoveDelayNum ()⚓︎
int GetMoveDelayNum ( )⚓︎
返回跟班的移动相对于玩家的移动延迟的帧数。30 帧 = 1 秒。
GetMultiplier ()⚓︎
float GetMultiplier ( )⚓︎
返回跟班的“乘数”,该乘数受诸如 BFFS! 或 Hive Mind 等效果的影响。通常用于乘以跟班的伤害等属性。
乘数
- 堕化拉撒路长子权:x0.25
- BFFS! 和 Hive Mind:x2.0
- 堕化伯大尼:x0.75
GetPathFinder ()⚓︎
PathFinder GetPathFinder ( )⚓︎
GetWeapon ()⚓︎
Weapon GetWeapon ( )⚓︎
对于不模仿玩家攻击的跟班(如魅魔等),返回 nil
。
InvalidateCachedMultiplier ()⚓︎
void InvalidateCachedMultiplier ( )⚓︎
当下一次调用 GetMultiplier 时,触发 MC_EVALUATE_FAMILIAR_MULTIPLIER 来重新计算/允许修改乘数。
IsCharmed ()⚓︎
boolean IsCharmed ( )⚓︎
RemoveFromPlayer ()⚓︎
void RemoveFromPlayer ( )⚓︎
SetMoveDelayNum ()⚓︎
void SetMoveDelayNum ( int Delay )⚓︎
设置跟班的移动相对于玩家的移动延迟的帧数。30 帧 = 1 秒。
TriggerRoomClear ()⚓︎
void TriggerRoomClear ( )⚓︎
TryAimAtMarkedTarget ()⚓︎
Vector TryAimAtMarkedTarget ( Vector AimDirection, Direction Direction)⚓︎
如果失败则返回 nil
。