Shiptest 13 - Modules - TypesDefine Details

code/__DEFINES/combat.dm

SECONDARY_ATTACK_CALL_NORMALAlternate attack defines. Return these at the end of procs like afterattack_secondary. Calls the normal attack proc. For example, if returned in afterattack_secondary, will call afterattack. Will continue the chain depending on the return value of the non-alternate proc, like with normal attacks.
SECONDARY_ATTACK_CANCEL_ATTACK_CHAINCancels the attack chain entirely.
SECONDARY_ATTACK_CONTINUE_CHAINProceed with the attack chain, but don't call the normal methods.

Define Details

SECONDARY_ATTACK_CALL_NORMAL

Alternate attack defines. Return these at the end of procs like afterattack_secondary. Calls the normal attack proc. For example, if returned in afterattack_secondary, will call afterattack. Will continue the chain depending on the return value of the non-alternate proc, like with normal attacks.

SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN

Cancels the attack chain entirely.

SECONDARY_ATTACK_CONTINUE_CHAIN

Proceed with the attack chain, but don't call the normal methods.