Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

shield break?

Status
Not open for further replies.

polar_fawkes

Towns Guard
heya!

i was thinking, it would be great if shields gave taunt via yanfly's taunt plugin, but they had a set number of times they could taunt? ie a wooden buckler would break after that actor is hit with physical damage 25-30 times, a silk cloak with magic taunt would break after the actor wearing it takes magic damage 15 times.

is this doable?
 

DarcHiro

Studious Dark Lord
Xy$
0.00
heya!

i was thinking, it would be great if shields gave taunt via yanfly's taunt plugin, but they had a set number of times they could taunt? ie a wooden buckler would break after that actor is hit with physical damage 25-30 times, a silk cloak with magic taunt would break after the actor wearing it takes magic damage 15 times.

is this doable?
Not right now you can't have the durability function, but Yanfly has a plugin list that he said he wanted to work on it... but enough people need to vote on it. I give it a few more weeks though, because I think enough people would want that.

Now for the Taunting, I feel like if you look a little more into variables you can achieve what you're looking for here.
 

Manoma

Villager
Xy$
0.00
heya!

i was thinking, it would be great if shields gave taunt via yanfly's taunt plugin, but they had a set number of times they could taunt? ie a wooden buckler would break after that actor is hit with physical damage 25-30 times, a silk cloak with magic taunt would break after the actor wearing it takes magic damage 15 times.

is this doable?
there are many ways to do it, you can use yanfly auto passive states and associate the taunt to a state (use the passive plugin to determine when you will be able to have taunt)

you can also make a common event to every attack that will check if the player have a shield, and make the event add +1 to a variable of your choice. Them you make a conditional with the variable and the max amount of taunts you want (ex: if v[1] = 25) and make a command to remove the shield from the actor and reset the variable. The only problem would be that you wouldn't be able to have more than one of each item, but you could repair it by changing the variable, you could decide wich attacks would affect each weapon and you could make a lot of things based on the duration, including changing graphics, warnings, debuffs and etc....

To solve that you could use the item index instead od the ID, but i'm not sure of how to do that.
 

polar_fawkes

Towns Guard
hey guys, posted this the day before they announced item durability, which will solve my issue. thanks for the creative alternatives! @eivl i will explore your solution for enchanted shields, as it might be a great refillable currency for things like elemental absorption. (refill via 'soul gems' or something analogous)
 
Status
Not open for further replies.
Top