Author Topic: Max Weight for Ranged WPF Penalty?  (Read 3105 times)

0 Members and 1 Guest are viewing this topic.

Offline San

  • Developer
  • ******
  • Renown: 1456
  • Infamy: 143
  • cRPG Player A Gentleman and a Scholar
  • 1/Sympathy = Divide By Zero
    • View Profile
    • My youtube Brawl videos
  • Faction: Chaos
  • Game nicks: San_of_Chaos
  • IRC nick: San
Re: Max Weight for Ranged WPF Penalty?
« Reply #30 on: October 22, 2014, 12:45:20 am »
0
Whoops. I didn't ctrl+Z enough (already committed Str/3 + IF stuff and had to undo), the *2 was there, my bad!

Code: [Select]
(troop_get_slot, ":weight_threshold",":troop", slot_troop_crpg_atr_str),
(troop_get_slot, ":weight_threshold_if",":troop", slot_troop_crpg_skl_ironflesh),
(val_mul, ":weight_threshold_if", 2),
(val_div, ":weight_threshold", 3),
(val_add, ":weight_threshold", 1),
(val_max, ":weight_threshold", ":weight_threshold_if"),
(val_max, ":weight_threshold", 6),
(val_sub, ":total_weight", ":weight_threshold"),
(assign, ":weight_penalty", 0),
(try_begin),

Now:
Code: [Select]
(troop_get_slot, ":weight_threshold",":troop", slot_troop_crpg_atr_str),
(troop_get_slot, ":weight_threshold_if",":troop", slot_troop_crpg_skl_ironflesh),
(val_div, ":weight_threshold", 3),
(val_add, ":weight_threshold", ":weight_threshold_if"),
(val_max, ":weight_threshold", 6),
(val_sub, ":total_weight", ":weight_threshold"), #San: wpf weight threshold of max(Str/3 + IF, 6) before wpf penalties begin
(assign, ":weight_penalty", 0),
(try_begin),

Offline tkn123

  • Baron
  • ****
  • Renown: 97
  • Infamy: 13
  • cRPG Player Sir Black Pawn
    • View Profile
  • Faction: Norsemen
  • Game nicks: Shagga
Re: Max Weight for Ranged WPF Penalty?
« Reply #31 on: October 22, 2014, 05:20:39 pm »
0
So does that mean there is something wrong with the calc or the rounding errors, or do we have to wait for the hotfix?