DerpTime Posted July 21, 2015 Share Posted July 21, 2015 If you have played wow or most mmos you know what i meanhttp://wowwiki.wikia.com/Set_bonusbut since i just talk to someone that didn't get it ill briefly explain.Hat - has statsChest - has statswhen you where both you get extra stats.Now Ive been looking at a few ways this might work, both for character specific or other wise.One way may be to push tags to the character. local function OnEquip(inst, owner) owner:AddTag("isCool") if owner:HasTag("isAwesome") then --stuff end end local function OnUnequip(inst, owner) owner:RemoveTag("isCool") endlocal function OnAttack(inst, owner, target) if owner:HasTag("iscool") and owner:HasTag("isAwesome") then --stuff endendNow the things im missing are the key words.Like what we see on the cane. inst.components.equippable.walkspeedmult = TUNING.CANE_SPEED_MULT inst.components.equippable.KEYWORD = NUMBERany idea where i can find these? the API is kinda hard to navigate. Link to comment https://forums.kleientertainment.com/forums/topic/56339-item-armor-set-bonus-stats-missing-a-few-key-words-please-help/ Share on other sites More sharing options...
Maris Posted July 21, 2015 Share Posted July 21, 2015 equippable.lua Link to comment https://forums.kleientertainment.com/forums/topic/56339-item-armor-set-bonus-stats-missing-a-few-key-words-please-help/#findComment-656128 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now