Fixed unable to reach the specified max level in XPTable

Fixed the AP cost display issue in NPC combat control mod.
Added a tweak for weapon perk modifier to AIBestWeaponFix.
Minor edits to code/documents.
Updated version number.
This commit is contained in:
NovaRain
2019-08-09 11:47:33 +08:00
parent 839e8d2636
commit 744213dea1
8 changed files with 20 additions and 18 deletions
+1
View File
@@ -58,6 +58,7 @@ procedure combatturn_handler begin
critter_add_trait(critter, TRAIT_PERK, perkID, level);
end
end
intface_redraw;
lightDist := get_object_data(critter, OBJ_DATA_LIGHT_DISTANCE);
lightInt := get_object_data(critter, OBJ_DATA_LIGHT_INTENSITY);
obj_set_light_level(critter, 100, 4);