MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / setTargetTypeNoTarget

Method setTargetTypeNoTarget

code/main/Fireball.ts:57–60  ·  view source on GitHub ↗
(movement: Pos)

Source from the content-addressed store, hash-verified

55
56 // Public methods
57 public setTargetTypeNoTarget(movement: Pos): void{
58 this.targetType = FireballTargetType.NO_TARGET;
59 this.getQuestEntityMovement().setOffset(movement); // Set the movement (it will be kept later by itself)
60 }
61
62 public setTargetTypeTargetEntity(entity: QuestEntity, specialTargetDamage: number = null, speed: Pos = new Pos(1, 1)): void{
63 this.targetType = FireballTargetType.TARGET_ENTITY;

Callers 9

castPlayerFireballMethod · 0.95
createPlayerAcidDropMethod · 0.95
castWaterBallMethod · 0.95
castFireballMethod · 0.95
castWaterBallMethod · 0.95
castFireballMethod · 0.95
constructorMethod · 0.95
shootMagicSpineMethod · 0.95
castFireballMethod · 0.95

Calls 2

setOffsetMethod · 0.80

Tested by

no test coverage detected