Jump to content

Recommended Posts

Posted

All the potions are REALLY obfuscated on how they worked last I checked, from what I know fire resist works by the game checking if it's applied each tick before doing fire related damage, I managed to replicate this to make an armor set intercept specifically flame damage instead of both flame and lava. I know there is some kind of override or canceling function built for almost every type of damage, but I forget where I saw them...  As for strength, I don't really know too much about it, I would assume it would work somewhere in the player related classes and change your hit damage depending on whether or not it was active and what level it was, but other then that all the potions are extremely weird in how they actually function. What exactly do you want to do with these, I might be able to help you do it without using them

Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more!

width=174 height=100http://i.imgur.com/ghgWmA3.jpg[/img]

Posted

I was just trying to looking in on how to make the player fire proof, or give the player damage buffs without using potion effects.

 

I've tried using the extinguish method on a tick. Doesn't stop lava damage though. :I

Kain

Posted

Interesting, though it does make this quite a bit more complex, you could just use vanilla buffs but also show them on your buff screen/ tiles or wherever you want them, which could let the player cancel and see mini-images of all the vanilla buffs too. Other then that though, the actual way the buffs work is quite mysterious, I spent hours hunting down speed with no success.  :'(  I bet Lex or Hydro would know, but they might be too busy updating to 1.7...

Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more!

width=174 height=100http://i.imgur.com/ghgWmA3.jpg[/img]

Posted

Strength potions (doing more damage) is handled by the Shared Monster Attributes system (SMAS).

 

Interestingly, while "I am not knocked back as much" effect is handled by the SMAS, the "I punch people and they go flying" effect is not.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.