| @@ -58,45 +58,56 @@ export class Geta extends Creature { | |||||
| biconnectContainers(cock, balls) | biconnectContainers(cock, balls) | ||||
| const shrinkAction = new CompositionAction( | |||||
| "Shrink", | |||||
| "Zap!", | |||||
| { | |||||
| conditions: [ | |||||
| new TogetherCondition() | |||||
| ], | |||||
| consequences: [ | |||||
| new LogConsequence( | |||||
| (user, target) => new LogLine(`ZAP!`) | |||||
| ), | |||||
| new StatusConsequence( | |||||
| () => new SizeEffect(0.25) | |||||
| ) | |||||
| ] | |||||
| } | |||||
| ) | |||||
| this.actions.push( | this.actions.push( | ||||
| new CompositionAction( | |||||
| "Shrink", | |||||
| "Zap!", | |||||
| { | |||||
| conditions: [ | |||||
| new TogetherCondition() | |||||
| ], | |||||
| consequences: [ | |||||
| new LogConsequence( | |||||
| (user, target) => new LogLine(`ZAP!`) | |||||
| ), | |||||
| new StatusConsequence( | |||||
| () => new SizeEffect(0.25) | |||||
| ) | |||||
| ] | |||||
| } | |||||
| ) | |||||
| shrinkAction | |||||
| ) | |||||
| this.otherActions.push( | |||||
| shrinkAction | |||||
| ) | |||||
| const crushAction = new CompositionAction( | |||||
| "Crush", | |||||
| "Crush them like a bug underfoot", | |||||
| { | |||||
| conditions: [ | |||||
| new TogetherCondition(), | |||||
| new MassRatioCondition(10) | |||||
| ], | |||||
| consequences: [ | |||||
| new LogConsequence( | |||||
| (user, target) => new LogLine(`CRUNCH`) | |||||
| ), | |||||
| new StatusConsequence( | |||||
| () => new InstantKillEffect() | |||||
| ) | |||||
| ] | |||||
| } | |||||
| ) | ) | ||||
| this.actions.push( | this.actions.push( | ||||
| new CompositionAction( | |||||
| "Crush", | |||||
| "Crush them like a bug underfoot", | |||||
| { | |||||
| conditions: [ | |||||
| new TogetherCondition(), | |||||
| new MassRatioCondition(10) | |||||
| ], | |||||
| consequences: [ | |||||
| new LogConsequence( | |||||
| (user, target) => new LogLine(`CRUNCH`) | |||||
| ), | |||||
| new StatusConsequence( | |||||
| () => new InstantKillEffect() | |||||
| ) | |||||
| ] | |||||
| } | |||||
| ) | |||||
| crushAction | |||||
| ) | |||||
| this.otherActions.push( | |||||
| crushAction | |||||
| ) | ) | ||||
| } | } | ||||
| } | } | ||||