...懒的翻了..不懂鸟语的就不用朝下了^ ^
I'm not sure if this is widely known or not. The console, accessed by pressing [shift]-[~], is actually the Python interpreter. You can execute arbitrary Python code, like:
game.party[0].stat_base_set(stat_strength, 30)
In this example, setting the first character's strength value to 30.
The following stat_* variables are:
stat_ac
stat_age
stat_alignment
stat_alignment_choice
stat_attack_bonus
stat_carried_weight
stat_caster_level
stat_caster_level_barbarian
stat_caster_level_bard
stat_caster_level_cleric
stat_caster_level_druid
stat_caster_level_fighter
stat_caster_level_monk
stat_caster_level_paladin
stat_caster_level_ranger
stat_caster_level_rogue
stat_caster_level_sorcerer
stat_caster_level_wizard
stat_category
stat_cha_mod
stat_charisma
stat_con_mod
stat_constitution
stat_damage_bonus
stat_deity
stat_dex_mod
stat_dexterity
stat_domain_1
stat_domain_2
stat_experience
stat_favored_enemies
stat_gender
stat_height
stat_hp_current
stat_hp_max
stat_initiative_bonus
stat_int_mod
stat_intelligence
stat_known_spells
stat_level
stat_level_barbarian
stat_level_bard
stat_level_cleric
stat_level_druid
stat_level_fighter
stat_level_monk
stat_level_paladin
stat_level_prestige_start
stat_level_ranger
stat_level_rogue
stat_level_sorcerer
stat_level_wizard
stat_load
stat_melee_attack_bonus
stat_memorized_spells
stat_money
stat_money_cp
stat_money_ep
stat_money_gp
stat_money_pp
stat_money_sp
stat_movement_speed
stat_race
stat_ranged_attack_bonus
stat_run_speed
stat_save_fortitude
stat_save_reflexes
stat_save_willpower
stat_school_prohibited
stat_school_specialization
stat_size
stat_spells_per_day
stat_str_mod
stat_strength
stat_subdual_damage
stat_subrace
stat_weight
stat_wis_mod
stat_wisdom
I'm not sure if this is widely known or not. The console, accessed by pressing [shift]-[~], is actually the Python interpreter. You can execute arbitrary Python code, like:
game.party[0].stat_base_set(stat_strength, 30)
In this example, setting the first character's strength value to 30.
The following stat_* variables are:
stat_ac
stat_age
stat_alignment
stat_alignment_choice
stat_attack_bonus
stat_carried_weight
stat_caster_level
stat_caster_level_barbarian
stat_caster_level_bard
stat_caster_level_cleric
stat_caster_level_druid
stat_caster_level_fighter
stat_caster_level_monk
stat_caster_level_paladin
stat_caster_level_ranger
stat_caster_level_rogue
stat_caster_level_sorcerer
stat_caster_level_wizard
stat_category
stat_cha_mod
stat_charisma
stat_con_mod
stat_constitution
stat_damage_bonus
stat_deity
stat_dex_mod
stat_dexterity
stat_domain_1
stat_domain_2
stat_experience
stat_favored_enemies
stat_gender
stat_height
stat_hp_current
stat_hp_max
stat_initiative_bonus
stat_int_mod
stat_intelligence
stat_known_spells
stat_level
stat_level_barbarian
stat_level_bard
stat_level_cleric
stat_level_druid
stat_level_fighter
stat_level_monk
stat_level_paladin
stat_level_prestige_start
stat_level_ranger
stat_level_rogue
stat_level_sorcerer
stat_level_wizard
stat_load
stat_melee_attack_bonus
stat_memorized_spells
stat_money
stat_money_cp
stat_money_ep
stat_money_gp
stat_money_pp
stat_money_sp
stat_movement_speed
stat_race
stat_ranged_attack_bonus
stat_run_speed
stat_save_fortitude
stat_save_reflexes
stat_save_willpower
stat_school_prohibited
stat_school_specialization
stat_size
stat_spells_per_day
stat_str_mod
stat_strength
stat_subdual_damage
stat_subrace
stat_weight
stat_wis_mod
stat_wisdom