#297 Food/Drink needs a coded stack prevention, level code, and possibly a rule

Fermé
Créé il y a 3 ans par neatz09 · 3 commentaires
neatz09 a commenté il y a 3 ans

--food and drink must expire before another can be consumed --food/drink also functions differently based on level --also may want to add a rule to restrict use based on level as well

--food and drink must expire before another can be consumed --food/drink also functions differently based on level --also may want to add a rule to restrict use based on level as well
image a commenté il y a 3 ans
Collaborateur

We don't have a way to distinguish a normal spell vs food/drink. I would say we add two new spell types

#define SPELL_TYPE_FOOD 13
#define SPELL_TYPE_DRINK 14
alter table spells modify column spell_type enum('Unset', 'DD', 'DoT', 'Heal', 'HoT-Ward', 'Debuff', 'Buff', 'CombatBuff', 'Taunt', 'Detaunt', 'Rez', 'Cure', 'Food', 'Drink') NOT NULL default 'Unset';
We don't have a way to distinguish a normal spell vs food/drink. I would say we add two new spell types ``` #define SPELL_TYPE_FOOD 13 #define SPELL_TYPE_DRINK 14 ``` ``` alter table spells modify column spell_type enum('Unset', 'DD', 'DoT', 'Heal', 'HoT-Ward', 'Debuff', 'Buff', 'CombatBuff', 'Taunt', 'Detaunt', 'Rez', 'Cure', 'Food', 'Drink') NOT NULL default 'Unset'; ```
image a commenté il y a 3 ans
Collaborateur

also please verify the messages when you try to consume

believe it was along the lines of

If you eat anymore you would explode!
If you drink anymore you would explode!
also please verify the messages when you try to consume believe it was along the lines of ``` If you eat anymore you would explode! If you drink anymore you would explode! ```
image a commenté il y a 3 ans
Collaborateur

also looks like out auto consume is broken it puts me in a weird 3rd person state when I enable it

also looks like out auto consume is broken it puts me in a weird 3rd person state when I enable it
image a référencé ce problème à partir d'un commit il y a 3 ans
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.