Open ryndrb opened 6 months ago
Hero
GetAttributeValue(int)
apparently returns the total value, instead of base. There isn't a way to retrieve the base which is why he has trouble shifting "correctly" once he gets items/stats, etc,. Though some hard-coded formula might give the proper base ratio of AGI/STR.hero_#name
, then call hero skill complements inside Rubick's file. Woks when testing, and not much overhead as it's the same as in the current structure; need some edit to hero files.
Items
GetHeroLastSeenInfo
check after a hero just died. IsHeroAlive(id)
is evaluating to true?ActionImmediate_SwapItems( index1, index2 )
"can't" seem to swap the two if index1
is in main inventory and index2
is in backpack, or vice-versa. It does work if both are in the main inventory or in the backpack; even when overriden.mode_item_generic
is overriden. <- But bots DO switch items, so not sure which "mode" causes this when doing it manually, or if it's even a mode.
TODO