MCPcopy
hub / github.com/FreezingMoon/AncientBeast / require

Function require

src/abilities/Abolished.ts:19–24  ·  view source on GitHub ↗
(_damage)

Source from the content-addressed store, hash-verified

17 trigger: 'onOtherDamage',
18
19 require(_damage) {
20 if (!this.testRequirements()) {
21 return false;
22 }
23 return true;
24 },
25
26 activate(damage, target) {
27 if (this.creature.id !== damage.attacker.id) {

Callers 1

webpack.config.jsFile · 0.50

Calls 3

testRequirementsMethod · 0.80
isUpgradedMethod · 0.80
testDirectionMethod · 0.80

Tested by

no test coverage detected