# Hyperlink Combat System

## version 1 by Philip Black

**Example: * Weapons +++ Trigun - A simple gun that has a chance to shoot three times in one round.**

"Weapons +++ Trigun"

Trigun is a kind of ranged weapon. The Description is "The [o]Trigun[x] is a wierd weapon that can hit up to three times a turn.".

accuracy bonus of a Trigun is 0.

the current shots of Trigun is 3.

the maximum shots of Trigun is 3.

The dice number of Trigun is 3.

The damage die of Trigun is 6.

The Min Range of Trigun is 0. [How close they can get before you can't attack with the weapon - ideal for bows and so on]

The Max Range of Trigun is 10. [How far away it can hit]

Trigun is CustomWeapon.

Custom Weapon Power for a Trigun:

Let Shrap be a random number between 0 and 2;

If Shrap is at least 1:

If AttackingFoe is in the location of the player:

Now Target is a random AttackingFoe;

Let W be a random readied Trigun carried by the player;

Let MaxDamage be the dice number of W times damage die of W;

Let DuoForce be a random number between 0 and MaxDamage;

Decrease the health of Target by DuoForce;

If Shrap is 2 and AttackingFoe is in the location of the player:

Let OtherFool be a random AttackingFoe in the location of the player;

Let TriForce be a random number between 0 and MaxDamage;

Decrease the health of OtherFool by TriForce;

If Target is OtherFool:

Say "The Trigun sprays shrapnel across the field, hitting TWO extra times! [Target] takes [DuoForce] + [TriForce] = [DuoForce plus TriForce] Damage!";

Otherwise:

Say "The Trigun sprays shrapnel across the field, hitting TWO extra times! [Target] takes [DuoForce] Damage! [OtherFool] takes [TriForce] Damage!";

Otherwise:

Say "The Trigun sprays shrapnel across the field, hitting an extra time! [Target] takes [DuoForce] Damage!";

rule succeeds.