Show me what you are trying to increase in the code, what source
How To Increase Potion Chances
So I Try To Increase It But it Dont Want To The Other things Increased Only The Potions WONT >_<
Show me what you are trying to increase in the code, what source
im not really back nor will i ever get back into developing pservers
though ill check once every month atleast
hamzanasab11 (05-24-2016)
find the behavior of the enemy that drops the potions, make number higher in the loot drop line thing idk how to explain it better xd
hamzanasab11 (05-24-2016)
EVERYTHING UNDER THIS IS FOR THE FAB SOURCE:
Health and Magic Potions belong in the behavior
Loot Drop/Chances Potions belong in the behavior
Stat Increase Potions belong in the behavior
If you are looking for anything above, just go to the behavior of the enemy you are editing the loot for and look for Threshold or MostDamager(s)
Most likely they will be written as such :
ItemLoot("Health Potion", 0.5)
or
ItemLoot("Magic Potion", 0.5)
or
ItemLoot("Loot Tier Potion", 0.5)
or
ItemLoot("Loot Drop Potion", 0.5)
or
ItemLoot("Potion of Attack", 0.5), ItemLoot("Potion of Defense", 0.5), ItemLoot("Potion of Speed", 0.5)...etc...
The number after the "word" is the chances....0.5 means 50% and 0.35 mean 35% and 0.8 means 80%
so ItemLoot("Potion of Attack", 0.74) It has a 74% chance of dropping the item called Potion of Attack
This note if for you @hamzanasab11 :
Specify what are you looking for or people will have difficulty helping you and eventually stop helping you
This is if you are going to request more help in this section
Last edited by DimitriSavage; 05-23-2016 at 04:15 PM.
"One should not seek to know and understand the meaning of life"...for the meaning of life will be presented...
when we all perish"Life greatest questions can only be answered in a man that believes not in god...but in himself and his abilities so understand the Universe"
"The most important moment of your life is and will always be the way you lived it to the moment you died"
"My methods may be harsh in contrast to my true intentions"... you may fight, cry, beg, and deny but at the end you will truly see why I done such a thing
hamzanasab11 (05-24-2016)