Does "get hero stat()" account for +/- stats from equip?

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
sheamkennedy
Liquid Metal Slime
Posts: 1110
Joined: Mon Sep 16, 2013 9:29 pm
Location: Tama-shi, Tokyo, Japan
Contact:

Does "get hero stat()" account for +/- stats from

Post by sheamkennedy »

I was wonding if "get hero stat ()," when type: current stat, returns the value of my current stat plus/minus the values of my equipment?

Like if my hero's attack is 10 and their sword is +5 to attack will this function return 15? Or will it return 10?

If the answer is it returns 10, could I suggest that a 4th option be added which plus/minuses that heros stat modifications due to the equipment they have on.
Last edited by sheamkennedy on Thu Jan 18, 2018 12:16 pm, edited 1 time in total.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
User avatar
Bob the Hamster
Lord of the Slimes
Posts: 7658
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

If I remember correctly, "current stat" includes all equipment bonuses. If you want to check what the stat would be with no equipment, check "base stat"
User avatar
sheamkennedy
Liquid Metal Slime
Posts: 1110
Joined: Mon Sep 16, 2013 9:29 pm
Location: Tama-shi, Tokyo, Japan
Contact:

Post by sheamkennedy »

Bob the Hamster wrote:If I remember correctly, "current stat" includes all equipment bonuses. If you want to check what the stat would be with no equipment, check "base stat"
I see, I mistook base stat to mean your initial stat at the beginning of the game. That makes more sense. Thanks.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Post Reply