Jump to content

Recommended Posts

If you have played wow or most mmos you know what i mean
http://wowwiki.wikia.com/Set_bonus

but since i just talk to someone that didn't get it ill briefly explain.
Hat - has stats
Chest - has stats

when 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")    end
local function OnAttack(inst, owner, target)	if owner:HasTag("iscool") and owner:HasTag("isAwesome") then            --stuff	endend

Now 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 = NUMBER

any idea where i can find these? the API is kinda hard to navigate.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...