Issix-mod/Modules/IssixModule/Internal/Guard.gd
Frisk 55117a32a5 Created new WIP scene for training Pet Commands scene (#6)
Removed PavlovsDog perk as its too close to Pet Commands perk
Minor updates to skill tree
Changed mechanic of Command attacks being assigned to guards
2025-02-18 00:38:55 +01:00

9 lines
270 B
GDScript

extends "res://Game/InteractionSystem/PawnTypes/Guard.gd"
func onPawnSpawned(_pawn:CharacterPawn):
.onPawnSpawned(_pawn)
if RNG.chance(50):
_pawn.getChar().npcAttacks.append("PetCommandSit")
if RNG.chance(50):
_pawn.getChar().npcAttacks.append("PetCommandRoll")