Accio:
Code:
public static void OnHeroHealedWhileWaiting(MobileParty mobileParty, int healingAmount)
{
float num = (float)Campaign.Current.Models.PartyHealingModel.GetSkillXpFromHealingTroop(mobileParty.Party);
num = num * (float)healingAmount * 0.1f;
SkillLevelingManager.OnPartySkillExercised(mobileParty, DefaultSkills.Medicine, num, SkillEffect.PerkRole.Surgeon);
}
// Token: 0x060024B2 RID: 9394 RVA: 0x00093D68 File Offset: 0x00091F68
public static void OnRegularTroopHealedWhileWaiting(MobileParty mobileParty, int troopCount)
{
float skillXp = (float)(Campaign.Current.Models.PartyHealingModel.GetSkillXpFromHealingTroop((mobileParty.Party) * troopCount);
SkillLevelingManager.OnPartySkillExercised(mobileParty, DefaultSkills.Medicine, skillXp, SkillEffect.PerkRole.Surgeon);
}
psst: change the numbers "0.1 to 10" or the line " mobileParty.Party * trooCount *10 " and see the result
if you want that it realy lvls with your food stock search for the method "PartyConsumeFood"
there is a if- Line in that:
if (!isStarving2 && mobileParty.ItemRoster.FoodVariety > 3 && mobileParty.EffectiveQuartermaster != null)
{
SkillLevelingManager.OnPartyQuartermasterSkillExercised(mobileParty, DefaultSkills.Steward, (float)(num3 * (mobileParty.ItemRoster.FoodVariety - 2) / 3));
*add*
SkillLevelingManager.OnPartyQuartermasterSkillExercised(mobileParty, (float)(num3 * (mobileParty.ItemRoster.FoodVariety - 2) / 3)); *add*
}
than you will get also Medicine XP if you have more than 3 Food variations(the *add* Line). (Carefull, this is a Guess and not tested).
This works only if you are Quatermaster of course, otherwise you have to change the called method "SkillLevelingManager.OnPartyQuatermasterSkillExercised" into "SkillLevelingManager.OnSurgeryApplied" (only the "added" one, be fair
)
Next Edit:
Search for weapons.xml and in it for "throwing_stone" , mess with it as long as you understand those parameters. I m to lazy to explain them here.
For the other parts im sorry, i can´t make blood invisible(since i watched the code only 10 minutes for ya and Im not investing more time) or change the bandits pop ups
*hides under the InvisCloak*