Originally Posted by
upsala
Bubbling "50% of Recovery applied Instantly" is not low life btw ) so its 50% insta 50% regain on any level of life.
How differs work of insta flask on or off? What it affects in plugin logic exactly? Non-insta just prevents to reuse it until regain finished? To make decision I have to understand how this flag changes algo.
"2: Triggers should define when to drink the flask ( the new architecture have the ability to incorporate any trigger you guys can think of )."
According to your post, trigger CANT define when to drink, first its full random on equal flasks, next u not described logic of condition check in terms of sequence. Just for stupid example, 2 insta flasks same. 75% condition is true, both flask have to trigger. But there is delay between flask use and nothing simultaneously can happen in computer world ) Do u recheck condition after delay? So in our example some flask activated and can heal over 75% to avoid activation of second flask? Or u use tick system to flag what to drink and do not recheck after delay? Next step in theory crafting. Lets assume u do recheck conditions between flask use, and 75% not overhealed. Do u proceed to second flask check-use? Or every time after delay u check ALL flasks again? If second, first flask will reapply until 75% or empty, never activate second.
Technically utility flasks is always insta. Effect applies immediately. So u have to note, that insta flag is only for mana/life? If u really do not check type of flasks inside, interesting how insta flag will affect utility? Because u removed type of flasks from terms(im not sure that inside plugin u dont check type of flask), we have to understand how its applied and reapplied. Back to our examples. We have 3 utility flasks, all triggered 50% hp. Condition is true. One applied. 100ms. Second applied. Total 200ms. If we recheck conditions, now hp can be 50 or over, remember we have insta heals from first example. Third utility flask will not apply? Condition is not true for moment. And if u remember I want all 3 be activated on same condition. ALL have to triger, not just random few.
All this questions is about your internal plugin logic. Do you have queue of flasks use? Do u recheck conditions between moving from one action in queue to another? or u just check conditions every <delay> and running first flask fits condition of every type <hp, mana, utility>? Or u dont group flasks by types and running just first one met conditions....thats gonna be terrible. Im sure some queue exists.
Edit: plus there is no such thing like no priority. If u dont rule priority(thru hidden order in queue or other way) it work in priority of index in array, that means u just skipped this part of logic programming and virtually said "let the god and intel decide what flasks will apply".