Jump to content
  • 0

I like intersect so much i have one more question(loot protect)


kica007

Question

7 answers to this question

Recommended Posts

  • 0
7 minutes ago, Slayer said:

You could also give the player a item through the NPCs player kill event. The player may not receive the item if they don't have inventory space though. Not sure if this is helpful in your use case but can be a situational work around.

 

That's kinda what I was saying here. NPCs Player Kill Event IS the event I'm talking about xD

Link to comment
Share on other sites

  • 0
1 hour ago, AisenArvalis said:

 

There is actually ONE way of doing it but it's extremely annoying since it would have to be event driven.
1 Global/Player Variable & 1 Event PER ENEMY needed
> Set Variable(Random Between 0-100)
> Conditional Branch(Said Variable < Drop Rate) // If drop rate is 25% The variable has to roll under 25 (0-24)
   > Give Item

// If more than 1 item drop, do this for EVERY item said monster can drop it.

 

Not just that if the npc only give "useless" items the player will have to remove them from his inventory everytime.

Link to comment
Share on other sites

  • 0

It would be possible to protect anyone from picking up ANY of that certain monster's drop for [x] milliseconds - you just wouldn't be able to have 2 of the same monster on the map at once. You could get around this by having like Zombie A and Zombie B. Anyone who picks up Zombie A meat in the next 30 seconds will get punished or it gets given to you.

 

This is not an ideal workaround but the best you can do for the time being.

Link to comment
Share on other sites

  • -1
53 minutes ago, Dashplant said:

Nope

 

There is actually ONE way of doing it but it's extremely annoying since it would have to be event driven.
1 Global/Player Variable & 1 Event PER ENEMY needed
> Set Variable(Random Between 0-100)
> Conditional Branch(Said Variable < Drop Rate) // If drop rate is 25% The variable has to roll under 25 (0-24)
   > Give Item

// If more than 1 item drop, do this for EVERY item said monster can drop it.

Link to comment
Share on other sites

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...