markfamily
Sergeant at Arms
Thank youkalarhan said:markfamily said:another question is it possible to have a book once read will give a bonus to all companions in your party at the same time like say plus one to strength.
yeap, just use the book read trigger, a loop on companions current in the party and the operation to change atributes
Code:store_attribute_level = 2172 # (store_attribute_level, <destination>, <troop_id>, <attribute_id>), # Stores current value of troop attribute. See ca_* constants in header_troops.py for reference. troop_raise_attribute = 1520 # (troop_raise_attribute, <troop_id>, <attribute_id>, <value>), # Increases troop attribute by the specified amount. See ca_* constants in header_troops.py for reference. Use negative values to reduce attributes. When used on non-hero troop, will affect all instances of that troop.