MCPcopy Index your code
hub / github.com/FreezingMoon/AncientBeast / getCounterTargetingModifier

Method getCounterTargetingModifier

src/bot.ts:88–88  ·  view source on GitHub ↗

* Optional target-owned score modifier for opponents attacking this unit. * Unlike `getTargetingPenalty`, this may return positive or negative values.

(
		attacker: Creature,
		target: Creature,
		abilityIndex: number,
		controller: BotController,
	)

Source from the content-addressed store, hash-verified

86 * Unlike `getTargetingPenalty`, this may return positive or negative values.
87 */
88 getCounterTargetingModifier?(
89 attacker: Creature,
90 target: Creature,
91 abilityIndex: number,

Callers 15

scoreAbilityHexMethod · 0.80
scoreHammerTimeFunction · 0.80
scoreWarHornFunction · 0.80
scoreFishingHookFunction · 0.80
scoreToothFairyFunction · 0.80
scoreDisturbingSoundFunction · 0.80
scoreBatteringRamFunction · 0.80
scoreOpticBurstFunction · 0.80
scorePowerApertureFunction · 0.80
scoreSwordSlitterFunction · 0.80
scorePistolShotFunction · 0.80
scoreRifleAssassinFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected