honorbound
Honorbound prevents you from attacking the unready, the just, or the innocent
Vars | |
guilty | list of guilty people |
---|---|
Procs | |
attack_honor | Signal to see if the mutation allows us to attack a target |
guilty | Called by hooked signals whenever someone attacks the person with this mutation Checks if the attacker should be considered guilty and adds them to the guilty list if true |
is_honorable | Called by attack_honor signal to check whether an attack should be allowed or not |
punishment | Called when a spell is casted or a magic gun is fired, checks the signal and punishes accordingly |
Var Details
guilty
list of guilty people
Proc Details
attack_honor
Signal to see if the mutation allows us to attack a target
guilty
Called by hooked signals whenever someone attacks the person with this mutation Checks if the attacker should be considered guilty and adds them to the guilty list if true
Arguments:
- user: person who attacked the honorbound
- declaration: if this wasn't an attack, but instead the honorbound spending favor on declaring this person guilty
is_honorable
Called by attack_honor signal to check whether an attack should be allowed or not
Arguments:
- honorbound_human: typecasted owner of mutation
- target_creature: person honorbound_human is attacking
punishment
Called when a spell is casted or a magic gun is fired, checks the signal and punishes accordingly
Arguments:
- user: typecasted owner of mutation
- school: school of magic casted from the staff/spell