|
@@ -241,7 +241,7 @@ for (let i = 0; i < 0; i++) {
|
|
}
|
|
}
|
|
let randomOrc;
|
|
let randomOrc;
|
|
let randomOrc2;
|
|
let randomOrc2;
|
|
-for (let i = 0; i < 10; i++) {
|
|
|
|
|
|
+for (let i = 0; i < 2; i++) {
|
|
let orc = new OrcDebugger();
|
|
let orc = new OrcDebugger();
|
|
randomOrc = orc;
|
|
randomOrc = orc;
|
|
if (randomOrc2 == undefined) {
|
|
if (randomOrc2 == undefined) {
|
|
@@ -301,4 +301,82 @@ spitroast.addUnit()
|
|
.addUnit()
|
|
.addUnit()
|
|
.setFucker(OrcDebugger)
|
|
.setFucker(OrcDebugger)
|
|
.setHole(HumanoidHead)
|
|
.setHole(HumanoidHead)
|
|
- .setStick(HumanoidPenis);
|
|
|
|
|
|
+ .setStick(HumanoidPenis);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// (new CombatDescription("Poking 2")
|
|
|
|
+// .setDescription("Oy cheeky kunt stahp that"))
|
|
|
|
+// .addPokeUnit()
|
|
|
|
+// .setTarget(Person)
|
|
|
|
+// .addMarker(CombatPokeResult.ANNOYED);
|
|
|
|
+//
|
|
|
|
+// (new CombatDescription("Poking 1")
|
|
|
|
+// .setDescription("Heh whatever"))
|
|
|
|
+// .addPokeUnit()
|
|
|
|
+// .setTarget(Person)
|
|
|
|
+// .addMarker(CombatPokeResult.NOHEAT);
|
|
|
|
+//
|
|
|
|
+// (new CombatDescription("Poking 3")
|
|
|
|
+// .setDescription("A'IGHT YOU GET FUCKED NOW MATE SWAER ON ME MUM"))
|
|
|
|
+// .addPokeUnit()
|
|
|
|
+// .setTarget(Person)
|
|
|
|
+// .addMarker(CombatPokeResult.AGGROED);
|
|
|
|
+
|
|
|
|
+(new CombatPokeDescription("Hitting Orc"))
|
|
|
|
+ .setDescriptionFunction((target, markers) => {
|
|
|
|
+ let say = new Say(new SayBold(target), ": ");
|
|
|
|
+
|
|
|
|
+ if (markers.includes(CombatPokeResult.NOHEAT)) {
|
|
|
|
+ say.add(
|
|
|
|
+ new OneOf(OneOf.PURELY_AT_RANDOM,
|
|
|
|
+ "Heh, ain't that cute?",
|
|
|
|
+ "Pathetic."
|
|
|
|
+ )
|
|
|
|
+ );
|
|
|
|
+ } else if (markers.includes(CombatPokeResult.ANNOYED)) {
|
|
|
|
+ say.add(
|
|
|
|
+ new OneOf(OneOf.PURELY_AT_RANDOM,
|
|
|
|
+ "Oy, stahp that.",
|
|
|
|
+ "Ya' betta' stahp that before I getting mad."
|
|
|
|
+ )
|
|
|
|
+ );
|
|
|
|
+ } else if (markers.includes(CombatPokeResult.AGGROED)) {
|
|
|
|
+ say.add(
|
|
|
|
+ new OneOf(OneOf.PURELY_AT_RANDOM,
|
|
|
|
+ "Aight. The axe it is."
|
|
|
|
+ )
|
|
|
|
+ );
|
|
|
|
+ }
|
|
|
|
+ return say;
|
|
|
|
+ })
|
|
|
|
+ .addUnit()
|
|
|
|
+ .setTarget(OrcDebugger)
|
|
|
|
+ .addMarker(AdaptiveDifferential.FULLYADAPTIVE(CombatPokeResult.AGGROED, CombatPokeResult.NOHEAT, CombatPokeResult.ANNOYED));
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(new CombatDescription("Allranging Fists"))
|
|
|
|
+ .setDescriptionFunction((actor, target, weapons, markers) => {
|
|
|
|
+ let say = new Say("You attack ", new SayThe(), target, " with your fists");
|
|
|
|
+ if (markers.indexOf(CombatHit.MISS) != -1) {
|
|
|
|
+ say.add(", but you miss");
|
|
|
|
+ } else if (markers.indexOf(CombatHit.CRITICAL) != -1) {
|
|
|
|
+ say.add(", it is a strong hit");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (markers.indexOf(CombatResult.KNOCKED) != -1) {
|
|
|
|
+ say.add(", the strength of your attack knocks ", new SayHimHerIt(target), " on the floor.");
|
|
|
|
+ } else if (markers.indexOf(CombatResult.KNOCKED_OFF) != -1) {
|
|
|
|
+ say.add(", the strength of your attack knocks ", new SayHimHerIt(target), " unconscious.");
|
|
|
|
+ } else if (markers.indexOf(CombatResult.KILLED) != -1) {
|
|
|
|
+ say.add(", ", new SayHeSheIt(target), " dies.");
|
|
|
|
+ } else {
|
|
|
|
+ say.add(".");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ return say;
|
|
|
|
+ })
|
|
|
|
+ .addUnit()
|
|
|
|
+ .setActor(WorldState.player)
|
|
|
|
+ .setTarget(Person)
|
|
|
|
+ .addMarker(AdaptiveDifferential.FULLYADAPTIVE(CombatHit.HIT, CombatHit.CRITICAL, CombatHit.MISS))
|
|
|
|
+ .addMarker(AdaptiveDifferential.FULLYADAPTIVE(CombatResult.KILLED, CombatResult.KNOCKED, CombatResult.KNOCKED_OFF));
|