Lazarus
Master
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
|
Agility and Great Agi Not Stackeable.
Agility and great agi has not stackeable.
Any way to do ?
i_bottle_blue for more reference
or i_potion_agility and agilitygreat.
Lazarus.
[This is so stupid... but my players are so fussy]
Other question:
24-09-2012, Terrikate
- Fixed #2078: t_multi_custom causes memory leak in client
This fix, uses any script? or it's hardcoded?
(This post was last modified: 10-14-2012 09:29 AM by Lazarus.)
|
|
10-14-2012 09:24 AM |
|
|
Lazarus
Master
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
|
RE: Agility and Great Agi Not Stackeable.
(10-14-2012 09:29 AM)RanXerox Wrote: Post the script for those potions and we can tell you how to change it.
This are NOT stackeables [Default potions of agility]
Code:
[ITEMDEF i_potion_Agility]
ID=i_bottle_blue
NAME=Agility
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_blood_moss, i_bottle_empty
SKILLMAKE=ALCHEMY 15.1
ON=@Create
MORE1=s_Agility
MORE2={ 15.1 60.0 }
[ITEMDEF i_potion_AgilityGreat]
ID=i_bottle_BLUE
TYPE=T_POTION
NAME=Greater Agility
TDATA1=i_bottle_empty
RESOURCES=i_reag_blood_moss 3, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 70.1
ON=@Create
MORE1=s_Agility
MORE2={ 70.1 80.0 }
The other normal potions [DEFAULT POTS] are stackeables :|
I_bottle_blue
Code:
[ITEMDEF 0f08]
//Potion (Blue)
DEFNAME=i_bottle_blue
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_bottle_empty
WEIGHT=1
DESCRIPTION=Potion (Blue)(Agility)
SUBSECTION=Potions
CATEGORY=Provisions - Alchemy & Magic
ON=@Create
MORE1=s_agility
MORE2={ 300 900 }
I didn't see any difference with the others potions and bottles.
|
|
10-14-2012 09:55 AM |
|
|
Lazarus
Master
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
|
RE: Agility and Great Agi Not Stackeable.
(10-14-2012 10:01 AM)Anarch Cassius Wrote: They are the same spell at different strengths, that's why. Agility will not stack with itself, nor will any spell.
NOnonono!
I don't want the stack of AGILITY and GREATER AGILITY.
The ID of BOTTLE_BLUE don't stack [GREATER AGILITY + GREATER AGILITY DON'T STACK!]
haha.
^_^
and this:
Other question:
24-09-2012, Terrikate
- Fixed #2078: t_multi_custom causes memory leak in client
This fix, uses any script? or it's hardcoded?
|
|
10-14-2012 11:04 AM |
|
|
Anarch Cassius
Master
Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2
|
RE: Agility and Great Agi Not Stackeable.
Oh, that sort of stacking
In that case change this part:
MORE2={ 15.1 60.0 }
to something like
MORE2=35.0
The issue is that your potions are generated in a range of strengths and the values need to be exact to stack.
Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
|
|
10-14-2012 12:42 PM |
|
|
Rayvolution
Journeyman
Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1
Aetharia
|
RE: Agility and Great Agi Not Stackeable.
For potions to be stackable, they have to have the exact same values across the board, so you'll have to set MORE2 to a "hard" whole number, not a variable.
Think of it this way: When a few items are stacked, they technically become "one item" with an AMOUNT value. How would the server be able to figure out what potion is what if they're all merged into one big item?
I made all my potions stackable, and just added 3 tiers for each (Minor, Moderate and Major). They have hard-set values so they can stack.
EDIT: I reread your post, and from what I can tell none of your potions should be able to stack, I'm parplexed why the I_BOTTLE_BLUE can at all. It should *not* be able to. did you check the MORE2 values of the stacking blue potions in game? Maybe through some fluke they are all generating the same value?
.. also, If they are different values, but still somehow stacking, you may have another problem too. The stacked (and then unstacked) bottles will probably all have the same MORE2 value once you split them up overwriting their old values.
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
(This post was last modified: 10-14-2012 02:43 PM by Rayvolution.)
|
|
10-14-2012 02:36 PM |
|
|